webdyn.com
V2.0 subject to changes | Webdyn © by Flexitron Group
89
Example of an application firmware update:
•
Using a JSON file (to be converted to BSON format for the hub):
{
“cmd”: {
“type”: “firmware”,
“data”: “WebdynEasy_V1.0.bson”
},
“crc”: 0
}
Example of Bluetooth (BLE) firmware update:
•
Using a JSON file (to be converted to BSON format for the hub):
{
“cmd”: {
“type”: “firmware”,
“data”: “WebdynEasy_BLE_V1.0.bson”
},
“crc”: 0
}
6.1 Local
To update the hub locally, connect the USB cord between the hub and a computer and then follow the file
download procedure (see section 4.1.1: “USB”).
The file or files containing the update and the associated command must be uploaded.
6.2 Remote
For a remote update, the file containing the update must be uploaded to the “/BIN” directory on the
remote server, and an “
firmware
” command must be uploaded to the “INBOX” FTP directory for your hub
(“/INBOX/<uid>/”, with <uid> your hub identifier).
The command must include the name of the file containing the update (“data” field).
At the next FTP server connection, the hub will retrieve the files and run the update.