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.

Revision:
4:29ae814ca55e
Parent:
3:d58f3a5bd66c
Child:
5:90b73268e270
--- a/main.cpp	Tue Sep 02 16:30:18 2014 +0000
+++ b/main.cpp	Wed Nov 05 14:35:52 2014 +0000
@@ -59,10 +59,10 @@
     DEBUG("Notifications enabled for %d\r\n", handle);
 }
 
-void onDataWritten(Gap::Handle_t handle, const GattCharacteristicWriteCBParams *params)
+void onDataWritten(const GattCharacteristicWriteCBParams *params)
 {
     // bubble up to services, they will emit callbacks if handle matches
-    Transfer::handleDataWritten(handle, params);
+    Transfer::handleDataWritten(params);
 }
 
 void bluetoothInit()