Skip to content

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"
}
}
}
  • Type: string
  • Default: "Infrafon"

Device manufacturer name. Used in BLE device information broadcasts.

{ "devcfg": { "fw": { "manuf": "Infrafon" } } }
  • 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" } } }
  • 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 } } }
  • 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 } } }
  • 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" } } }