Functions | |
sdk_err_t | tps_service_init (tps_init_t *p_tps_init) |
Initialize a Tx Power Service instance and add in BLE Stack database. More... | |
sdk_err_t | tps_tx_power_level_set (int8_t tx_power_level) |
Set new value of Tx power level characteristic. More... | |
uint16_t | tps_service_start_handle_get (void) |
Provide the interface for other modules to obtain the tps service start handle . More... | |
sdk_err_t tps_service_init | ( | tps_init_t * | p_tps_init | ) |
Initialize a Tx Power Service instance and add in BLE Stack database.
[in] | p_tps_init | Pointer to a Tx Power Service environment variable. |
uint16_t tps_service_start_handle_get | ( | void | ) |
Provide the interface for other modules to obtain the tps service start handle .
sdk_err_t tps_tx_power_level_set | ( | int8_t | tx_power_level | ) |
Set new value of Tx power level characteristic.
[in] | tx_power_level | New value of Tx power level, range [-100, 20] dBm. |