Functions
Functions
BLE Services » Link Loss Service (LLS)
Collaboration diagram for Functions:

## Functions
sdk_err_t | lls_service_init (lls_init_t *p_lls_init)
| Initialize a Link Loss Service instance and add in ATT DB. More...
sdk_err_t | lls_alert_level_get (uint8_t *p_alert_level)
| Get current value of alert level characteristic. More...

## Detailed Description

## Function Documentation

## ◆ lls_alert_level_get()

sdk_err_t lls_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

## ◆ lls_service_init()

sdk_err_t lls_service_init | ( | lls_init_t * | p_lls_init | ) |

Initialize a Link Loss Service instance and add in ATT DB.

Parameters

  [in] | p_lls_init | Pointer to Link Loss Service Service initialization variable

Returns
  Result of service initialization.