works through pushing box to log data to google spreadsheet
Dependencies: MBed_Adafruit-GPS-Library SDFileSystem mbed
Fork of GPR_Interface by
Diff: GPRS/GPRS.h
- Revision:
- 11:045cb766d9a5
- Parent:
- 10:8c55dfcc9a7c
diff -r 8c55dfcc9a7c -r 045cb766d9a5 GPRS/GPRS.h --- a/GPRS/GPRS.h Fri Sep 25 04:10:56 2015 +0000 +++ b/GPRS/GPRS.h Wed Oct 21 19:41:42 2015 +0000 @@ -144,7 +144,13 @@ * @returns true if successful */ bool gethostbyname(const char* host, uint32_t* ip); - + + /** Parse the phone number from the AT command return value and store it + * @param atCNumValue the return value from the AT+CNUM AT Command + * @return true if successful + */ + bool storePhoneNumber(char* atCNumValue); + int new_socket(); uint16_t new_port(); uint32_t _ip; @@ -159,6 +165,7 @@ const char* _apn; const char* _userName; const char* _passWord; + char* _phoneNumber; }; #endif