Skip to content

device_credentials_installer: --id-imei option uses AT command string instead of IMEI for device ID #72

@Mattheish

Description

@Mattheish

Description:
The device_credentials_installer tool, when used with the --id-imei option, incorrectly uses an AT command string as the device ID instead of the modem's 15-digit IMEI. This causes issues during the nRF Cloud onboarding process, as the cloud service cannot correctly interpret the AT command string as a device ID.

Steps to Reproduce:

  1. Flash a device with the modem shell sample application.
  2. Run device_credentials_installer with --id-imei
    example:
device_credentials_installer --dv 3650 --csv "path/to/onboard.csv" -a -d --devinfo "path/to/devinfo.csv" --devinfo-append --rtt --verify --id-imei --id-str "RD" --replace --ca CA_FILE --ca-key CA_KEY_FILE
  1. Check logs or onboard.csv for result

Expected Behavior:
The device ID should be the 15-digit IMEI of the modem

Actual Behavior:
The device ID is set to an AT command string

Impact:
This prevents successful device onboarding to nRF Cloud, as the device ID is not in the expected format.

Environment:
nrfcloud-utils version: 2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions