Description
Hello,
I'm using the Portenta CAT.M1/NB IoT GNSS Shield with the EDGE CONTROL board.
if the application fails the initial connection process because the signal strength is low or because the general latency of the GSM network, the GSM library in not able to reconnect: when I try to run the GSM.begin() again, the application program stop working after receiving the "^SYSSTART" string from the modem:
The board was not able to register to the network...
[000270[INFO][CELL]: AT TX ( 2): AT
[000270[INFO][CELL]: AT TX ( 1):
[000303[INFO][CELL]: AT RX ( 2):
[000303[INFO][CELL]: AT RX (11): ^SYSSTART
[000304[INFO][CELL]: AT RX ( 2):
[000304[INFO][CELL]: AT RX ( 6): +CIEV:
[000304[INFO][CELL]: AT RX (14): prov,0,"fallb
[000304[INFO][CELL]: AT RX ( 7): 3gpp"
The only way to re-start is reset the board.
I'm using the mbed 4.1.15
to simulate the problem I forced the following retry table in the GSM.h file:
const uint16_t _retry_timeout[3] = {1, 2, 4};
Please help me because I can't reset the whole application program to re-start the connectivity ....