![]() |
Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
|
This service defines how a client can request an update from a reference time source from a time server using the Generic Attribute Profile (GATT) More...
This service defines how a client can request an update from a reference time source from a time server using the Generic Attribute Profile (GATT)
Data Structures | |
struct | st_ble_rtus_tus_t |
Time Update State value structure. More... | |
Functions | |
ble_status_t | R_BLE_RTUS_SetTus (const st_ble_rtus_tus_t *p_value) |
Set Time Update State characteristic value to the local GATT database. More... | |
ble_status_t | R_BLE_RTUS_GetTus (st_ble_rtus_tus_t *p_value) |
Get Time Update State characteristic value from the local GATT database. More... | |
ble_status_t | R_BLE_RTUS_Init (ble_servs_app_cb_t cb) |
Initialize Reference Time Update Service service. More... | |
Time Update State Result enumeration.
Reference Time Update Service characteristic Index.
enum e_ble_rtus_event_t |
Reference Time Update Service event type.
ble_status_t R_BLE_RTUS_SetTus | ( | const st_ble_rtus_tus_t * | p_value | ) |
Set Time Update State characteristic value to the local GATT database.
[in] | p_value | Characteristic value to set. |
ble_status_t R_BLE_RTUS_GetTus | ( | st_ble_rtus_tus_t * | p_value | ) |
Get Time Update State characteristic value from the local GATT database.
[in] | p_value | Output location for the acquired descriptor value. |
ble_status_t R_BLE_RTUS_Init | ( | ble_servs_app_cb_t | cb | ) |
Initialize Reference Time Update Service service.
[in] | cb | Service callback. |