def printpacket(pkt):
    for c in pkt:
        sys.stdout.write("%02x " % struct.unpack("B",c)[0])
    print
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/pybluez/examples/advanced/inquiry-with-rssi.py/printpacket/original