How To's
Device Provisioning
How do I provision a device?
Prerequisites
- Infuse-IoT Embedded SDK Installed (Optional)
- Infuse-IoT Python Tool Installed & Setup
- Infuse-IoT Capable hardware
Device Provisioning
Device provisioning sets up a device with Infuse-IoT Cloud to use the corresponding services.
Provisioning stores data in the user information section OTP (One-Time Programmable) memory.
Some microcontrollers support wiping this OTP section (e.g. nRF microcontrollers via
nrfutil device recover).
Doing so will reset the stored data requiring the device to be reprovisioned before it will work with Infuse Cloud.Depending on your device (nRF/STM) the corresponding flag
--nrf or --stm is required.
Examples below utilise the --nrf flag as reference.To provision a new device, certain details are required:
- The type of board
- The Infuse-IoT Organisation it should belong to.
Ensure the board definition exists in Infuse-IoT Cloud, and you have access to it.
Otherwise Create the board definition first.
These can be provided through the command-line:
infuse provision --board [board ID] --organisation [org ID] --nrf
or through the runtime interractive interface with
infuse provision --nrf
and an interactive terminal interface can be used to provision the device.
Reprovisioning an existing device is simple.
infuse provision --nrf
The existing details do not need to be provided and a fetched from Infuse-IoT Cloud.