-
Notifications
You must be signed in to change notification settings - Fork 7
MQTT API ‐ Heartbeat
QA edited this page Oct 25, 2024
·
1 revision
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: Heartbeat Timer
Gateway --) Server: Heartbeat Request
Server -) Server: Process Heartbeat Request
Server --) Gateway: Heartbeat Response
Gateway -) Gateway: Process Heartbeat Response
end
end
Topic | action Field |
---|---|
up/{gateway}/heartbeat | heartbeat |
{
"id": "35656",
"action": "heartbeat",
"timestamp": 1678698297028,
"gateway": "CC:1B:E0:E2:8F:2C",
"data": {}
}
Topic | action Field |
---|---|
down/{gateway}/heartbeat_reply | heartbeat_reply |
{
"id": "35656",
"action": "heartbeat_reply",
"timestamp": 1678698297028,
"gateway": "CC:1B:E0:E2:8F:2C",
"data": {}
}
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