This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

modem_info module does not handle IMSI, IMEI and Supported bands properly

The modem_info module in nRF Connect SDK returns various modem parameters to the application. The function "modem_info_params_get" fails to update the following paramters: MODEM_INFO_IMSI, MODEM_INFO_IMEI, and MODEM_INFO_SUP_BAND. They are left empty.

My conclusion after some debugging is that the root cause can be found in the at command parser:

1) For IMSI and IMEI: the modem returns these IDs without quotation characters whih is expected by the parser to treat them as a string. Instead they are treated as numbers, and they dont fit in a uint32

2) For supported bands I am not sure, but it seems the parser does not handle the response "(x,y,z)" properly.

Hardware: Thingy91

Software: nRF Connect SDK, version is master branch as of October 8th 2019.

Parents Reply Children
No Data
Related