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
Using NimBLEDevice::setPower(int dbm) seems to not change the tx power from what I can tell.
Iterating through the following dbm values shows no change using LightBlue to read RSSI: {RADIO_TXPOWER_TXPOWER_Neg4dBm, RADIO_TXPOWER_TXPOWER_0dBm, RADIO_TXPOWER_TXPOWER_Pos3dBm, RADIO_TXPOWER_TXPOWER_Pos4dBm}
Reading RSSI on LightBlue app shows no change between all four settings
The workaround I have used so far is changing nimconfig MYNEWT_VAL_BLE_LL_TX_PWR_DBM=0 to MYNEWT_VAL_BLE_LL_TX_PWR_DBM=4 with platformio build flag build_flags = -DMYNEWT_VAL_BLE_LL_TX_PWR_DBM=4
Reading RSSI on LightBlue shows immediate change after device is flashed with new config
The text was updated successfully, but these errors were encountered:
Using NimBLEDevice::setPower(int dbm) seems to not change the tx power from what I can tell.
Iterating through the following dbm values shows no change using LightBlue to read RSSI: {RADIO_TXPOWER_TXPOWER_Neg4dBm, RADIO_TXPOWER_TXPOWER_0dBm, RADIO_TXPOWER_TXPOWER_Pos3dBm, RADIO_TXPOWER_TXPOWER_Pos4dBm} Reading RSSI on LightBlue app shows no change between all four settings
The workaround I have used so far is changing nimconfig MYNEWT_VAL_BLE_LL_TX_PWR_DBM=0 to MYNEWT_VAL_BLE_LL_TX_PWR_DBM=4 with platformio build flag build_flags = -DMYNEWT_VAL_BLE_LL_TX_PWR_DBM=4 Reading RSSI on LightBlue shows immediate change after device is flashed with new config
hi @lilindian16 I used your suggestion and it increased power to 4dbm - did you ever get it to 8dbm? if so can you share pls?
NRF52840-QIAA
n-able core version = 1.0.0
NimBLE-Arduino version = 1.4.1
platformio.ini config:
platform = https://github.com/h2zero/platform-n-able.git#1.0.0
framework = arduino
lib_deps = h2zero/NimBLE-Arduino@^1.4.0
upload_protocol = jlink
board = generic_nrf52840
debug_tool = jlink
Using NimBLEDevice::setPower(int dbm) seems to not change the tx power from what I can tell.
Iterating through the following dbm values shows no change using LightBlue to read RSSI:
{RADIO_TXPOWER_TXPOWER_Neg4dBm, RADIO_TXPOWER_TXPOWER_0dBm, RADIO_TXPOWER_TXPOWER_Pos3dBm, RADIO_TXPOWER_TXPOWER_Pos4dBm}
Reading RSSI on LightBlue app shows no change between all four settings
The workaround I have used so far is changing nimconfig
MYNEWT_VAL_BLE_LL_TX_PWR_DBM=0
toMYNEWT_VAL_BLE_LL_TX_PWR_DBM=4
with platformio build flagbuild_flags = -DMYNEWT_VAL_BLE_LL_TX_PWR_DBM=4
Reading RSSI on LightBlue shows immediate change after device is flashed with new config
The text was updated successfully, but these errors were encountered: