beacon = []
in the block below.,
Restart and Run All Cells
when prompted.Beacons are 45 bytes in length.
b'3<\x1a\x00\x1a\x00\x00\xb2\x82\xa0\x00\x00\x00'
b'3<\x1a\x00\x1a\x00\x00\xb2\x82\xa0\x00\x00\x00\x00\x03\x06\x00\x00\x00\x00\x0c\x84\x82}S\x00\n\x00\x0e\x00\x06\xa8\x04\xb3$\x80\x00\x80\x00\x80\x00\x87\x00\x00\x95'
If your data is "hexlified":
HEXLIFIED_DATA = False
to True
in the code block belowb'333a0000'
etc...beacon = []
from gs_parse_standalone import parse_beacon
from binascii import unhexlify
HEXLIFIED_DATA = True
for i in beacon:
if HEXLIFIED_DATA:
i = unhexlify(i)
parse_beacon(i)