Skip to content
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

Matter and bluetooth simultaneously #7

Open
OABsoftware opened this issue Feb 4, 2024 · 2 comments
Open

Matter and bluetooth simultaneously #7

OABsoftware opened this issue Feb 4, 2024 · 2 comments
Assignees

Comments

@OABsoftware
Copy link

I bought a Sparkfun Thing Plus Matter. And I love it!
One thing I'd like to use it for is to make a device, that has a bluetooth interface, Matter compatible. In this scenario the Thing would expose the Matter interface to Homekit and simultaneously it would communicate with de device I mentioned over bluetooth (BLE).
I'm using the Arduino IDE to develop this "man in the middle" scenario.

But this doesn't seem to be feasible. It looks like the Thing either supports Matter over Thread or it supports Bluetooth.

Is that correct? And, if so, why is that?

@silabs-bozont silabs-bozont self-assigned this Feb 5, 2024
@silabs-bozont
Copy link
Collaborator

Hello OABsoftware,
Happy that you're enjoying your board! :) I took a look at the current implementation and it looks like that BLEManagerImpl takes ownership of the Bluetooth event loop - this means that with the current implementation it's not possible to run a custom BLE app besides Matter.
If you're using Simplicity Studio then it's different, you can generate an additional BLE event handler hook for your custom apps and share the stack that way. It would involve creating a custom component which registers a BLE event handler.
I think this feature is something that could be possibly added to the Arduino Core - I'll add this to our list of things to do and see if we can come up with something in the future.

@OABsoftware
Copy link
Author

I’ve tried Simplicity Studio and looked at both Matter and Bluetooth examples. But this has a pretty steep llearning curve. A bit too steep for me…
It would be great if simultaneous use of Matter and Bluetooth could be made available through the Arduino IDE!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants