Python Bluetooth Communication Protocol