New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silabs multiprotocol BT HCI support #3572
base: master
Are you sure you want to change the base?
Silabs multiprotocol BT HCI support #3572
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
If someone would like to run this as a separate addon, I can make one which only runs cpcd and |
This PR essentially does two things: Bump to Gecko SDK v4.4.2 and enables the BT HCI support. Currently we avoid pouring more effort into the Multiprotocol effort as it didn't prove stable for a lot of people. Adding another variable (Bluetooth) certainly won't help here 🙈 |
Yeah, technically this could work with the older version of the Gecko SDK (4.3.x) but v4.4.2 proved to be a lot more stable for me (the uptime is now an order of magnitude better than it was used to, currently the add-on has been running for 5 days). BT HCI support is actually not very useful as EFRMG21 and MG1 chips only have one radio, and enabling BT will cause an extremely spotty and laggy zigbee connection, however if someone has spare coordinators available they could potentially use it as a makeshift BT dongle. If there's no intention to pour more effort into the Multiprotocol addon, perhaps I could help maintaining it as for some weird reason I find it an interesting piece of work :D |
Silicon Labs has an example firmware that supports Multiprotocol (OpenThread+Zigbee+BLE) RCP. This PR adds the
bt_host_cpc_hci_bridge
app as per theAN1333: Running Zigbee, OpenThread, and Bluetooth Concurrently on a Linux Host with a Multiprotocol Co-processor
application note to expose a HCI PTY device.If the support is enabled and the correct firmware is uploaded to the coordinator stick, the following output should appear in the addon logs:
The created PTY device can then be used by the host (I used the Advanced SSH & Web Terminal addon) by executing
hciattach /dev/pts/2 any 115200
. Home Assistant should automatically then recognise the bluetooth adapter.