esp_ble_tx_power_get() function
Get BLE TX power
Arguments
power_type
The type of TX power. It could be Advertising/Connection/Default and etc.
Return value
- Power level
Notes
Connection TX power should only be retrieved after the connection is established.