An example program to test data transfer throughput. Exhibits long latency (2 sec) between hardware callbacks on write event.
Dependencies: BLE_API mbed nRF51822
Diff: TransferService.h
- Revision:
- 0:ab775bf55fe4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TransferService.h Thu Aug 14 14:13:53 2014 +0000 @@ -0,0 +1,16 @@ +#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 \ No newline at end of file