Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 19528

Re: Turning Edison into an iBeacon ...

$
0
0

root@fablab:~# npm install bleno

npm http GET https://registry.npmjs.org/bleno

npm http 200 https://registry.npmjs.org/bleno

npm http GET https://registry.npmjs.org/bleno/-/bleno-0.1.8.tgz

npm http 200 https://registry.npmjs.org/bleno/-/bleno-0.1.8.tgz

npm http GET https://registry.npmjs.org/debug

npm http 304 https://registry.npmjs.org/debug

 

 

> bleno@0.1.8 install /home/root/node_modules/bleno

> node install.js

 

 

bleno install: platform is "linux'

bleno install: running node-gyp ...

make: Entering directory '/home/root/node_modules/bleno/build'

  CC(target) Release/obj.target/hci-ble/src/hci-ble.o

  LINK(target) Release/hci-ble

  LINK(target) Release/hci-ble: Finished

  CC(target) Release/obj.target/l2cap-ble/src/l2cap-ble.o

  LINK(target) Release/l2cap-ble

  LINK(target) Release/l2cap-ble: Finished

make: Leaving directory '/home/root/node_modules/bleno/build'

bleno install: done

bleno@0.1.8 node_modules/bleno

└── debug@0.7.4

 

root@fablab:~/node_modules/bleno# node test-ibeacon.js

bleno - iBeacon

on -> stateChange: poweredOn

on -> advertisingStart

 

ok Beacon is running like before with the command line tool - but CAN NOT connect to the services … ?? needs further exploration,

I can see the advertisement data and it is showing as "connectable = 1" ??


Viewing all articles
Browse latest Browse all 19528

Latest Images

Trending Articles



Latest Images