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

samples: cellular: mss: Add support for provisioning library #13290

Merged
merged 9 commits into from
Jan 5, 2024

Conversation

glarsennordic
Copy link
Contributor

This PR adds support for the provisioning library to the nRF Cloud Multi Service Sample.

@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Nov 30, 2023
@glarsennordic glarsennordic marked this pull request as ready for review December 6, 2023 23:38
@glarsennordic
Copy link
Contributor Author

Docs still need to be done, but the code is now (actually) ready for review. During rebase I had to make some changes to FOTA that I did not test, I am awaiting CI results for those.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Dec 6, 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
test-fw-nrfconnect-nrf-iot_lwm2m X
test-fw-nrfconnect-nrf-iot_mosh X
test-fw-nrfconnect-nrf-iot_samples X
test-fw-nrfconnect-nrf-iot_serial_lte_modem X
test-fw-nrfconnect-nrf-iot_zephyr_lwm2m X

Detailed information of selected test modules

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

@glarsennordic
Copy link
Contributor Author

I'm having a very hard time building docs locally, so I am force-pushing with some draft docs commits. No need to review them just yet.

@glarsennordic
Copy link
Contributor Author

All revision requests are now complete, and the docs are also now ready for review. I still have some testing to do, though, and I will likely have to re-work it a little bit once #13445 and #13419 merge

@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.

samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
@plskeggs
Copy link
Contributor

Comments about the readme outside of the areas you already changed:

This needs to be replaced with "@1.0.1":

Also, specify your development kit version by appending it to the board name. For example, if you are using an nRF9160 DK version 1.0.1, use the following board name in your build command:

nrf9160dk_nrf9160_ns@1_0_1"

@glarsennordic
Copy link
Contributor Author

Ah, yep, good catch. I'll see that it is done, once I finish rebasing

samples/cellular/nrf_cloud_multi_service/README.rst Outdated Show resolved Hide resolved
.. code-block:: console

west build --board *your_board* -p always -- -DCONFIG_NRF_CLOUD_PROVISION_CERTIFICATES=y -DCONFIG_NRF_CLOUD_CLIENT_ID_SRC_COMPILE_TIME=y "-DCONFIG_NRF_CLOUD_CLIENT_ID=\`"698d4c11-0ccc-4f04-89cd-6882724e3f6f\`""

Configuring Wi-Fi access point credentials
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this section go under the Configuration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it makes more sense in the building & running section since it specifically includes instructions on how to modify the build environment.

I mean, in some sense, all of the building & running sections are really just configuration sections that have elevated importance

This commit adds a new Kconfig option, CONFIG_AT_HOST_STACK_SIZE so that
the AT_HOST workqueue stack size can be customized.

This commit also updates the configured iCONFIG_AT_HOST_STACK_SIZE and
CONFIG_AT_MONITOR_HEAP_SIZE values for the nRF Cloud Multi Service
Sample to 2048 bytes since nRF Cloud credentials sometimes exceed 1024
bytes.

NCSDK-22966

Signed-off-by: Georges Oates_Larsen <[email protected]>
PDN_EVENT_NETWORK_DETACH is sometimes fired in lieu of
PDN_EVENT_DEACTIVATED. Both should trigger `on_pdn_deactivated`,
but currently only the latter does. This commit corrects that.

Signed-off-by: Georges Oates_Larsen <[email protected]>
Sample reboot logic is now in a dedicated file (sample_reboot.c) so that
it can be used in multiple places in the sample.

Signed-off-by: Georges Oates_Larsen <[email protected]>
This commit adds support for the nrf_provisioning library to the nRF
Cloud Multi Service Sample.

IRIS-7400

Signed-off-by: Georges Oates_Larsen <[email protected]>
This commit reorganizes existing provisioning descriptions into a single
top-level section. None of the contents have been changed, they are
simple relocated. Content changes will be made in followup commits.

Signed-off-by: Georges Oates_Larsen <[email protected]>
Update the MSS provisioning documentation to refer to Onboarding instead
of Provisioning. Also update links and separate common instructions into
smaller reusable sections. Also update onboarding instructions to all
use more similar terminology.

Signed-off-by: Georges Oates_Larsen <[email protected]>
Adds documentation for the recently added support for nRF Cloud
Provisioning Services.

Signed-off-by: Georges Oates_Larsen <[email protected]>
Console infills were previously misformatted, this commit corrects that.

Signed-off-by: Georges Oates_Larsen <[email protected]>
At some point, the west util started requiring a slightly different
format for board revision specifying on the command line. Update the
sample's documentation to conform to this.

Signed-off-by: Georges Oates_Larsen <[email protected]>
@rlubos rlubos merged commit 8fb2214 into nrfconnect:main Jan 5, 2024
19 checks passed
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.

6 participants