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

Problem to get AT response and with modem_info_json_string_encode

Hello,

Sorry in advance if it sounds simple, i'm a beginner but I read AT command interface — nRF Connect SDK 1.5.99 documentation (nordicsemi.com) except that I can't retrieve and see the responses to my AT commands. I'm not sure I understand how to do it.

Here source code :

Line 142, my buffer is always empty

Concerning the notification I have this error :

and line 157 modem_info_json_string_encode(&modem_param,root_buf)  crash.

If you have any idea, I will be happy to heard it, please. Thank you.

EDIT : 

This error : [00:03:48.992,340] <err> modem_info_params: Link data not obtained: 20 -5
[00:03:48.992,370] <err> modem_info_params: Network data not obtained: -5

is link to this error in the lib (modem_info_params)

if (IS_ENABLED(CONFIG_MODEM_INFO_ADD_DATE_TIME)) {
ret += modem_data_get(&modem->network.date_time);

But  I don't know what to do to correct it

Parents Reply Children
No Data
Related