
2CMC489001M0201
88
G13
Revision: A
User Manual
JSON Communication
Response
•
200 OK
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
{
"devices": [
{"serial":"ABB_8", "status":"pending"},
{"serial":"ABB_8", "status":"success"},
{"serial":"ABB_8", "status":"failed"}
],
"firmwareupdatecomplete":2
}
Description
•
devices - array of devices.
serial [string 17] - serial number of device
status [string] - 'pending', 'success' or 'failed'
•
firmwareupdatecomplete[Int] - Indicates the status of firmware
upgrade.
Values can be:
0 - update not initiated.
1 - update is in progress.
2 - update completed.
• 500 Internal Server Error
HTTP/1.1 500 Internal Server Error
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 64
Content-Type: application/json
{
"status":"error",
"des":"received invalid response from COSEM."
}