Added Apple's BLE example code