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

Confusing docs on pair vs connect #42

Open
ChocolateLoverRaj opened this issue Sep 3, 2022 · 0 comments
Open

Confusing docs on pair vs connect #42

ChocolateLoverRaj opened this issue Sep 3, 2022 · 0 comments

Comments

@ChocolateLoverRaj
Copy link

I'm not sure what the difference between pair and connect is. Will pair pair the device without connecting? Will connect internally call pair first if not already paired?

Docs on pair:

node-ble/docs/api.md

Lines 277 to 278 in eb20e9c

### device.pair()
This method will connect to the remote device

Doc on connect:

node-ble/docs/api.md

Lines 289 to 290 in eb20e9c

### device.connect()
Connect to remote device

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

1 participant