-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
nRF Cloud CoAP Client Library #11535
Conversation
e1d00de
to
0647d23
Compare
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
db70dc9
to
3970bca
Compare
3970bca
to
98fe774
Compare
@peknis I've made your changes, except for one as I mention here: |
@wiba-nordic since Pekka is now on vacation, can you approve my changes resulting from his review? We ran out of time to close the final loop on that. |
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.
Approving for Pekka.
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! Great work!
Define strings related to encoding a device message in JSON. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
it was signed off by @wiba-nordic because @peknis is on vacation
41371c8
to
81921c2
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
Add a general purpose JSON message encoder, nrf_cloud_encode_message(). Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
When encoding the shadow, let the caller determine if the reported object should be included. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
Split out update function so it can be used for CoAP. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
This was incorrectly using the ++ operator when atomic_inc() would be better. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
Modem sec tags are unsigned, so use that representation instead of plain int. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
81921c2
to
baaac2b
Compare
baaac2b
to
3d53e97
Compare
Uses the Zephyr coap_client library. Sends and receives data with nRF Cloud using CBOR and sometimes JSON. Supports most nRF Cloud services - FOTA, data messaging, location services (cellular, Wi-Fi, A-GPS, P-GPS). Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
Document the new nrf_cloud_coap library. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no> Co-authored-by: Pekka Niskanen <pekka.niskanen@nordicsemi.no>
3d53e97
to
7e7874c
Compare
This PR adds a library to use CoAP for communicating with the new nRF Cloud CoAP server and underlying services.
Limitations: