Firmware¶
Used to obtain firmware for devices
Request¶
Topic¶
meshtech/diagnostics/{gateway_id}/server-command/firmware
Fields¶
id - Request correlation Id. Random GUID that should be provided in response to this request
params - request parameters (see below)
Parameters¶
modelNumber - Model number as 4 hexadecimal characters
version - Firmware version in {Major}.{Minor}.{Patch} or {Major}.{Minor}.{Patch}-beta.{Beta} format
firmwareType - Firmware type (byte):
1 - Nordic Firmware Distribution Package (.zip)
2 - RAUC Bundle (.raucb)
Example¶
meshtech/diagnostics/cc3fc0fa8d21/server-command/firmware
{
"id":"6afa56f6-1434-4dab-8509-d9a1e6431405",
"params":{
"modelNumber": "0003",
"version": "1.3.2",
"firmwareType": 1
}
}
Response¶
Topic¶
meshtech/diagnostics/{gateway_id}/server-response/firmware
Fields¶
id - Response correlation Id. Same Id that have been provided in request
success - Bool field. True is request was successful, flase otherwise
result - Response result (see below)
Result¶
uri - Firmware uri
fileName - firmware file name
firmwareType - Firmware type (byte):
1 - Nordic Firmware Distribution Package (.zip)
2 - RAUC Bundle (.raucb)-
Example¶
meshtech/diagnostics/cc3fc0fa8d21/server-response/firmware
{
"id":"6afa56f6-1434-4dab-8509-d9a1e6431405",
"success": true,
"result": {
"uri": "https://blob.meshtech.no/A7546850-D349-49E0-BE91-381F21B17CF1",
"fileName": "bc4bit_0000_57_0_0_beta_7__s130_2_0_1_app.zip",
"firmwareType": 1
}
}