This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

set BLE transmit power in NCS

Any suggested APIs to setup BLE transmit power in NCS?

the set_tx_power() in the Zephyr example looks not work with nordic softdevice controller.

https://devzone.nordicsemi.com/f/nordic-q-a/71263/nrf52820-power-control-not-working-from-samples/292739#292739

Parents
  • Hi,

    Have a look at this example, it should work with the softdevice controller out-of-the-box.

  • test_coded_phy_beacon.7z

    it doesn't work with nordic softdevice controller.  gets error every time been called.  any idea what could be wrong or not been supported by the nordic softdevice controller?

    Starting Beacon Demo
    [00:00:00.344,512] <inf> sdc_hci_driver: SoftDevice Controller build revision:
    cf 5c 0f 11 88 9c d7 02  15 27 c7 c3 ca 60 19 85 |.\...... .'...`..
    b7 c4 50 e3                                      |..P.
    [00:00:00.345,947] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
    [00:00:00.345,947] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
    [00:00:00.345,947] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 207.3932 Build 3617359889
    [00:00:00.346,649] <inf> bt_hci_core: Identity: fe:a5:fb:16:ab:62 (random)
    [00:00:00.346,649] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x1123, manufacturer 0x0059
    [00:00:00.346,649] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x1123
    Set Tx power err: -5 reason 0x00
    [00:00:00.447,601] <wrn> bt_hci_core: opcode 0xfc0e status 0x01
    Set Tx power err: -5 reason 0x00
    [00:00:01.651,336] <wrn> bt_hci_core: opcode 0xfc0e status 0x01
    Set Tx power err: -5 reason 0x00

Reply Children
No Data
Related