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: TransferService.h
- Revision:
- 4:29ae814ca55e
- Parent:
- 3:d58f3a5bd66c
--- a/TransferService.h Tue Sep 02 16:30:18 2014 +0000 +++ b/TransferService.h Wed Nov 05 14:35:52 2014 +0000 @@ -7,7 +7,7 @@ namespace Transfer { void init(BLEDevice &ble); void reset(); - void handleDataWritten(uint16_t handle, const GattCharacteristicWriteCBParams *params); + void handleDataWritten(const GattCharacteristicWriteCBParams *params); const uint8_t* getServiceUUIDp(); }