20 #ifndef BLE_WPTS_C_H__
21 #define BLE_WPTS_C_H__
168 #endif // BLE_WPTS_C_H__
ble_wpts_c_evt_handler_t evt_handler
PTU Static Parameter structure.
uint32_t ble_wpts_service_data_read(ble_gap_evt_adv_report_t *p_adv_report, ble_wpts_service_data_t *p_service_data)
ble_wpts_c_evt_type_t
WPT Service Client event type.
WPT Service Client structure. This contains various status information for the service.
uint32_t ble_wpts_c_enable_pru_alert_notification(ble_wpts_c_t *p_wpts_c)
Enable alert notifications to be sent from PRU.
uint32_t ble_wpts_c_read_pru_static(ble_wpts_c_t *p_wpts_c)
Read the PRU Static Parameter characterisic value from the PRU server.
uint32_t ble_wpts_c_write_ptu_static(ble_wpts_c_t *p_wpts_c, ptu_static_t *p_wpts_ptu_static)
Write the PTU Static characteristic to the PRU server.
uint32_t ble_wpts_c_init(const ble_wpts_c_init_t *p_wpts_c_init)
Initialize the WPT Service Client.
ble_gattc_handle_range_t service_handle_range
PRU Alert Parameter structure.
void ble_wpts_char_handles_update(uint16_t prim_service_handle, ble_wpts_c_t *p_wpts_c)
void(* ble_wpts_c_evt_handler_t)(ble_wpts_c_t *p_wpts_c, ble_wpts_c_evt_t *p_evt)
WPT Service Client event handler type.
Struct holding contents of "Service data AD type".
uint32_t ble_wpts_c_read_pru_dynamic(ble_wpts_c_t *p_wpts_c)
Read the PRU Dynamic characterisic value from the PRU server.
uint16_t prua_cccd_handle
ble_wpts_c_evt_type_t type
PRU Static Parameter structure.
WPT Service Client init structure. This contains all options and data needed for initialization of th...
WPT Service Client event.
void ble_wpts_c_on_ble_evt(ble_wpts_c_t *p_wpts_c, ble_evt_t *p_ble_evt)
WPT Service Client BLE stack event handler.
pru_dynamic_t pru_dynamic
uint32_t ble_wpts_c_send_pru_control(ble_wpts_c_t *p_wpts_c, pru_control_t *p_wpts_pru_control)
Send a PRU Control message to the PRU server.
PRU Dynamic Parameter structure.