code
Dependencies: MPU6050_SIM5320_TEST SDFileSystem WakeUp
Fork of Nucleo_L476RG_SDCard_WorkingSample by
Diff: SIM5320.cpp
- Revision:
- 2:f745f2656606
- Parent:
- 1:d5774258d18b
--- a/SIM5320.cpp Sat Sep 09 14:36:17 2017 +0000 +++ b/SIM5320.cpp Wed Sep 13 16:07:18 2017 +0000 @@ -25,7 +25,6 @@ SIM5320Serial.printf("%s\r\n", command); wait(timeout); string ret = readBuffer(); - rx_response=ret; const char* debugResponse = rx_buffer; printDebug(debugResponse); flushBuffer(); @@ -113,19 +112,4 @@ return out2; -} - -bool SIM5320::getGPS(){ - enableGPS(true); - wait(30); - if ((sendCommandAndCheck("AT+CGPSINFO","N",2))){ - enableGPS(false); - return 1; - } - else { - enableGPS(false); - return 0; - } - } - - +} \ No newline at end of file