Immediate Alarm Service (IAS)

Definitions and prototypes for the IAS interface. More...

+ Collaboration diagram for Immediate Alarm Service (IAS):

Modules

 Enumerations
 
 Structures
 
 Typedefs
 
 Functions
 

Detailed Description

Definitions and prototypes for the IAS interface.

The Immediate Alert Service exposes a control point to allow a peer device to cause the device to immediately alert.

The application must provide an event handler to set ias_init_t::evt_handler. After ias_init_t variable is initialized, the application must call ias_service_init() to add the Immediate Alert Service and Alert Level characteristic to the BLE Stack database, the service will notify the application when the value of Alert Level characteristic is changed by the peer device.

This module also provides ias_alert_level_get() function to the application to poll the current value of Alert Level characteristic.