Linkloss service.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
#include "link_loss.h"
Functions | |
void | init_linkloss_service (gatt_service_handler_t *linkloss_serv) |
Linkloss service initialization. More... | |
at_ble_status_t | lls_alert_level_read (at_ble_handle_t conn_handle, at_ble_handle_t char_handle) |
Send the Read request to the link loss handler Read value will be reported via AT_BLE_CHARACTERISTIC_READ_RESPONSE event. More... | |
at_ble_status_t | lls_alert_level_write (at_ble_handle_t conn_handle, at_ble_handle_t char_handle, link_loss_alert_level_t alert_level) |
write a characteristic to Link Loss Characteristics More... | |
int8_t | lls_alert_read_response (at_ble_characteristic_read_response_t *read_resp, gatt_lls_char_handler_t *lls_handler) |
Read Link Loss Alert Value. More... | |
at_ble_status_t | lls_primary_service_define (gatt_service_handler_t *lls_service) |
linkloss service definition More... | |
uint8_t | lls_set_alert_value (at_ble_characteristic_changed_t *change_params, gatt_service_handler_t *lls_handler) |
Setting the alert value of linkloss service. More... | |
Variables | |
uint8_t | linkloss_initial_value = 0 |
uint8_t linkloss_initial_value = 0 |
Referenced by init_linkloss_service().