MQTT API ‐ Gateway Status - CassiaNetworks/CassiaSDKGuide GitHub Wiki
Gateway Status
Interaction Flow
sequenceDiagram
participant Server as User Application Service
participant MQTT as User MQTT Server
participant Gateway as Cassia Bluetooth Gateway
loop
rect rgba(136, 177, 234,0.4)
Gateway -) Gateway: Timer
Gateway --) Server: Gateway Status
end
end
Message Topic
| Topic |
action |
| up/{gateway}/gateway_status |
gateway_status |
Periodic Push
Message Payload
{
"id": "35656",
"action": "gateway_status",
"timestamp": 1678698297028,
"gateway": "CC:1B:E0:E2:8F:2C",
"data": {
"model":"M2000",
"version":"7.7.161.2401041522",
"uptime":8721,
"uplink":"wireless",
"private_ip":"192.168.3.134",
"IMSI": "460000350289866",
"IMEI": "867297063925923",
"ICCID": "898600520123F0313872",
"RSSI": -21
}
}
Field Descriptions
| Field |
Subfield |
Type |
Required |
Default |
Description |
| data |
|
object |
Yes |
|
Message payload |
|
model |
string |
Yes |
- |
Gateway model |
|
version |
string |
Yes |
- |
Gateway firmware version |
|
uptime |
string |
Yes |
- |
Gateway uptime |
|
uplink |
string |
Yes |
- |
Network connection type |
|
private_ip |
string |
Yes |
- |
IP address |