piBeacon: 9- BLUEZ packet structure

Posted on
Sat Jan 23, 2016 2:27 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

piBeacon: 9- BLUEZ packet structure

If you want to program yourself here the packet structure that gets returned form the call: pkt = sock.recv(255) using BLUEZ in python to scan for iBeacons

Code: Select all
byte:          name, meaning
0-3            header
4-6            01 03 01  always the same
7-12           MAC #  in reverse eg  0E:55:44:ED:FF
13             number of bytes following: normally =30 
               (Jaalee=31: +1for Batt level  between Major,Minor and TX;  Tile(**)= 7: don't understand structure yet, NOT standard)
14 .. last-1:  see [url]http://beekn.net/2015/02/tutorial-using-beacon-ibeacon-technologies-iphone-ipad/[/url] (*)
lastByte       RSSI value, that is not part of the received package, but calculated signal strength received

Karl

(**)Tile: data always looks like for my 4 tiles in(hex numbers XX:YY...)
02:01:06:03:03:ED + TX + last byte= RSSI


(*)
Screen Shot 2016-01-23 at 2.19.15 PM.png
Screen Shot 2016-01-23 at 2.19.15 PM.png (37.65 KiB) Viewed 3006 times

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests