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 b67ae60 commit f221527Copy full SHA for f221527
src/NB_SMS.h
@@ -84,13 +84,12 @@ class NB_SMS : public Stream {
84
*/
85
void flush();
86
87
- /** Delete all read and sent SMS from Modem memory and process answer
88
- * flag=1 preserves sent, unsent, and unread messages
89
- * flag=2 preserves unsent and unread messages
90
- * flag=3 preserves unread messages
91
- * flag=4 preserves no messages
92
- */
93
- void clear(int flag=2);
+ /** Delete all read and sent SMS from Modem memory and process answer */
+#define NB_SMS_CLEAR_READ 1
+#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);
94
95
private:
96
bool _synch;
0 commit comments