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

Improve nRF Cloud library and sample user experience #17635

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Oct 4, 2024

  1. lib: modem_key_mgmt: Return size of key

    In modem_key_mgmt_read(), if *len parameter is too small to fit
    the certificate read, return -ENOMEM and set *len to the size
    needed.
    
    This is helpful to check the size of a certificate without
    actually needing the contents.
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a486fe1 View commit details
    Browse the repository at this point in the history
  2. net: lib: nrf_cloud: check relative size of root CA

    Add two new Kconfig symbols to define thresholds for
    approximate size of the CoAP root CA and the size of
    combined CoAP + AWS root CAs.
    
    Retrieve size of configured sec_tag's root CA.
    
    Compare the size to the thresholds, display which
    root CA(s) are likely present, and use this to judge
    whether a cloud connection will likely succeed. If
    connection seems possible, proceed with connection as
    before.
    
    Jira: IRIS-9151
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5dab1c2 View commit details
    Browse the repository at this point in the history
  3. net: lib: nrf_provisioning: Improve interval logs

    Indicate the units of time as well as the purpose for
    reconnecting. Log at the INF level.
    
    See ticket for reasoning.
    
    Jira: IRIS-9151
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    20da79b View commit details
    Browse the repository at this point in the history
  4. net: lib: nrf_cloud: Improve logging of cloud requests

    When the cloud (through the shadow) requests a change
    in the cloud-based logging level or the alert enable/disable
    flag, log at the INF level so it is always easy to see
    that the request was effective.
    
    See ticket for reasoning.
    
    Jira: IRIS-9151
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7c8da08 View commit details
    Browse the repository at this point in the history
  5. samples: cellular: nrf_cloud_multi_service: reduce prov rate

    Once device has connected to the cloud, slow down the
    provisioning check.
    
    Improve logging of shadow and FOTA polling intervals
    for CoAP.
    
    Make CoAP shadow and FOTA check intervals the same as
    the sensor update interval.
    
    Improve handling of credentials check to check for new error
    code for bad CA size, and also turn off network if credentials
    are bad and the nrf_provisioning service is not used.
    
    Jira: IRIS-9151
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    eb86d24 View commit details
    Browse the repository at this point in the history
  6. samples: cellular: nrf_cloud_rest_fota: Update bad cred handling

    Turn off network and halt for either type of bad credential
    failures.
    
    Jira: IRIS-9151
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b6e01d3 View commit details
    Browse the repository at this point in the history
  7. samples: cellular: nrf_cloud_rest_cell_location: Update cred chk

    Handle new error code. Turn off network if not continuing.
    
    Jira: IRIS-9151
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4843e00 View commit details
    Browse the repository at this point in the history
  8. samples: cellular: nrf_cloud_rest_device_message: Update cred ck

    Also check that the AWS root CA is likely present.
    
    Jira: IRIS-9151
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fa39383 View commit details
    Browse the repository at this point in the history
  9. doc: Add changes for nrf_cloud ux improvements

    Document changes.
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0123163 View commit details
    Browse the repository at this point in the history