jbeuckm / TiBeacons

iBeacon advertising and scanning in a Titanium module
Other
135 stars 57 forks source link

Event never received #50

Open AppWerft opened 7 years ago

AppWerft commented 7 years ago

Hi, on my raspi I send:

pi@raspberrypi:~/bluez/bluez-5.18 $ sudo tools/hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 63 6F 3F 8F 64 91 4B EE 95 F7 D8 CC 64 A8 63 B5 00 00 00 01 C8
< HCI Command: ogf 0x08, ocf 0x0008, plen 31
  1E 02 01 1A 1A FF 4C 00 02 15 63 6F 3F 8F 64 91 4B EE 95 F7 
  D8 CC 64 A8 63 B5 00 00 00 01 C8 
> HCI Event: 0x0e plen 4
  01 08 20 12 

The tools/hciconfig reports me success. On ios console I see:

Nov 11 14:18:49 allh-akbr iBeaconTest[314] <Notice>: [INFO] Turning on region monitoring in CLBeaconRegion (identifier:'TestReg1', uuid:636F3F8F-6491-4BEE-95F7-D8CC64A863B5, major:(null), minor:(null))

But never I see an event. Whats going wrong? Here the JS-code: https://gist.github.com/AppWerft/141c5b7cf8930b4baa2bcd36feb4d4db