Firmware & Provisioning Config
Controls firmware update URLs, DFU and provisioning mode triggers, and the manufacturer string.
Key path: devcfg.fw
{ "devcfg": { "fw": { "manuf": "Infrafon", "dfu_url": "https://dfu.infrafon.cloud/images/cc2/latest/app_update.bin", "prov_net": "k1" } }}Configuration variables
Section titled “Configuration variables”- Type: string
- Default:
"Infrafon"
Device manufacturer name. Used in BLE device information broadcasts.
{ "devcfg": { "fw": { "manuf": "Infrafon" } } }dfu_url
Section titled “dfu_url”- Type: string
- Default:
"https://dfu.infrafon.cloud/images/cc2/latest/app_update.bin"
HTTPS URL from which to download the firmware image during an OTA DFU operation. The device performs a GET request to this URL when a DFU is triggered.
{ "devcfg": { "fw": { "dfu_url": "https://dfu.infrafon.cloud/images/cc2/latest/app_update.bin" } } }dfu_start
Section titled “dfu_start”- Type: boolean
- Default:
false - One‑shot: yes
Set to true to immediately attempt a firmware DFU (over‑the‑air
update). The device must be in unallocated or error state.
After the command is processed the flag resets to false.
{ "devcfg": { "fw": { "dfu_start": true } } }prov_start
Section titled “prov_start”- Type: boolean
- Default:
false - One‑shot: yes
Set to true to force the device into provisioning state. This
mode times out after 180 seconds of inactivity. The flag resets
automatically.
{ "devcfg": { "fw": { "prov_start": true } } }prov_net
Section titled “prov_net”- Type: string
- Default: none
The name of the network configuration to use during provisioning or
DFU modes. This network must be defined in your global.json or
unallocdata.json.
{ "devcfg": { "fw": { "prov_net": "k1" } } }Related
Section titled “Related”- Device Config overview — all devcfg groups
- Provisioning — provisioning state details
- DFU Procedures — OTA and USB DFU instructions