This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 9ee5b749a4dc8f93c1d309b1270af71c326b3cdf
Author: Szymon Janc <[email protected]>
AuthorDate: Fri Oct 9 16:33:18 2026 +0200

    nimble/hci: Fix VS Set TX Power command comment
    
    Controller restores reset default TX power when 0x7f is requested, not
    0xff (which is valid -1 dBm value).
    
    Assisted-by: Claude:claude-opus-5-5
---
 nimble/include/nimble/hci_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/include/nimble/hci_common.h 
b/nimble/include/nimble/hci_common.h
index 5deebddf7..e22be3e33 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -1339,7 +1339,7 @@ struct ble_hci_vs_rd_static_addr_rp {
 } __attribute__((packed));
 
 /* Set default transmit power. Actual selected TX power is returned
- * in reply. Setting 0xff restores controller reset default.
+ * in reply. Setting 0x7f restores controller reset default.
  */
 #define BLE_HCI_OCF_VS_SET_TX_PWR                       
(MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0002))
 struct ble_hci_vs_set_tx_pwr_cp {

Reply via email to