Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Blue radios compatibility#22

Open
MichaelRoop wants to merge 3 commits intoxamarin:masterfrom
Masitek:BlueRadiosCompatibility
Open

Blue radios compatibility#22
MichaelRoop wants to merge 3 commits intoxamarin:masterfrom
Masitek:BlueRadiosCompatibility

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant