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

nRF9160-DK and lwm2m sample

Hi,

I'm just getting started and tried to run the lwm2m_client sample from the v1.2.0 release of the nRF Connect SDK  which I assume is the latest stable version? However lte_lc_init fails with error code  -5 which can be traced to the zephyr message queue:

w_lte_lc_init()

at_cmd_write(nw_mode_preferred, NULL, 0, NULL)

at_write(cmd, state)

k_msgq_get(&return_code_msq, &ret, K_FOREVER);

which sets ret.code to -8 (Exec format error?)
It looks like a low level zephyr issue. Should I switch to another release? Thanks.
Related