Arduino sketches for BLE hardware