Zephyr Project API  3.1.0
A Scalable Open Source RTOS
Immediate Alert Service (IAS)

Immediate Alert Service (IAS) More...

Data Structures

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

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. More...
 

Functions

int bt_ias_local_alert_stop (void)
 Method for stopping alert locally. More...
 

Detailed Description

Immediate Alert Service (IAS)

[Experimental] Users should note that the APIs can change as a part of ongoing development.

Macro Definition Documentation

◆ BT_IAS_CB_DEFINE

#define BT_IAS_CB_DEFINE (   _name)     static const STRUCT_SECTION_ITERABLE(bt_ias_cb, _CONCAT(bt_ias_cb_, _name))

#include <include/zephyr/bluetooth/services/ias.h>

Register a callback structure for immediate alert events.

Parameters
_nameName of callback structure.

Function Documentation

◆ bt_ias_local_alert_stop()

int bt_ias_local_alert_stop ( void  )

#include <include/zephyr/bluetooth/services/ias.h>

Method for stopping alert locally.

Returns
Zero in case of success and error code in case of error.