You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@KeitaKashima Cellular_CommonGetRegisteredNetwork requires the port to set to the numeric format in Cellular_ModuleEnableUrc. If the format is set to other format, for example long or short format, the MCC and MNC won't be updated and the value is undefined. This is probably the problem you encountered.
We address this issue in #161 to set the format in atcmdUpdateMccMnc in order not to rely on the port initialization code.
Hi, I called the
Cellular_CommonGetRegisteredNetwork
API to test MCC when disconnecting the PDN of the network of cellular.Then I found the API got the undefined value of MCC.
The reason is that the below pOperatorInfo value is not zero clear after getting Malloc.
cellularOperatorInfo_t * pOperatorInfo = ( cellularOperatorInfo_t * ) Platform_Malloc( sizeof( cellularOperatorInfo_t ) );
FreeRTOS-Cellular-Interface/source/cellular_3gpp_api.c
Line 1779 in 7c80e21
The
*pOperatorInfo
value is copied undefined value below the lines.FreeRTOS-Cellular-Interface/source/cellular_3gpp_api.c
Line 1807 in 7c80e21
The text was updated successfully, but these errors were encountered: