I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X
Diff: WncController.h
- Revision:
- 19:83a52353b97e
- Parent:
- 18:ca2899c353c2
- Child:
- 20:ca2db38d6802
diff -r ca2899c353c2 -r 83a52353b97e WncController.h --- a/WncController.h Tue Sep 13 19:10:34 2016 +0000 +++ b/WncController.h Wed Sep 14 02:31:35 2016 +0000 @@ -262,8 +262,10 @@ struct WncSmsInfo { // Content + char idx; string number; - string timestamp; + string date; + string time; string msg; // Attributes @@ -282,7 +284,7 @@ bool readSMSLog(struct WncSmsList * log); - bool readUnreadSMSText(struct WncSmsList * w); + bool readUnreadSMSText(struct WncSmsList * w, bool deleteRead = true); bool saveSMSText(const char * const phoneNum, const char * const text, char * msgIdx); @@ -393,6 +395,7 @@ size_t at_getSignalQuality_wnc(const char ** log); bool at_gettimedate_wnc(struct WncDateTime * tod); bool at_ping_wnc(const char * ip); + bool at_geticcid_wnc(string * iccid); // Utility methods void sendCmd(const char * cmd, bool crLf);