Hi,
Im running OTA on top of the CellularLib with the uBlox SARA-R4. Occasionally my application does not recover from the following error:
[ERROR] [CellularLib] [cellular_3gpp_urc_handler.c:255] Error in processing RAT. Token 11
[ERROR] [CellularLib] [cellular_common.c:517] _Cellular_TranslateAtCoreStatus: Status 5
Prior to this error the following events occured:
#----------------------------------------------------------#
Unsolicited Network Registration Event Detected...
networkRegistrationMode==REGISTRATION_MODE_UNKNOWN
csRegistrationStatus==REGISTRATION_STATUS_REGISTRATION_DENIED
psRegistrationStatus==REGISTRATION_STATUS_NOT_REGISTERED_SEARCHING
#----------------------------------------------------------#
#----------------------------------------------------------#
Unsolicited Network Registration Event Detected...
networkRegistrationMode==REGISTRATION_MODE_UNKNOWN
csRegistrationStatus==REGISTRATION_STATUS_REGISTRATION_DENIED
psRegistrationStatus==REGISTRATION_STATUS_ROAMING_REGISTERED
#----------------------------------------------------------#
My strategy for handling registration events other than:
REGISTRATION_STATUS_REGISTERED_HOME and REGISTRATION_STATUS_ROAMING_REGISTERED is to wait up to 30 seconds after an event and if the modem does not restore the connection within that time I turn the RF off, wait a second and turn the RF back on to force a re-scan. This works for restoring from most network problems, but this does not restore the connection after a “Error in processing RAT. Token 11” log entry.
Anyone here who knows how to handle this correctly? A complete modem power-down/power-up cycle perhaps?