Open corneliusmunz opened 3 years ago
Good idea!
I don't have much data I'm afraid, I only included that line because the HubRemote Led was sometimes blinking when bad reception. This annoyed/distracted me, so I upped the power level of the ESP32 😄 .
It would be good to enable the user to set the BLE Power level without calling NimBLE-Arduino functions. Maybe the default levels could be changed from -3dB to +9dB
The power levels for scan, advertisment and default could be changed with the static NimBLE-Arduino function
void NimBLEDevice::setPower(esp_power_level_t powerLevel, esp_ble_power_type_t powerType)
With
esp_power_level_t
and
esp_ble_power_type_t
@fvanroie : I've seen this in your code and thought that this would be a good way to increase the usable distance of the BLE connections to the hubs. Do you have faced any issues about remarkable lower battery lifetimes?