Subscribe to this topic to get notified of update firmware requests.
After the update has been handled by the device publish the result on this topic: update response
Request Topic and Payload
Topic
things5-production/v1/devices/<device-id>/cmd/update_firmware_req
Payload representation
{
"request_id": "35947161-7afb-4aba-8eb0-aacec9f3fa48",
"firmware_url": "https://assets.staging.things5.digital/firmwares/64ca02a3-6fd1-47c2-9a9d-8645552bdbee/0231_Informativa_IT.DOCX?Expires=1625652705&Signature=Te73tEN1N5KLaAncvHEeWl6hvxSkoSkFaVGIpYSDeg2HeiHAI1t7brNL~~b9OJe5qJlVRJgC4JR~bL-99NazmYy0wxViDNRLdqYvHxvEfTvo~hQimJXSXGI7eGpmXxJTZq-1Ut1ly9cC~Ubri20C5lmNJL78yqQCXPwGieYGU8Gp8iH-KTLMh4vlCR6Q1-PcLna5B1cjzIJ0L8ySWX6ziR3DW6N8if2ShstjnVhYSxAxy0TL624Z9KXELf1DjHt53TieJ7Sc5XEJW2GWz3BPqK7AcP90o4VV42Uf3sgBsJlBn3rq~yfCsSiCs3EcL84b5BsZFtj7t7jgX8SgVEqo9g__&Key-Pair-Id=KITSOBDSIRWBO",
"insecure_firmware_url": "http://assets.staging.things5.digital/firmwares/64ca02a3-6fd1-47c2-9a9d-8645552bdbee/0231_Informativa_IT.DOCX?Expires=1625652705&Signature=Te73tEN1N5KLaAncvHEeWl6hvxSkoSkFaVGIpYSDeg2HeiHAI1t7brNL~~b9OJe5qJlVRJgC4JR~bL-99NazmYy0wxViDNRLdqYvHxvEfTvo~hQimJXSXGI7eGpmXxJTZq-1Ut1ly9cC~Ubri20C5lmNJL78yqQCXPwGieYGU8Gp8iH-KTLMh4vlCR6Q1-PcLna5B1cjzIJ0L8ySWX6ziR3DW6N8if2ShstjnVhYSxAxy0TL624Z9KXELf1DjHt53TieJ7Sc5XEJW2GWz3BPqK7AcP90o4VV42Uf3sgBsJlBn3rq~yfCsSiCs3EcL84b5BsZFtj7t7jgX8SgVEqo9g__&Key-Pair-Id=KITSOBDSIRWBO",
"md5": "88801fe439d38846eeb74efeaf865657",
"version": "0.1.0",
"size": 8445952,
"machine_firmware_id": "4f8e671f-b874-43b4-815e-794ac611fb49"
}
name | type | description |
---|---|---|
size | integer | file size in bytes |
md5 | string | result of md5 algorithm applied to file. Can be used to check file integrity |
firmware_url | string | download url. Valid for 1 hour |
insecure_firmware_url | string | same as firmware_url but using http instead of https |
version | string | uses SEMVER https://semver.org/ |