-
Notifications
You must be signed in to change notification settings - Fork 90
Connection Issue #69
Comments
Hi @DarrenGuinness what is your output from Also, are you able to run |
advertisement-discovery output: node ./advertisement-discovery.js peripheral discovered (ffc7d9af5def with address <ff:c7:d9:af:5d:ef, random>, connectable true, RSSI -67: peripheral discovered (1c1ac09ee2c5 with address <1c:1a:c0:9e:e2:c5, public>, connectable true, RSSI -74: --------------------------End of output---------------------------- I am able to run the peripheral-explorer script using the Ollie id. The output is as follows: node ./peripheral-explorer.js ed9a8071f1fd services and characteristics: |
Hi @DarrenGuinness I see that no services/characteristics were found for that ID, similar to the problem here #49 except you are on Windows. Hmm. Which Bluetooth LE adaptor are you using? |
Hello @DarrenGuinness I saw this issue on Noble noble/noble#372 perhaps you can try downgrading bluetooth-hci-socket to v0.4.2 as suggested there? |
Hi @deadprogram I am suffering exactly the same issue on Raspberry Pi (with Raspbian Jessi). I downgraded bluetooth-hci-socket to v0.4.2 but it continues failing with same error. |
I ended up switching to ubuntu 14.04. After that the setup and install was a cinch. |
Hi sudo node peripheral-explorer.js "e3b3fe9c5254" services and characteristics: |
I am working to get the Ollie up and running on a windows 10 machine. I have installed node, node-gyp, noble, sphero noble, and their dependencies. I can successfully find Bluetooth connections via ./advertisement-discovery.js, and can connect to peripherals using ./peripheral-explorer.js, however when I run the basic connection example with the Ollie's address, I get the following output:
C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:404
return this._connectedService(serviceId).characteristics;
^
TypeError: Cannot read property 'characteristics' of null
at Adaptor._connectedCharacteristics (C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:404:43)
at Adaptor._connectCharacteristic (C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:357:12)
at C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:302:12
at Adaptor._connectService (C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:338:5)
at C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:300:10
at Adaptor._connectBLE (C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:324:5)
at Adaptor.getCharacteristic (C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:299:8)
at Adaptor.writeServiceCharacteristic (C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:274:8)
at Adaptor.setTXPower (C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:203:8)
at C:\Users\IronLab\Desktop\test\node_modules\sphero\lib\adaptors\ble.js:156:10
Am I missing an extra dependency?
The text was updated successfully, but these errors were encountered: