Transparent service.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
#include "trans_service.h"
Functions | |
void | trans_service_init (gatt_service_handler_t *trans_service) |
Initialize the service with its included service, characteristics, and descriptors. More... | |
at_ble_status_t | trans_service_primary_service_define (gatt_service_handler_t *trans_service) |
defining a initialized service More... | |
at_ble_status_t | trans_update_ctrl_char_value (gatt_service_handler_t *trans_service, uint8_t *trans_ctrl_value, uint8_t len) |
Function used to update trans tx characteristic value. More... | |
at_ble_status_t | trans_update_tx_char_value (gatt_service_handler_t *trans_service, uint8_t *trans_tx_value, uint8_t len) |
Function used to update trans tx characteristic value. More... | |
Variables | |
at_ble_connected_t | ble_connected_dev_info [MAX_DEVICE_CONNECTED] |
information of the connected devices More... | |
uint8_t | enable_credit_based_fc = false |
static at_ble_characteristic_t | trans_chars [] |
uint8_t | trans_ctrl = 0x0 |
static at_ble_uuid_t | trans_ctrl_char_uuid |
uint8_t | trans_ctrl_notification_flag = false |
uint8_t | trans_rx = 0x0 |
static at_ble_uuid_t | trans_rx_char_uuid |
at_ble_uuid_t | trans_service_uuid |
uint8_t | trans_tx = 0x0 |
static at_ble_uuid_t | trans_tx_char_uuid |
uint8_t | trans_tx_notification_flag = false |
at_ble_connected_t ble_connected_dev_info[MAX_DEVICE_CONNECTED] |
information of the connected devices
uint8_t enable_credit_based_fc = false |
Referenced by trans_update_ctrl_char_value().
|
static |
uint8_t trans_ctrl = 0x0 |
Referenced by trans_service_init().
|
static |
uint8_t trans_ctrl_notification_flag = false |
Referenced by trans_update_ctrl_char_value().
uint8_t trans_rx = 0x0 |
Referenced by trans_service_init().
|
static |
at_ble_uuid_t trans_service_uuid |
uint8_t trans_tx = 0x0 |
Referenced by trans_service_init().
|
static |
uint8_t trans_tx_notification_flag = false |
Referenced by trans_update_tx_char_value().