ibeacon - Send eddystone uid frame with hcitool -


i want send eddystone uid frames ibeacons frames , if understand correctly can both hcitool. able send frame using ibeacon debian , displays how send eddystone standard. there conversion chart convert tx power ibeacon (distance 1m) or eddystone(in 0m) other standard?

hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 60 d0 f5 a7 10 96 e0 12 34 00 01 66 00 

do understand correctly catching frame in ios or android different each standard?

try using transmit eddystone-uid:

 hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 06 03 03 aa fe 15 16 aa fe 00 e7 00 01 02 03 04 05 06 07 08 09 01 02 03 04 05 06 

caveat emptor: have not tested above. let me know if works!

if goes well, above send:

  • a 10-byte namespace identifier of 00010203040506070809
  • a 6-byte instance identifier of 010203040506
  • a 0 meter tx power level of e7 (-25 dbm).

to convert 0 meter tx power level eddystone (e.g. -25 dbm) 1 meter tx poser level ibeacon , altbeacon, subtract 41 dbm. -25 dbm @ 0 meters becomes -66 dbm.

on ios, must use corelocation apis detect ibeacon , corebluetooth detect eddystone (possibly higher level api google's proximity api or altbeacon beacon tools). on android there several tools let detect both frame types. i'll put in shameless plug own android beacon library.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -