From 035735ea2d338f278624ddc73f4f8eb485d8449f Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Wed, 10 Sep 2025 15:28:42 +0530 Subject: [PATCH] fix(nimble): Add Tx power information in adv data --- examples/bluetooth/nimble/ble_ancs/main/main.c | 2 +- examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/main/main.c | 2 +- examples/bluetooth/nimble/bleprph/main/main.c | 2 +- examples/bluetooth/nimble/bleprph_host_only/main/main.c | 2 +- examples/bluetooth/nimble/power_save/main/main.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/bluetooth/nimble/ble_ancs/main/main.c b/examples/bluetooth/nimble/ble_ancs/main/main.c index 8fbb3268f6..4f39c9cdad 100644 --- a/examples/bluetooth/nimble/ble_ancs/main/main.c +++ b/examples/bluetooth/nimble/ble_ancs/main/main.c @@ -348,7 +348,7 @@ ext_ble_ancs_advertise(void) params.primary_phy = BLE_HCI_LE_PHY_1M; params.secondary_phy = BLE_HCI_LE_PHY_2M; - //params.tx_power = 127; + params.tx_power = 127; params.sid = 1; params.itvl_min = BLE_GAP_ADV_FAST_INTERVAL1_MIN; diff --git a/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/main/main.c b/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/main/main.c index a126c9a99e..010ea85a15 100644 --- a/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/main/main.c +++ b/examples/bluetooth/nimble/ble_l2cap_coc/coc_bleprph/main/main.c @@ -94,7 +94,7 @@ ext_bleprph_advertise(void) params.primary_phy = BLE_HCI_LE_PHY_1M; params.secondary_phy = BLE_HCI_LE_PHY_2M; - //params.tx_power = 127; + params.tx_power = 127; params.sid = 1; params.itvl_min = BLE_GAP_ADV_FAST_INTERVAL1_MIN; diff --git a/examples/bluetooth/nimble/bleprph/main/main.c b/examples/bluetooth/nimble/bleprph/main/main.c index 522d7fdac2..d0eb370709 100644 --- a/examples/bluetooth/nimble/bleprph/main/main.c +++ b/examples/bluetooth/nimble/bleprph/main/main.c @@ -111,7 +111,7 @@ ext_bleprph_advertise(void) params.primary_phy = BLE_HCI_LE_PHY_1M; params.secondary_phy = BLE_HCI_LE_PHY_2M; - //params.tx_power = 127; + params.tx_power = 127; params.sid = 1; params.itvl_min = BLE_GAP_ADV_FAST_INTERVAL1_MIN; diff --git a/examples/bluetooth/nimble/bleprph_host_only/main/main.c b/examples/bluetooth/nimble/bleprph_host_only/main/main.c index 7459f2f78a..756863565a 100644 --- a/examples/bluetooth/nimble/bleprph_host_only/main/main.c +++ b/examples/bluetooth/nimble/bleprph_host_only/main/main.c @@ -92,7 +92,7 @@ ext_bleprph_advertise(void) params.primary_phy = BLE_HCI_LE_PHY_1M; params.secondary_phy = BLE_HCI_LE_PHY_2M; - //params.tx_power = 127; + params.tx_power = 127; params.sid = 1; params.itvl_min = BLE_GAP_ADV_FAST_INTERVAL1_MIN; diff --git a/examples/bluetooth/nimble/power_save/main/main.c b/examples/bluetooth/nimble/power_save/main/main.c index f9cc06e36b..166d83de37 100644 --- a/examples/bluetooth/nimble/power_save/main/main.c +++ b/examples/bluetooth/nimble/power_save/main/main.c @@ -123,7 +123,7 @@ ext_bleprph_advertise(void) params.primary_phy = BLE_HCI_LE_PHY_1M; params.secondary_phy = BLE_HCI_LE_PHY_2M; - //params.tx_power = 127; + params.tx_power = 127; params.sid = 1; params.itvl_min = BLE_GAP_ADV_FAST_INTERVAL1_MIN;