-
Notifications
You must be signed in to change notification settings - Fork 4
OTA
Gopal Kildoliya edited this page Jun 25, 2018
·
2 revisions
SwarmSense has OTA module to devices' firmware update. You can upload firmware for a specific sensor type and when the sensor requests for new firmware, this latest firmware will be delivered to the sensor.
While requesting for new firmware, sensor should send the current version in request params. SwarmSense has builtin support for MongooseOS OTA requests.
GET Request to: /ota/update
Params: version
Your current version.
Params: sensor_id
Sensor ID. Currently doesn't support sensor HID.
If the server has a different version for your device, it will return that firmware file. Else it will return a 404 response.
- Go to admin section and the OTA.
- Add a new firmware
- Select your sensor type, add version number, add file and upload.
- Select your test sensor to test with