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