You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to make sure my esp32-s3 was using the highest value for transmission power, but for some reason it doesn't seem to change unless I have sdkconfig.h setup with these.
CONFIG_NIMBLE_CPP_LOG_LEVEL_DEBUG=y
CONFIG_NIMBLE_CPP_LOG_LEVEL=4
Testing with code like this
btStarted();
NimBLEDevice::init("test");
int before = NimBLEDevice::getPower();
Serial.printf("ble power before %i\n", before);
NimBLEDevice::setPower(ESP_PWR_LVL_P9);
int after = NimBLEDevice::getPower();
Serial.printf("ble power after %i\n", after);
Output without debug
ble power before 3
ble power after 3
Output with debug
ble power before 3
D (3534) NimBLEDevice: >> setPower: 11 (type: 11)
D (3534) NimBLEDevice: << setPower
ble power after 9
The text was updated successfully, but these errors were encountered:
I wanted to make sure my esp32-s3 was using the highest value for transmission power, but for some reason it doesn't seem to change unless I have sdkconfig.h setup with these.
CONFIG_NIMBLE_CPP_LOG_LEVEL_DEBUG=y
CONFIG_NIMBLE_CPP_LOG_LEVEL=4
Testing with code like this
btStarted();
NimBLEDevice::init("test");
int before = NimBLEDevice::getPower();
Serial.printf("ble power before %i\n", before);
NimBLEDevice::setPower(ESP_PWR_LVL_P9);
int after = NimBLEDevice::getPower();
Serial.printf("ble power after %i\n", after);
Output without debug
ble power before 3
ble power after 3
Output with debug
ble power before 3
D (3534) NimBLEDevice: >> setPower: 11 (type: 11)
D (3534) NimBLEDevice: << setPower
ble power after 9
The text was updated successfully, but these errors were encountered: