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

ScanBLE on PI3 #15

Open
aleonnet opened this issue Nov 22, 2016 · 0 comments
Open

ScanBLE on PI3 #15

aleonnet opened this issue Nov 22, 2016 · 0 comments

Comments

@aleonnet
Copy link

Hi Mike @mblackstock!
I've tried node-red-contrib-noble... but It scanned only once. I have reinstalled every prerequisite module a dozen times...and no results. Bellow is the flow and information.
Would you help me to get it working pls. Thank you!

PI3----------------------------------------
Welcome to Node-RED

22 Nov 22:51:51 - [info] Node-RED version: v0.15.2
22 Nov 22:51:51 - [info] Node.js version: v4.6.1
22 Nov 22:51:51 - [info] Linux 4.4.21-v7+ arm LE

FLOW----------------------------------------
[{"id":"a399d01b.41029","type":"inject","z":"50d3c869.46ecf8","name":"True","topic":"","payload":"{"scan":true}","payloadType":"json","repeat":"","crontab":"","once":false,"x":90,"y":160,"wires":[["2f4cc55.32d713a"]]},{"id":"2f4cc55.32d713a","type":"scan ble","z":"50d3c869.46ecf8","uuids":"","duplicates":true,"name":"","x":290,"y":160,"wires":[["6d2f506c.9d2e6"]]},{"id":"6d2f506c.9d2e6","type":"debug","z":"50d3c869.46ecf8","name":"","active":true,"console":"false","complete":"true","x":470,"y":160,"wires":[]},{"id":"91719118.70f24","type":"inject","z":"50d3c869.46ecf8","name":"False","topic":"","payload":"{"scan":false}","payloadType":"json","repeat":"","crontab":"","once":false,"x":90,"y":200,"wires":[["2f4cc55.32d713a"]]}]

Start msg----------------------------------------
msg : Object
{ "statusUpdate": true, "error": false, "stateChange": false, "state": "poweredOn", "_msgid": "b88fb666.477048" }

The only time I got a response after a reboot----------------------------------------
{ "payload": { "peripheralUuid": "5353e59b4b2c" }, "peripheralUuid": "5353e59b4b2c", "detectedAt": 1479772282146, "detectedBy": "raspberrypi", "advertisement": { "manufacturerData": { "type": "Buffer", "data": [ 76, 0, 12, 14, 0, 246, 129, 30, 101, 1, 65, 214, 36, 240, 132, 83, 97, 55 ] }, "serviceData": [], "serviceUuids": [], "solicitationServiceUuids": [], "serviceSolicitationUuids": [] }, "rssi": -81, "_msgid": "daabd5a4.255428" }

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