-
Notifications
You must be signed in to change notification settings - Fork 9
Home
kevin-cassia edited this page Feb 26, 2019
·
55 revisions
This wiki shows developers how to use the Cassia RESTful API to integrate their Bluetooth devices with the Cassia IoT Access Controller (AC) and the Cassia Bluetooth routers.
##Table of Contents
- Overview
- Two Set of RESTful APIs
- Architecture Diagram
- Server Sent Events
- Getting Started
- Access local router
- Access Cassia router through the Cassia AC 3 RESTful API
- Common Parameters
- Management APIs
- Obtain Cassia router’s configuration
- Obtain Cassia router’s status
- Monitor Cassia router’s status
- Obtain all online routers’ status
- Reboot a router remotely
- Traffic Related APIs
- Scan Bluetooth devices
- Filter scanned data based on device MAC, RSSI, name, and UUID
- Connect/disconnect to a target device
- Discover GATT services and characteristics
- Read/write the value of a specific characteristic
- Get advertise data
- Get device connection status
- Receive notification and indication
- Positioning APIs
- Secure Pairing APIs
- Pair Request
- Pair-input Request
- Un-pair Request
- Just Works Example
- Passkey Entry Example: Initiator Inputs
- LE Legacy Pairing OOB Example
- Router Auto-Selection APIs
- Router auto-selection
- Connect a device
- Disconnect a device
- SSE Combination APIs
- Create combined SSE
- Open scan
- Close scan
- Open notify
- Close notify
- Open connection-state report
- Close connection-state report
- Open ap-state report
- Close ap-state report
- Bluetooth Debug Tool
- Error Messages Appendix. A. Migrate from C1000-2B Firmware to X1000 B. Sample Code to Get Access Token
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