SIM7600 delay in restartImpl() is not enough, a real module takes at least 23 seconds to reboot before it starts to respond to any AT commands.
(Fixes #624) The getGPSImpl(...) method expects two extra "," in the response that breaks the iaccuracy variable and also causes it to skip the OK part in the end of the response that leads to the 3-seconds waiting until the timeout occurs. After that the waitResponse() in the last line of that method also does not receive the proper OK and also waits 1 extra second until the timeout.
restartImpl()
is not enough, a real module takes at least 23 seconds to reboot before it starts to respond to any AT commands.getGPSImpl(...)
method expects two extra","
in the response that breaks theiaccuracy
variable and also causes it to skip theOK
part in the end of the response that leads to the 3-seconds waiting until the timeout occurs. After that thewaitResponse()
in the last line of that method also does not receive the properOK
and also waits 1 extra second until the timeout.