imei-write and imei-read usage examples

nRF Util

tags
nRF Util

Below are some basic usage examples of the nrfutil 91 imei-write and nrfutil 91 imei-read commands.

Both imei-write and imei-read require you to pass a path to the modem firmware ZIP archive with the --modem-firmware option, but they do not trigger a modem upgrade. The path is required to access the IPC-DFU client bundled in the ZIP archive and pass commands to the running modem firmware. This is because the modem firmware on the device and the passed modem firmware must match.

The modem firmware on the device must support IMEI reads and IMEI writes for the imei-read and the imei-write commands, respectively, to succeed.

  • Read current IMEI numbers from a device of the nRF91 Series with the serial number 1050993570:

    nrfutil 91 imei-read --modem-firmware mfw_nrf91x1_2.0.1.zip --serial-number 1050993570
    
  • Write an IMEI number 123456789012345 to one of the IMEI slots on a device of the nRF91 Series with the serial number 1050993570 (see also the note below):

    nrfutil 91 imei-write --modem-firmware mfw_nrf91x1_2.0.1.zip --serial-number 1050993570 --slot 0 --imei 123456789012345
    

    Note: Writing IMEI numbers is a one-time operation and an IMEI slot can be written to only once. For safety reasons, the example command above is missing the --force parameter required to perform the operation. The tool will display a notification about this in the terminal.