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

Regarding Pre-Pairing #20

Closed
AadithyaVenkat opened this issue Aug 6, 2018 · 9 comments
Closed

Regarding Pre-Pairing #20

AadithyaVenkat opened this issue Aug 6, 2018 · 9 comments

Comments

@AadithyaVenkat
Copy link

Does this application allow pre-pairing or are there other applications that Microsoft allows pre-pairing and auto connecting of BLE devices

@AlainMichaud
Copy link

Hi!
Can you clarify what you mean by "pre-pairing" in this case? Are you referring to the ability to pair/bond a device that is not currently available/connectable? If that is the case, the answer is no.

However, you can connect to a device without pairing/bonding.

Thanks!

@AadithyaVenkat
Copy link
Author

What I mean by pre-pairing is that, once the device is visible and it has a certain vendor's name, the application should be able to initiate connection without the user having to navigate through menus and do pairing.

@AlainMichaud
Copy link

Thanks for the clarification. So in essence, you'd like the ability to add a watcher that is watching to a particular address or device name that's continuously scanning?

@AadithyaVenkat
Copy link
Author

So I would have 100s of devices, which are made by a specific vendor(Say JBL headphones) and I would like to connect to them and receive data as and when I am within the range of those devices and once they have some data to send.

@AlainMichaud
Copy link

Got it. The Apis this app is using/demonstrating certainly would allow you to build such an app. You can create an Advertisement watcher with the filtering parameters you need (filtering attribute and RSSI range), then perform the actions you need such as reading/writing or subscribing to a characteristic notification/indication.

@AadithyaVenkat
Copy link
Author

Ok I did manage to filter the devices using the name these devices have. Assuming each of them would have a common substring, but I have not been able to connect automatically without including the click of the glyph() method.

@AlainMichaud
Copy link

Perhaps if you share the code of what you've attempted @drache42 can help further.

@AadithyaVenkat
Copy link
Author

Do I load it in my github and share it ?

@drache42
Copy link
Contributor

drache42 commented Aug 8, 2018

If you could load on GitHub that would make life easy. I can then take a look.

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

3 participants