robotastic / ble-ancs

A NodeJS library for Apple Notification Center Service over BLE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Connect

startraider opened this issue · comments

Hello,

Im trying to connect with the Raspberry Pi 2 with bluetooth dongle. I'm shutting down bluetooth with sudo service bluetooth stop
And starting the example test.js app with node. If i'm trying to connect with my smartphone, i'm getting a timeout error and my raspi only showing up logs to this point:

on -> stateChange: poweredOn
on -> advertisingStart: success
Bleno: Handle: 69 UUID: 63814bf461cf address 63:81:4b:f4:61:cf
on -> accept:
Recieved a Pairing Request

Do you have any suggestions? Thanks a lot....

@startraider Have you paired your device before run the test?