[X] I have read the Troubleshooting section of the ReadMe
What type of issue is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library
[X] Bug or issue with library functionality (ie, sending data over TCP/IP)
[ ] Question or request for help
Call modem.enableGPS() function with TINY_GSM_MODEM_SARAR4 defined.
Expected result
modem.enableGPS() returns true when modem responds with OK.
Actual result
Modem responds to AT+UGPS with OK, but enableGPSImpl() returns false.
Debug and AT command log
I don't have logs available at this time, as I am reporting the issue after the fact.
Additional Information
It appears to me that the function is expecting to receive more than just an OK response; I could be wrong, but it seems that Line 443 is expecting the modem to also return a +UGPS: response.
[X] I have read the Troubleshooting section of the ReadMe
What type of issue is this?
[ ] Request to support a new module [ ] Bug or problem compiling the library [X] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help
What are you working with?
Modem: SARA-R410M-02B Main processor board: N/A TinyGSM version: 0.10.9 Code: N/A
Scenario, steps to reproduce
Call
modem.enableGPS()
function withTINY_GSM_MODEM_SARAR4
defined.Expected result
modem.enableGPS()
returns true when modem responds withOK
.Actual result
Modem responds to
AT+UGPS
withOK
, butenableGPSImpl()
returnsfalse
.Debug and AT command log
I don't have logs available at this time, as I am reporting the issue after the fact.
Additional Information
It appears to me that the function is expecting to receive more than just an
OK
response; I could be wrong, but it seems that Line 443 is expecting the modem to also return a+UGPS:
response.I suspect the same problem will be in
disableGPSImpl()
at Line 448.Commenting out those lines produces the expected result.