Ejemplo n.º 1
0
def parse():
    data = array.array('B', [0x43, 0x04, 0x00, 0x03, 0x41, 0x05, 0x01, 0x00])
    beacon = Beacon.parse(data)
    print beacon
Ejemplo n.º 2
0
 def _on_beacon(self, data):
     b = Beacon.parse(data)
     self._beacons.put(b)
Ejemplo n.º 3
0
def parse():
    data = array.array('B', [0x43, 0x04, 0x00, 0x03, 0x41, 0x05, 0x01, 0x00])
    beacon = Beacon.parse(data)
    print beacon
Ejemplo n.º 4
0
 def _on_beacon(self, data):
     b = Beacon.parse(data)
     self._beacons.put(b)