Open adri1mart1 opened 2 days ago
Quoting the README from the sample app:
This sample application demonstrates the dynamic Tx power control over the LL of the Bluetooth LE controller via Zephyr HCI VS commands.
The "VS" in the opcode definition stands specifically for this, i.e. Vendor Specific, i.e. non-standard. Each vendor (if they support VS extensions), will have a different set of commands available with different opcodes. What's referred to by "Zephyr HCI VS commands" is what's documented here: https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/connectivity/bluetooth/api/hci.txt
Currently these are the only VS commands that Zephyr host stack knows about and supports, and there's no mechanism to support any other VS command set. Feel free to propose solution to allow having vendor-specific host-side support. One challenge is that it's not just the opcodes that will be different, but the general feature set of provided commands and their semantics will be different, since there is no standard specification for what should be there or how it should behave. Another challenge is that these are in no way runtime discoverable, i.e. there would need to be a build time mechanism to say "this controller implements the VS command/event set from vendor X".
Hello Zephyr community
Describe the bug
When compiling the hci_pwr_ctrl samples for the Silicon Labs xg24_dk2601b board, the sample is compiling fine but not working.
I've requested some support from Silabs and they replied to me the HCI command may be wrong. The command that needs to be used is 0x3f/0x14 based on this document --> https://www.silabs.com/documents/public/application-notes/an1328-enabling-rcp-using-bt-hci.pdf (chapter 4.18).
I've quickly tried to update the command to test, changing the default macro from:
to
without any success.
Any hint on modification to bring, explanation on why this is not working would be very welcome.
To Reproduce
Check the log output, eventually check with NRF connect the device RSSI is not changing (at least not that much !)
Expected behavior
BLE power updating up & down like the example behavior
Environment (please complete the following information):