Functions
Functions
BLE Services » Immediate Alarm Service (IAS)

## Functions
sdk_err_t | ias_service_init (ias_init_t *p_ias_init)
| Initialize a Immediate Alert Service instance and add in the BLE Stack database. More...
sdk_err_t | ias_alert_level_get (uint8_t *p_alert_level)
| Get current value of alert level characteristic. More...

## Detailed Description

## Function Documentation

## ◆ ias_alert_level_get()

sdk_err_t ias_alert_level_get | ( | uint8_t * | p_alert_level | ) |

Get current value of alert level characteristic.

Parameters

  [out] | p_alert_level | Pointer to the current value of alert level.

Returns
  BLE_SDK_SUCCESS on success, otherwise an error code.

## ◆ ias_service_init()

sdk_err_t ias_service_init | ( | ias_init_t * | p_ias_init | ) |

Initialize a Immediate Alert Service instance and add in the BLE Stack database.

Parameters

  [in] | p_ias_init | Pointer to Immediate Aler Service initialization variable.

Returns
  Result of service initialization.