Skip to content

Confusing docs on pair vs connect #42

Description

@ChocolateLoverRaj

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions