Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ias.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_ias_cb
 Immediate Alert Service callback structure. More...
 
struct  bt_ias_client_cb
 

Macros

#define BT_IAS_CB_DEFINE(_name)
 Register a callback structure for immediate alert events.
 

Enumerations

enum  bt_ias_alert_lvl { BT_IAS_ALERT_LVL_NO_ALERT , BT_IAS_ALERT_LVL_MILD_ALERT , BT_IAS_ALERT_LVL_HIGH_ALERT }
 

Functions

int bt_ias_local_alert_stop (void)
 Method for stopping alert locally.
 
int bt_ias_client_alert_write (struct bt_conn *conn, enum bt_ias_alert_lvl)
 Set alert level.
 
int bt_ias_discover (struct bt_conn *conn)
 Discover Immediate Alert Service.
 
int bt_ias_client_cb_register (const struct bt_ias_client_cb *cb)
 Register Immediate Alert Client callbacks.