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

BLE and Serial in same project? #15

Open
AshMartian opened this issue Mar 8, 2018 · 6 comments
Open

BLE and Serial in same project? #15

AshMartian opened this issue Mar 8, 2018 · 6 comments

Comments

@AshMartian
Copy link

I was wondering if it were possible to use this library to use both BLE and Bluetooth Serial at the same time (at least for scanning)?
My application needs to connect to Bluetooth LE, Serial and Wifi devices, 1 active connection, but needs support for all three methods of connection. From my initial research into this library it doesn't seem possible. Am I wrong? Can both libraries be used in the same project?

@douglasjunior
Copy link
Owner

douglasjunior commented Mar 8, 2018

You are right, today is not possible. But I guess that it is possible with a small change.

I will look at this in next weekend, ok?

@AshMartian
Copy link
Author

Wonderful, thank you. Let me know if there’s anything I can test or do to help.

@mingdee
Copy link

mingdee commented Sep 28, 2018

I am having the same requirement - BLE and Classic scanning at the same time but just need to connect either LE or classic. Is the current library support this now?

@jjrodcast
Copy link

@mingdee I think you have to give priority to one of them if the devices doesn't support one use the other option.

@DaBs
Copy link

DaBs commented Dec 7, 2018

The problem becomes when you want to write actual payloads with BLE, seeing as characteristics are NOT made to tolerate byte streams.

@rizwan321
Copy link

Hi guys. i have some requirements which needs both Bluetooth medium Bluetooth Serial and BLE as well.

like

i have to get battery level => BLE
i have to update firmware => Classic bluetooth

i am very beginner in bluetooth my first question is can we connect to bluetooth in the same time ?

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

No branches or pull requests

6 participants