| Airoha M0 BLE API 1.0.5.4

service_tx_power.h
1 /******************************************************************************
2 Copyright (c) Airoha 2016 - All rights reserved
3
4 FILE NAME
5 service_tx_power.h
6 DESCRIPTION
7 NOTES
8 ********************************************************************************/
9 #ifndef _TX_POWER_SERVICE_H_
10 #define _TX_POWER_SERVICE_H_
11
18 #include "ble_gatt_server.h"
19
23 typedef struct
24 {
25 uint8_t* txpower_level;
26 ATTCB tps_cb;
27 }tps_init_para;
28
35 void TPS_init(tps_init_para * para);
36
40 #endif
41
ATTCB
void(* ATTCB)(ATT_CB_TYPE type, uint8_t linkindex, uint16_t handle)
attribute value accessed call back function.
Definition: ble_att.h:111
TPS_init
void TPS_init(tps_init_para *para)
Initialization function of lls service.
tps_init_para
tx power service initialization Parameters
Definition: service_tx_power.h:23