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

Blue radios compatibility #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MichaelRoop
Copy link

This branch is a sample of how I decoupled the Bluetooth LE from a radio vendor implementation. I created a new sample LEStream called BluetoothLEStream that takes a characteristic Id set interface in the constructor list. It can then be used for various radios.

I have included id sets for BlueRadio and the existing ReadBearLab set from the original LEStream.

Unfortunately, because of my present setup this has only been tested against our dev BlueRadio module with Xamarin IOS64. I do not have a RedBearLab unit to test with. Because of the nature of the changes the rest should work but I wanted to give a heads up.

You could make the constructor default value of null for the characteristic set. In this way, if the user does not supply a set, the constructor could use the the ReadBearLab by default.

Please feel free to use, cannibalise or discard as you see fit. I put in a couple of bug fixes in earlier commits on the branch

Michael Roop

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

Successfully merging this pull request may close these issues.

None yet

1 participant