-
Notifications
You must be signed in to change notification settings - Fork 7
MQTT API ‐ Gateway Status
QA edited this page Oct 25, 2024
·
2 revisions
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
Topic | action |
---|---|
up/{gateway}/gateway_status | gateway_status |
- Every 5 minutes
{
"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 | 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 |
Copyright © 2021 Cassia Networks, Inc.
RESTful API
-
Traffic Related API
- Scan Bluetooth Devices
- Filter Scanned Data based on Device MAC, RSSI, Name, and UUID
- Enhanced Scan Filter (v2.0 and above)
- Connect/Disconnect to a Target Device
- Batch Connect to a Target Device (v2.0 and above)
- Discover GATT Services and Characteristics
- Read/Write the Value of a Specific Characteristic
- Send Advertise Data
- Get Device Connection Status
- Receive Notification and Indication
- Get RSSI for BLE Connection (v2.0 and above)
-
Secure Pairing API
-
Router Auto-Selection API