Download a stream of data to a peripheral over BLE.
Dependencies: BLE_API mbed nRF51822
A simple demonstration of downloading a stream onto a peripheral over BLE. There's a corresponding Python script to driver the client.
Diff: main.cpp
- Revision:
- 1:d623a5792ce5
- Parent:
- 0:4eaf82806f06
- Child:
- 3:d58f3a5bd66c
--- a/main.cpp Mon Aug 18 16:03:22 2014 +0000 +++ b/main.cpp Thu Aug 21 14:09:18 2014 +0000 @@ -47,7 +47,6 @@ connectionParams.connectionSupervisionTimeout = Config::supervisionTimeout; if (ble.updateConnectionParams(handle, &connectionParams) != BLE_ERROR_NONE) { DEBUG("failed to update connection paramter\r\n"); - } else { } Transfer::reset();