Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
TransferService.h@0:ab775bf55fe4, 2014-08-14 (annotated)
- Committer:
- pvaibhav
- Date:
- Thu Aug 14 14:13:53 2014 +0000
- Revision:
- 0:ab775bf55fe4
Minimal program to demo slow throughput/callback latency
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pvaibhav | 0:ab775bf55fe4 | 1 | #ifndef _H_TRANSFERSERVICE_H |
| pvaibhav | 0:ab775bf55fe4 | 2 | #define _H_TRANSFERSERVICE_H |
| pvaibhav | 0:ab775bf55fe4 | 3 | |
| pvaibhav | 0:ab775bf55fe4 | 4 | #include "BLEDevice.h" |
| pvaibhav | 0:ab775bf55fe4 | 5 | |
| pvaibhav | 0:ab775bf55fe4 | 6 | namespace Transfer |
| pvaibhav | 0:ab775bf55fe4 | 7 | { |
| pvaibhav | 0:ab775bf55fe4 | 8 | |
| pvaibhav | 0:ab775bf55fe4 | 9 | void init(BLEDevice &ble); |
| pvaibhav | 0:ab775bf55fe4 | 10 | void reset(); |
| pvaibhav | 0:ab775bf55fe4 | 11 | void handleDataWritten(uint16_t handle); |
| pvaibhav | 0:ab775bf55fe4 | 12 | const uint8_t* getServiceUUIDp(); |
| pvaibhav | 0:ab775bf55fe4 | 13 | |
| pvaibhav | 0:ab775bf55fe4 | 14 | }; |
| pvaibhav | 0:ab775bf55fe4 | 15 | |
| pvaibhav | 0:ab775bf55fe4 | 16 | #endif//_H_TRANSFERSERVICE_H |