Bluetooth stack only support a single device
- Dominant language
- C
- Stars
- 4k
- Forks
- 1.7k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 237
Description
Right now the Bluetooth stack only supports a single device. This is mostly an by-product of the lower half driver, and does not look too complex to implement.
`bt_buf_s` can be extended to include a pointer to the hardware device handling the frame. Almost all functions that make reference to `g_btdev` are working on a `bt_buf_s`. There is a slight complication around this and the kernel thread that will also need to be addressed.
While most hardware will only have a single bluetooth device, there are benefits here for configurations like the simulation where we can do a full loopback style test where the NuttX stack can connection from one attached device to another.
Contributor guide
Assessment
This issue has not been assessed yet.