The RESTful smart server API exposes many RESTful services that help the client communicate with Bluetooth nodes. These services include the following:
REST action | URL | Description |
GET | /gap/nodes | Get information about the Bluetooth devices in the proximity |
GET | /gatt/nodes/{nodesId}/service | Discover services related to a Bluetooth device |
GET |
/gatt/{userId}/nodes/{nodesId}/services/{servicesId} /characteristics |
Get a list of all the characteristics related to a service |
GET |
/gatt/{userId}/nodes/{nodesId}/services/{servicesId}/characteristics /{characteristicsId}/value |
Get a value of a characteristics |
PUT |
/gatt/{userId}/nodes/{nodesId}/services/{servicesId}/characteristics ... |