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

[LWM2M] How to properly set Bootstrap Server

Hi,

I am trying to enable Bootstrap support.

Therefore I set "CONFIG_LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP=y" in prj.conf.

I also set "CONFIG_APP_LWM2M_SERVER" and the port with "CONFIG_LWM2M_PEER_PORT".

But the LWM2M engine reports that the bootstrap server cannot be found (see screenshot)

When I disable the bootstrap support the connection works fine.

So my question is now how do I properly configure the bootstrap support?

Kind regards,
Manuel

Parents Reply Children
  • I am not aware of any plans for adding bootstrapping support to the lwm2m_client sample at the moment.

    But, I agree that it would be useful to have. I have to look a bit more into how the keys and LTE link is handled during the bootstrapping process, as the nRF9160 can not write new keys to the modem while the LTE link is active. But if that does not turn out to be a big problem we should be able add and merge a PR quite quickly.

    Edit: The developer is already working on it. Adding bootstrapping support itself is not hard, but making it play nicely with DTLS and the modem is presenting a few challenges (as I suspected).

Related