Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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)    static const STRUCT_SECTION_ITERABLE(bt_ias_cb, _CONCAT(bt_ias_cb_, _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.