Re: Zephyr Low Level BLE Radio question
steven ghekiere <stevenghekiere@...>
Hey Vinayak,
Thanks for the reply!
I had a quick look at the extended advertising links you mentioned.
I assumed the general GAP protocol does similar stuff (as you showed) but doubted that it could just set data on a set channel. I still do not see any parameter where I can set my own frequency… This is the main part that I have been working on for a while now. Does this mean I DO have to use the ll_sw files?
(Wrote this as I was reading through your provided documentation) As I understand, the ‘bt_le_adv_param parameter of the create method’ has a 32 bit options field (0-17 actually used?). In these options we have:
Thanks!
Steven
From: Chettimada, Vinayak
Hi,
If you are building a Bluetooth Low Energy application using Zephyr, then you should use the public APIs, not call internal subsystem functions unless you know what you are doing.
I think you are looking for the below mentioned options when calling bt_le_ext_adv_create (https://docs.zephyrproject.org/latest/reference/bluetooth/gap.html#c.bt_le_ext_adv_create) https://docs.zephyrproject.org/latest/reference/bluetooth/gap.html#c.@... https://docs.zephyrproject.org/latest/reference/bluetooth/gap.html#c.@... https://docs.zephyrproject.org/latest/reference/bluetooth/gap.html#c.@...
These are for the primary advertising channels, auxiliary PDU channels selection is controller implementation specific.
If you are not using Bluetooth Low Energy stack, then you should refer to nRF52840 product specification for implementing your proprietary radio protocol.
>The low-level bluetooth controller is tragic. I’m sure it’s incredibly useful, but the use of nicknames and acronyms at every corner are not useful. Perhaps if there were comments that could help too
Contributions to improve the code, comments and add new features are always welcome.
Regards, Vinayak
From: users@... <users@...>
On Behalf Of steven ghekiere via lists.zephyrproject.org
Hey Marciano,
Thanks for the quick reply! I’d have to agree on the acronyms and such.
What do you mean that ‘somebody can help us’?
Thanks
Steven
From: Marciano Preciado
Hey Steven!
I’d have to agree! The low-level bluetooth controller is tragic. I’m sure it’s incredibly useful, but the use of nicknames and acronyms at every corner are not useful. Perhaps if there were comments that could help too, but there aren’t. 😭
I hope somebody can help us out.
Best, Marciano Preciado
|
|