New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samples: nrf9160: lwm2m_client: Add bootstrap support to the sample #2997
samples: nrf9160: lwm2m_client: Add bootstrap support to the sample #2997
Conversation
FYI @joakimtoe |
b959b9f
to
b5fb938
Compare
b5fb938
to
208ef4a
Compare
int security_instance; | ||
int security_mode; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra newline
a452053
to
83ee658
Compare
Please update SHA: d14bfb6a9e06541842ecb73e042b076ff98ed59f |
83ee658
to
7114b30
Compare
SHA updated |
7114b30
to
2494d6f
Compare
This commits pulls latest fixes to the bootstrap procedure from upstream. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Temporarily disable CC310 entropy driver. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Allow to store Security Credentials obtained during the bootstrap procedure in the nRF9160 modem. This requries to shut down the lwm2m engine and put the modem into offline state before writing the credentials. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Add overlay file that allows to easily enable bootstrap support in the sample. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Updated documentation of the lwm2m_client sample and added bootstrap process description. Signed-off-by: Uma Praseeda <uma.praseeda@nordicsemi.no> Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2494d6f
to
85049cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Do you @rlubos have any more information about the CC301 crash workaround that is merged in this PR? I am asking because it indeed crashes for my application too after upgrading to 1.4 release and disabling it it not the best thing that one can do in production app. |
@JusbeR unfortunately SPM entropy issue is still being investigated internally. There were some fixes in 1.4. but apparently, they weren't enough. It is suspected it might be a stack overflow in SPM, increasing the stack prevents the crash. The SPM stack is already increased on the master. |
Add bootstrap support to the
lwm2m_client
sample. Provision PSK/PSK ID received during the bootsrap procedure into the modem.DNM
until Zephyr dependencies are merged and introduced intosdk-zephyr
.