We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f221527 commit 7bb6f43Copy full SHA for 7bb6f43
src/NB_SMS.h
@@ -22,6 +22,11 @@
22
23
#include <Stream.h>
24
25
+#define NB_SMS_CLEAR_READ (1)
26
+#define NB_SMS_CLEAR_READ_SENT (2)
27
+#define NB_SMS_CLEAR_READ_SENT_UNSENT (3)
28
+#define NB_SMS_CLEAR_ALL (4)
29
+
30
class NB_SMS : public Stream {
31
32
public:
@@ -85,11 +90,7 @@ class NB_SMS : public Stream {
85
90
void flush();
86
91
87
92
/** Delete all read and sent SMS from Modem memory and process answer */
88
-#define NB_SMS_CLEAR_READ 1
89
-#define NB_SMS_CLEAR_READ_SENT 2
-#define NB_SMS_CLEAR_READ_SENT_UNSENT 3
-#define NB_SMS_CLEAR_ALL 4
- void clear(int flag=NB_SMS_CLEAR_READ_SENT);
93
+ void clear(int flag = NB_SMS_CLEAR_READ_SENT);
94
95
private:
96
bool _synch;
0 commit comments