This is the client for the Next DST Change Service Service.
More...
This is the client for the Next DST Change Service Service.
|
#define | BLE_NDCC_TDST_UUID (0x2A11) |
|
#define | BLE_NDCC_TDST_LEN (8) |
|
|
enum | e_ble_ndcc_char_idx_t { BLE_NDCC_TDST_IDX
} |
| Next DST Change Service characteristic ID. More...
|
|
enum | e_ble_ndcc_event_t { BLE_NDCC_EVENT_TDST_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_NDCC_TDST_IDX, BLE_SERVC_READ_RSP)
} |
| Next DST Change Service client event type. More...
|
|
◆ e_ble_ndcc_char_idx_t
Next DST Change Service characteristic ID.
◆ e_ble_ndcc_event_t
Next DST Change Service client event type.
◆ R_BLE_NDCC_ReadTdst()
Read Time with DST characteristic value from the remote GATT database.
- Parameters
-
[in] | conn_hdl | Connection handle. |
- Returns
- ble_status_t
◆ R_BLE_NDCC_GetTdstAttrHdl()
Get Time with DST attribute handles.
- Parameters
-
[in] | p_addr | Bluetooth device address for the attribute handles. |
[out] | p_hdl | The pointer to store the retrieved attribute handles. |
- Returns
- ble_status_t
◆ R_BLE_NDCC_Init()
Initialize Next DST Change Service client.
- Parameters
-
- Returns
- ble_status_t
◆ R_BLE_NDCC_ServDiscCb()
void R_BLE_NDCC_ServDiscCb |
( |
uint16_t |
conn_hdl, |
|
|
uint8_t |
serv_idx, |
|
|
uint16_t |
type, |
|
|
void * |
p_param |
|
) |
| |
Next DST Change Service client discovery callback.
- Parameters
-
[in] | conn_hdl | Connection handle |
[in] | serv_idx | Service instance index. |
[in] | type | Service discovery event type. |
[in] | p_param | Service discovery event parameter. |
- Returns
- ble_status_t
◆ R_BLE_NDCC_GetServAttrHdl()
Get Next DST Change Service client attribute handle.
- Parameters
-
[in] | p_addr | Bluetooth device address for the attribute handles. |
[out] | p_hdl | The pointer to store the retrieved attribute handles. |