Immediate Alert Service event.
Definition: ias.h:96
ias_evt_type_t
Immediate Alert Service event type.
Definition: ias.h:84
void(* ias_evt_handler_t)(ias_evt_t *p_evt)
Immediate Alert Service event handler type.
Definition: ias.h:107
sdk_err_t ias_alert_level_get(uint8_t *p_alert_level)
Get current value of alert level characteristic.
Immediate Alert Service init stucture. This contains all option and data needed for initialization of...
Definition: ias.h:116
ias_evt_type_t evt_type
Definition: ias.h:97
@ IAS_ALERT_HIGH
Definition: ias.h:79
@ IAS_ALERT_NONE
Definition: ias.h:77
uint16_t sdk_err_t
SDK API result type.
Definition: ble_error.h:243
ias_evt_handler_t evt_handler
Definition: ias.h:117
@ IAS_ALERT_MILD
Definition: ias.h:78
@ IAS_EVT_ALERT_LEVEL_UPDATED
Definition: ias.h:86
@ IAS_EVT_INVALID
Definition: ias.h:85
uint8_t alert_level
Definition: ias.h:98
sdk_err_t ias_service_init(ias_init_t *p_ias_init)
Initialize a Immediate Alert Service instance and add in the BLE Stack database.