tps.h
Go to the documentation of this file.
1
60 #ifndef __TPS_H__
61 #define __TPS_H__
62
63 #include "gr55xx_sys.h"
64 #include "custom_config.h"
65 #include <stdint.h>
66
72 typedef struct
73 {
74 int8_t initial_tx_power_level;
75 } tps_init_t;
91 sdk_err_t tps_service_init(tps_init_t *p_tps_init);
92
102 sdk_err_t tps_tx_power_level_set(int8_t tx_power_level);
105 #endif
106
tps_init_t
Tx Power Servic init stucture. This contains all option and data needed for initialization of the ser...
Definition: tps.h:73
tps_init_t::initial_tx_power_level
int8_t initial_tx_power_level
Definition: tps.h:74
gr55xx_sys.h
GR55XX System API.
tps_service_init
sdk_err_t tps_service_init(tps_init_t *p_tps_init)
Initialize a Tx Power Service instance and add in BLE Stack database.
sdk_err_t
uint16_t sdk_err_t
SDK API result type.
Definition: ble_error.h:243
tps_tx_power_level_set
sdk_err_t tps_tx_power_level_set(int8_t tx_power_level)
Set new value of Tx power level characteristic.