Microchip® Advanced Software Framework

trans_service.h File Reference

Transparent Service declarations.

Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.

#include "at_ble_api.h"
#include "ble_manager.h"

Functions

void trans_service_init (gatt_service_handler_t *trans_service)
 transparent service and characteristic initialization(Called only once by user). More...
 
at_ble_status_t trans_service_primary_service_define (gatt_service_handler_t *trans_service)
 Register a transparent service instance inside stack. More...
 
at_ble_status_t trans_update_ctrl_char_value (gatt_service_handler_t *trans_service, uint8_t *trans_ctrl_value, uint8_t len)
 Ctrl characteristic value after defining the services using bat_primary_service_define. More...
 
at_ble_status_t trans_update_tx_char_value (gatt_service_handler_t *trans_service, uint8_t *trans_tx_value, uint8_t len)
 Tx characteristic value after defining the services using bat_primary_service_define. More...