Microchip® Advanced Software Framework

trans_service.c File Reference

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
 

information of the connected devices

uint8_t enable_credit_based_fc = false
at_ble_characteristic_t trans_chars[]
static
uint8_t trans_ctrl = 0x0

Referenced by trans_service_init().

at_ble_uuid_t trans_ctrl_char_uuid
static
Initial value:
= {
{
}
}
#define UUID_MCHP_TRANS_CTRL_16
Definition: common/components/wifi/winc3400/ble/ble_services/ble_mgr/ble_manager.h:297
128 Bit UUID
Definition: common/components/wifi/winc3400/ble/atmel_ble_api/include/at_ble_api.h:473
uint8_t trans_ctrl_notification_flag = false
uint8_t trans_rx = 0x0

Referenced by trans_service_init().

at_ble_uuid_t trans_rx_char_uuid
static
Initial value:
= {
{
}
}
128 Bit UUID
Definition: common/components/wifi/winc3400/ble/atmel_ble_api/include/at_ble_api.h:473
#define UUID_MCHP_TRANS_RX_16
Definition: common/components/wifi/winc3400/ble/ble_services/ble_mgr/ble_manager.h:296
at_ble_uuid_t trans_service_uuid
Initial value:
= {
{
}
}
#define UUID_MCHP_PROPRIETARY_SERVICE_16
Definition: common/components/wifi/winc3400/ble/ble_services/ble_mgr/ble_manager.h:294
128 Bit UUID
Definition: common/components/wifi/winc3400/ble/atmel_ble_api/include/at_ble_api.h:473
uint8_t trans_tx = 0x0

Referenced by trans_service_init().

at_ble_uuid_t trans_tx_char_uuid
static
Initial value:
= {
{
}
}
128 Bit UUID
Definition: common/components/wifi/winc3400/ble/atmel_ble_api/include/at_ble_api.h:473
#define UUID_MCHP_TRANS_TX_16
Definition: common/components/wifi/winc3400/ble/ble_services/ble_mgr/ble_manager.h:295
uint8_t trans_tx_notification_flag = false