CellularLib: Error in processing RAT. Token 11

Hi Ching-Hsin,

In-line with your suggestions, I’ve changed the config to set the MNO to 19. I’ve also added the lines:

CellularRat_t ratPriority[ 1 ] = { CELLULAR_RAT_CATM1 };
cellularStatus = Cellular_SetRatPriority( CellularHandle, ratPriority, 1 );

Which are now executed inside of Cellular_setup()

The modem now connects faster, which I really like, however I got another problem for this in return.

I can simulate a bad connection with a switchable RF attenuator, connected in series with the antenna. Prior to the changes listed above, my application would restore a bad connection by forcing a rescan. Now my application does not recover anymore, because it is waiting for a callback that does not arrive. The modem reports that the connection has been re-established:

+CREG: 0

+CGREG: 5,"FFFE","1A6D803",7

+CEREG: 5,"5271","1A6D803",7

but the callback never arrives. So my application now keeps cycling to restore the connection indefinitely. Please see the attached log:

callback_not _executed.zip (14.9 KB)