How to setting TX power through HCI command?

Hi Sir,

We reference example "/nrf/samples/bluetooth/hci_uart" and test on nRF52833.

Now we want to set the Tx power by sending appropriate HCI commands from the host.

We tried the below command but got an error.

"hcitool -a hci0 inqtpl 4"

Can't set inquiry transmit power level on hci0: Input/output error (5)

Could you share the command for how to set the TX power level?

Thank you.

BRs, Han

Parents Reply
  • Hi Dejan,

    As studied the link you provided, the <cmd> of hcitool fellows the Bluetooth Specifiation, Version 5.x, Vol 2, Part E, Chapt 7.8.

    And in the Chapt 7.8, there is no command definition for set TX power, but I can find the read TX power.

    I tried to read the TX power w/ below result.

    LE Read Advertising Channel TX Power

    8

    7

    And I also tried to use the bluetoothctl or btmgmt, there is no "set TX power" command from "help".

    Is it correct for my understanding that there is no HCI command to set tx power?

    Thank you.

    BRs, Han

Children
Related