EEP fORK
Dependencies: BLE_API mbed nRF51822
Fork of MCS_LRF by
Diff: bleHelper.h
- Revision:
- 9:afd6bd6e88bd
- Parent:
- 7:8a23a257b66a
diff -r ed66e7ef8243 -r afd6bd6e88bd bleHelper.h --- a/bleHelper.h Thu Dec 17 01:04:59 2015 +0000 +++ b/bleHelper.h Thu Dec 17 01:12:17 2015 +0000 @@ -9,16 +9,15 @@ #include "UARTService.h" - +/* helper class to break larger than 20 byte limit of a BLE payload to smaller multiple + packets and send over the BLE connection */ class BLEHelper { public: // constructor BLEHelper(BLEDevice* ble, UARTService* UuartServicePtr); - void sendPacketOverBLE(uint16_t cmd, uint8_t data[], uint16_t len); - private: typedef enum { PS_FIRST_AND_ONLY = 0b0000000000000000,