Bluetooth example code