MT2523 API Reference  LinkIt SDK v4

This section defines the database of Immediate Alert Service and manages the write event of Alert Level Characteristic from a peer device. More...

Overview

This section defines the database of Immediate Alert Service and manages the write event of Alert Level Characteristic from a peer device.

Terms and Acronyms

Terms Details
IAS Immediate Alert Service. This service exposes a control point to allow a peer device to cause the device to immediately alert.

How to use this module

Functions

void ble_ias_alert_level_write_callback (uint16_t conn_handle, uint8_t alert_level)
 This function is a user-defined callback for the application to listen to the write event of Alert Level Characteristic. More...
 

Variables

BT_EXTERN_C_BEGIN const bt_gatts_service_t ble_ias_service
 

Function Documentation

void ble_ias_alert_level_write_callback ( uint16_t  conn_handle,
uint8_t  alert_level 
)

This function is a user-defined callback for the application to listen to the write event of Alert Level Characteristic.

Parameters
[in]conn_handleis the connection handle.
[in]alert_levelis the alert level value written by the remote device.
Returns
void.