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:
- 0:4eaf82806f06
- Child:
- 3:d58f3a5bd66c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TransferService.h Mon Aug 18 16:03:22 2014 +0000 @@ -0,0 +1,13 @@ +#ifndef _H_TRANSFERSERVICE_H +#define _H_TRANSFERSERVICE_H + +#include "BLEDevice.h" + +namespace Transfer { + void init(BLEDevice &ble); + void reset(); + void handleDataWritten(uint16_t handle); + const uint8_t* getServiceUUIDp(); +} + +#endif //_H_TRANSFERSERVICE_H