Skip to content
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

Update nrf_cloud_rest_device_message sample to use CAF instead of DK library #12026

Merged

Conversation

tony-le-24
Copy link
Contributor

@tony-le-24 tony-le-24 commented Aug 11, 2023

Updated the nrf_cloud_rest_device_message sample to use the Common Application Framework instead of DK library. Added DTS overlay for nrf9160dk_nrf9160_ns platform to have the LEDs compatible with CAF LED module.

@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Aug 11, 2023
@tony-le-24 tony-le-24 force-pushed the update-rest-device-message-sample branch from 4b8d7bb to f5bfa19 Compare August 11, 2023 23:30
@tony-le-24 tony-le-24 requested a review from peknis August 11, 2023 23:33
@tony-le-24 tony-le-24 force-pushed the update-rest-device-message-sample branch from f5bfa19 to c65beb3 Compare August 11, 2023 23:35
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@tony-le-24 tony-le-24 added the DNM label Aug 14, 2023
@tony-le-24 tony-le-24 force-pushed the update-rest-device-message-sample branch from c65beb3 to 2d13bd1 Compare August 14, 2023 20:57
@@ -0,0 +1,60 @@
/* Copyright (c) 2023 Nordic Semiconductor ASA
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add support for the 9161 to all our samples. I've created a ticket for it: https://nordicsemi.atlassian.net/browse/IRIS-6848.

When that happens, there will need to be an overlay for that as well here, I assume.

@tony-le-24 tony-le-24 force-pushed the update-rest-device-message-sample branch from 2d13bd1 to bf380ef Compare August 21, 2023 18:33
@tony-le-24 tony-le-24 marked this pull request as ready for review August 21, 2023 18:35
@tony-le-24 tony-le-24 changed the title [DRAFT] [DNM] Update rest device message sample Update nrf_cloud_rest_device_message sample to use CAF instead of DK library Aug 21, 2023
@tony-le-24 tony-le-24 removed the DNM label Aug 21, 2023
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Aug 21, 2023

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-nrf-iot_cloud X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@tony-le-24 tony-le-24 force-pushed the update-rest-device-message-sample branch from bf380ef to 1d58171 Compare August 21, 2023 20:15
Updated the sample to use CAF instead of DK library for led
and button events. Added a device-tree overlay for LEDs to
work with CAF LEDs module. Added header files for buttons
and LEDs definition which are required by CAF.

Also, added error message for when the sample fails to send
alerts to nRF Cloud.

Signed-off-by: Tony Le <tony.le@nordicsemi.no>
@tony-le-24 tony-le-24 force-pushed the update-rest-device-message-sample branch from 1d58171 to 0c7ae05 Compare August 22, 2023 16:39
@tony-le-24 tony-le-24 requested a review from peknis August 22, 2023 16:40
@rlubos rlubos merged commit 8a7eadd into nrfconnect:main Aug 24, 2023
13 checks passed
@tony-le-24 tony-le-24 deleted the update-rest-device-message-sample branch May 24, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants