26 #include "ble_srv_common.h"
137 #endif // BLE_WPTS_H__
PTU Static Parameter structure.
ble_gatts_char_handles_t pru_dynamic_handles
ble_wpts_evt_handler_t evt_handler
uint32_t ble_wpts_pru_static_set(ble_wpts_t *p_wpts, pru_static_t *p_pru_static)
Sets value of the PRU Static Parameter characteristic.
void(* ble_wpts_evt_handler_t)(ble_wpts_t *p_wpts, ble_wpts_evt_t *p_evt)
WPT Service event handler type.
struct ble_wpts_s ble_wpts_t
WPT Service status structure.
PRU Alert Parameter structure.
uint32_t ble_wpts_init(ble_wpts_t *p_wpts, const ble_wpts_init_t *p_wpts_init)
Initialize the WPT Service.
uint32_t ble_wpts_pru_dynamic_set(ble_wpts_t *p_wpts, pru_dynamic_t *p_pru_dynamic)
Sets value of the PRU Dynamic Parameter characteristic.
ble_wpts_evt_type_t evt_type
ble_gatts_char_handles_t pru_control_handles
uint32_t ble_wpts_alert_send(ble_wpts_t *p_wpts, pru_alert_t *p_alert)
Sends PRU alert if notification has been enabled.
PRU Static Parameter structure.
ble_gatts_char_handles_t pru_alert_handles
WPT Service init structure.
pru_control_t pru_control
void ble_wpts_on_ble_evt(ble_wpts_t *p_wpts, ble_evt_t *p_ble_evt)
WPT Service BLE stack event handler.
ble_wpts_evt_handler_t evt_handler
ble_gatts_char_handles_t ptu_static_handles
ble_srv_security_mode_t wpts_attr_md
WPT Service status structure.
PRU Dynamic Parameter structure.
ble_gatts_char_handles_t pru_static_handles