Bluetooth low energy sample code