|
PebbleOS v4.47.0-1161-g94e3d98da
|
Data Structures | |
| struct | pbl_bt_gatts_service |
| A service of the device. More... | |
Macros | |
| #define | PBL_BT_GATTS_SERVICE_DEFINE(_name, _order, _add) |
| Define a service of the device, added by pbl_bt_gatts_add_services(). | |
Functions | |
| int | pbl_bt_gatts_add_services (void) |
| Add the services defined with PBL_BT_GATTS_SERVICE_DEFINE(), before the host starts. | |
| int | pbl_bt_gatts_add (const struct ble_gatt_svc_def *svcs) |
| Add services to the GATT server, before the host starts. | |
| int | pbl_bt_gatts_notify (uint16_t conn_handle, uint16_t attr_handle, const void *data, uint16_t len) |
| Notify a value to a peer, subscribed or not. | |