Immediate Alert Service event.
ias_evt_type_t
Immediate Alert Service event type.
void(* ias_evt_handler_t)(ias_evt_t *p_evt)
Immediate Alert Service event handler type.
sdk_err_t ias_alert_level_get(uint8_t *p_alert_level)
Get current value of alert level characteristic.
Immediate Alert Service init stucture.
ias_evt_type_t evt_type
Type of event.
@ IAS_ALERT_HIGH
High alert.
@ IAS_ALERT_NONE
No alert.
uint16_t sdk_err_t
SDK API result type.
ias_evt_handler_t evt_handler
Immediate Alert Service event handler.
@ IAS_ALERT_MILD
Mild alert.
@ IAS_EVT_ALERT_LEVEL_UPDATED
Alert Level Updated event.
@ IAS_EVT_INVALID
Invalid IAS event.
uint8_t alert_level
New value of Alert level.
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.