nrfcloud-utils 3.3.0__tar.gz → 3.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/PKG-INFO +8 -8
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/README.md +7 -7
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/pyproject.toml +1 -1
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/cli_helpers.py +2 -1
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/LICENSE.txt +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/__init__.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/ca_certs.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/claim_and_provision_device.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/claim_devices.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/cli.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/create_ca_cert.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/create_device_credentials.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/create_proxy_jwt.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/device_credentials_installer.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/gather_attestation_tokens.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/modem_credentials_parser.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/nrf93_onboard.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/nrf_cloud_device_mgmt.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/nrf_cloud_diap.py +0 -0
- {nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/nrf_cloud_onboard.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nrfcloud-utils
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.1
|
|
4
4
|
Summary: Scripts and utilities for working with the nRF Cloud
|
|
5
5
|
License-Expression: BSD-3-Clause
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -55,17 +55,17 @@ Run the following command to use this package as a dependency:
|
|
|
55
55
|
## Requirements
|
|
56
56
|
|
|
57
57
|
1. Create an account in [nrfcloud.com](https://nrfcloud.com).
|
|
58
|
-
2. Retrieve your API key
|
|
58
|
+
2. Retrieve your **legacy nRF Cloud API key**. Open the legacy nRF Cloud app (the **Legacy App** link at the bottom of the nRF Cloud side navigation, or [app.nrfcloud.com](https://app.nrfcloud.com/#/account) directly), then go to **User Account** > **Current Team Details**. If you are part of multiple teams, each team has its own API key.
|
|
59
|
+
|
|
60
|
+
:warning:**The User API key shown under My Profile in the new nRF Cloud app is a different key. These scripts reject it with `401 Unauthorized`.**
|
|
61
|
+
|
|
62
|
+
> [!NOTE]
|
|
63
|
+
> The scripts in this repository use the legacy nRF Cloud APIs. For nRF9151 and nRF9161 devices, the recommended path is [Secure Device Onboarding](https://docs.nrfcloud.com/docs/nrfcloud/secure-device-onboarding) in the new nRF Cloud app, which needs no local CA and no legacy API key. If you can't open the legacy app or its User Account page, contact [Nordic support](https://devzone.nordicsemi.com).
|
|
59
64
|
3. Depending on your goal, you'll need to configure your nRF Connect SDK project with the following libraries:
|
|
60
65
|
|
|
61
66
|
* **For basic device registration:** Enable the [AT Host library](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/at_host.html). Refer to the [AT Client sample](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/at_client/README.html) in the nRF Connect SDK for an implementation example.
|
|
62
67
|
|
|
63
|
-
* **For using the Provisioning Service:** Enable the [Provisioning Service library](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/nrf_provisioning.html). You can find more documentation about the [Provisioning Service here](https://docs.nordicsemi.com/bundle/nrf-cloud/page/SecurityServices/ProvisioningService/ProvisioningOverview.html). The nRF Connect SDK provides
|
|
64
|
-
|
|
65
|
-
* **nRF Cloud Multi Service Sample:** Demonstrates onboarding alongside other cloud interactions.
|
|
66
|
-
* [https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_cloud_multi_service](https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_cloud_multi_service)
|
|
67
|
-
* **nRF Provisioning Sample:** Provides a focused look at the provisioning steps.
|
|
68
|
-
* [https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_provisioning](https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_provisioning)
|
|
68
|
+
* **For using the Provisioning Service:** Enable the [Provisioning Service library](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/nrf_provisioning.html). You can find more documentation about the [Provisioning Service here](https://docs.nordicsemi.com/bundle/nrf-cloud/page/SecurityServices/ProvisioningService/ProvisioningOverview.html). The nRF Connect SDK provides a [sample](https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_device_provisioning) with a focused look at provisioning steps on cellular devices.
|
|
69
69
|
|
|
70
70
|
4. When compiling with the nRF Cloud Libraries, make sure your project has the next Kconfig options:
|
|
71
71
|
|
|
@@ -28,17 +28,17 @@ Run the following command to use this package as a dependency:
|
|
|
28
28
|
## Requirements
|
|
29
29
|
|
|
30
30
|
1. Create an account in [nrfcloud.com](https://nrfcloud.com).
|
|
31
|
-
2. Retrieve your API key
|
|
31
|
+
2. Retrieve your **legacy nRF Cloud API key**. Open the legacy nRF Cloud app (the **Legacy App** link at the bottom of the nRF Cloud side navigation, or [app.nrfcloud.com](https://app.nrfcloud.com/#/account) directly), then go to **User Account** > **Current Team Details**. If you are part of multiple teams, each team has its own API key.
|
|
32
|
+
|
|
33
|
+
:warning:**The User API key shown under My Profile in the new nRF Cloud app is a different key. These scripts reject it with `401 Unauthorized`.**
|
|
34
|
+
|
|
35
|
+
> [!NOTE]
|
|
36
|
+
> The scripts in this repository use the legacy nRF Cloud APIs. For nRF9151 and nRF9161 devices, the recommended path is [Secure Device Onboarding](https://docs.nrfcloud.com/docs/nrfcloud/secure-device-onboarding) in the new nRF Cloud app, which needs no local CA and no legacy API key. If you can't open the legacy app or its User Account page, contact [Nordic support](https://devzone.nordicsemi.com).
|
|
32
37
|
3. Depending on your goal, you'll need to configure your nRF Connect SDK project with the following libraries:
|
|
33
38
|
|
|
34
39
|
* **For basic device registration:** Enable the [AT Host library](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/at_host.html). Refer to the [AT Client sample](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/at_client/README.html) in the nRF Connect SDK for an implementation example.
|
|
35
40
|
|
|
36
|
-
* **For using the Provisioning Service:** Enable the [Provisioning Service library](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/nrf_provisioning.html). You can find more documentation about the [Provisioning Service here](https://docs.nordicsemi.com/bundle/nrf-cloud/page/SecurityServices/ProvisioningService/ProvisioningOverview.html). The nRF Connect SDK provides
|
|
37
|
-
|
|
38
|
-
* **nRF Cloud Multi Service Sample:** Demonstrates onboarding alongside other cloud interactions.
|
|
39
|
-
* [https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_cloud_multi_service](https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_cloud_multi_service)
|
|
40
|
-
* **nRF Provisioning Sample:** Provides a focused look at the provisioning steps.
|
|
41
|
-
* [https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_provisioning](https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_provisioning)
|
|
41
|
+
* **For using the Provisioning Service:** Enable the [Provisioning Service library](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/nrf_provisioning.html). You can find more documentation about the [Provisioning Service here](https://docs.nordicsemi.com/bundle/nrf-cloud/page/SecurityServices/ProvisioningService/ProvisioningOverview.html). The nRF Connect SDK provides a [sample](https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/nrf_device_provisioning) with a focused look at provisioning steps on cellular devices.
|
|
42
42
|
|
|
43
43
|
4. When compiling with the nRF Cloud Libraries, make sure your project has the next Kconfig options:
|
|
44
44
|
|
|
@@ -121,7 +121,8 @@ def save_onboarding_csv(csv_filename, append, replace, dev_id, sub_type, tags, f
|
|
|
121
121
|
|
|
122
122
|
row_count = 0
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
dev_text = dev if isinstance(dev, str) else str(dev, encoding=full_encoding)
|
|
125
|
+
row = [dev_id, sub_type, tags, fw_types, dev_text]
|
|
125
126
|
|
|
126
127
|
if mode == 'a':
|
|
127
128
|
do_not_write = False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/claim_and_provision_device.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/create_device_credentials.py
RENAMED
|
File without changes
|
|
File without changes
|
{nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/device_credentials_installer.py
RENAMED
|
File without changes
|
{nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/gather_attestation_tokens.py
RENAMED
|
File without changes
|
{nrfcloud_utils-3.3.0 → nrfcloud_utils-3.3.1}/src/nrfcloud_utils/modem_credentials_parser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|