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

nRF Cloud CoAP Client Library #11535

Merged
merged 8 commits into from
Jul 20, 2023
Merged

Commits on Jul 18, 2023

  1. net: lib: nrf_cloud: Add REST device message defines

    Define strings related to encoding a device message
    in JSON.
    
    Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
    plskeggs committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    a255a45 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. net: lib: nrf_cloud: Add general message encoder

    Add a general purpose JSON message encoder,
    nrf_cloud_encode_message().
    
    Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
    plskeggs committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    18fe27f View commit details
    Browse the repository at this point in the history
  2. net: lib: nrf_cloud: Add control over reported

    When encoding the shadow, let the caller determine if
    the reported object should be included.
    
    Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
    plskeggs committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    597b23d View commit details
    Browse the repository at this point in the history
  3. net: lib: nrf_cloud: Separate P-GPS decode from update

    Split out update function so it can be used for CoAP.
    
    Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
    plskeggs committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    3eafdb0 View commit details
    Browse the repository at this point in the history
  4. net: lib: nrf_cloud: Use atomic_inc on atomic_t variable

    This was incorrectly using the ++ operator when atomic_inc()
    would be better.
    
    Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
    plskeggs committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    2d5a7a7 View commit details
    Browse the repository at this point in the history
  5. lib: modem_jwt: Use unsigned int for sec_tag

    Modem sec tags are unsigned, so use that representation
    instead of plain int.
    
    Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
    plskeggs committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    4e8268b View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. net: lib: nrf_cloud: Add new CoAP library

    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>
    plskeggs committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    5748a98 View commit details
    Browse the repository at this point in the history
  2. docs: Add docs for nRF Cloud CoAP

    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>
    plskeggs and peknis committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    7e7874c View commit details
    Browse the repository at this point in the history