When uploading firmware, the firmware images are placed in different slots. Depending on the number of images you are using, the command uses the following numbering patterns for images and slots:
| Image number (if set in the firmware) |
Slot assignment | --slot-number value |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 2 |
| 1 | 1 | 3 |
If you are uploading only one image pair, the command output does not display the image number value.
Note
- When uploading to devices with more than one image and your device is using the optional image number field, you can provide the
ble image-uploadsubcommand with the--image-numbervalue to specify which image you want to target. - When erasing the old image, you can provide the
ble image-erasesubcommand with the--slot-numbervalue that matches the image to be removed (defaults to 1).