Working Bluetooth communication code for the AVR works with Android