Functions
Functions
BLE Services » Link Loss Service Client (LLS_C)

## Functions
sdk_err_t | lls_client_init (lls_c_evt_handler_t evt_handler)
| Register LLS Client event handler. More...
sdk_err_t | lls_c_disc_srvc_start (uint8_t conn_idx)
| Discovery Link Loss Service on peer. More...
sdk_err_t | lls_c_alert_level_set (uint8_t conn_idx, lls_c_alert_level_t alert_level)
| Set peer Alert Level. More...
sdk_err_t | lls_c_alert_level_read (uint8_t conn_idx)
| Read Alert Level characteristic value. More...

## Detailed Description

## Function Documentation

## ◆ lls_c_alert_level_read()

sdk_err_t lls_c_alert_level_read | ( | uint8_t | conn_idx | ) |

Read Alert Level characteristic value.

Parameters

  [in] | conn_idx | Index of connection.

Returns
  Operation result.

## ◆ lls_c_alert_level_set()

sdk_err_t lls_c_alert_level_set | ( | uint8_t | conn_idx,
|  | lls_c_alert_level_t | alert_level
| ) |  |

Set peer Alert Level.

Parameters

  [in] | conn_idx | Index of connection.
  [in] | alert_level | Alert level.

Returns
  Operation result.

## ◆ lls_c_disc_srvc_start()

sdk_err_t lls_c_disc_srvc_start | ( | uint8_t | conn_idx | ) |

Discovery Link Loss Service on peer.

Parameters

  [in] | conn_idx | Index of connection.

Returns
  Operation result.

## ◆ lls_client_init()

sdk_err_t lls_client_init | ( | lls_c_evt_handler_t | evt_handler | ) |

Register LLS Client event handler.

Parameters

  [in] | evt_handler | Link Loss Service Client event handler.

Returns
  Result of initialization.