https://api.sciener.com/v3/electricMeter/decodeBleAdvertising
This interface supports the meter reading function by reporting meter data through the broadcast reading function in the APP SDK.
POST, ContentType:application/x-www-form-urlencoded
xxxxxxxxxx61curl --location -g --request POST 'https://api.sciener.com/v3/electricMeter/decodeBleAdvertising'\2--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \3--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \4--data-urlencode 'mac=11:22:33:44:55:66' \5--data-urlencode 'executeResponse=1014010658D10007000013EE002A7E01650600445878' \6--data-urlencode 'date=1625025703000'| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | Assigned client_id from created application |
| accessToken | String | Y | Access token, obtain by calling get access token API |
| date | Long | Y | Current time (timestamp, in milliseconds) |
| mac | String | Y | Electricity Meter MAC |
| executeResponse | Int | Y | Broadcast data obtained from the SDK |
| Name | Type | Description |
|---|---|---|
| errcode | Int | Error code |
| errmsg | String | Error message |
| description | String | Error Description |
xxxxxxxxxx51{2 "errcode": 0,3 "errmsg": "none error message or means yes",4 "description": "表示成功或是"5}