JSON Communication
G13
117
2CMC489001M0201
User Manual
Revision: A
Response
•
200 OK
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
{
"scanresult": [
{
"token": 1337581086,
"serial": "ABB_3",
"protocol": "3",
"address": "17"
}
],
"scancomplete": 0
}
Description
• scanresult [Array of Objects] - Array of scanned meter objects
token [Int] - token for scan.
serial [String 17] - Serial Number of scanned meter
protocol [Int] - Protocol
M-Bus Wired (1)
M-Bus IR(2)
EQ bus(3)
Wireless(4)
address [String] - Address of meter for this protocol. In case of wireless,
this would be the Mac address
• scancomplete [Int] - Complete(1) or In-progress(2).
• 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."
}