BluetoothSampleCode by vogella.blogspot.com