Zephyr technical question


Ebrm Jam <jokrsouthvision@...>
 

Hi,

I have a technical question, I'm trying to modify the Tx power of the hci_usb sample before flashing it to a controller. I've found in the zephyr/subsys/bluetooth/
controller/Kconfig file that I can add "BT_CTLR_TX_PWR_0" somewhere, however I don't know where to put it, is it in the KConfig file or the prj.conf ?

Also, is it just the "BT_CTLR_TX_PWR_0" line that I need to add or
<config BT_CTLR_TX_PWR_PLUS_5
           bool "+5 dBm"
           depends on HAS_HW_NRF_RADIO_TX_PWR_HIGH>
entirely ?

Will it work for the hci_usb sample ?

Thank you so much


Benedikt Schmidt
 

Hi there,

the KConfig files contain the definitions of possible configuration options. You can then set them in your prj.conf like this:

CONFIG_BT_CTLR_TX_PWR_PLUS_5=y

Regards,

Benedikt Schmidt
Embedded Software Engineer
SILA Embedded Solutions GmbH
Framsweg 16
6020 Innsbruck
Austria
+43 512 319492
www.embedded-solutions.at
FN 408741s, HG St. Pölten

On 31.08.21 22:36, Ebrm Jam via lists.zephyrproject.org wrote:
Hi,

I have a technical question, I'm trying to modify the Tx power of the hci_usb sample before flashing it to a controller. I've found in the zephyr/subsys/bluetooth/
controller/Kconfig file that I can add "BT_CTLR_TX_PWR_0" somewhere, however I don't know where to put it, is it in the KConfig file or the prj.conf ?

Also, is it just the "BT_CTLR_TX_PWR_0" line that I need to add or
<config BT_CTLR_TX_PWR_PLUS_5
           bool "+5 dBm"
           depends on HAS_HW_NRF_RADIO_TX_PWR_HIGH>
entirely ?

Will it work for the hci_usb sample ?

Thank you so much