HW layer for the Nucleo board, it only work with old BLE_API
Dependents: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
Diff: utils/inc/Payload.h
- Revision:
- 60:b0b2d639c0f5
- Parent:
- 58:027c65a54097
diff -r 68e45913b2c4 -r b0b2d639c0f5 utils/inc/Payload.h --- a/utils/inc/Payload.h Fri Oct 17 08:30:47 2014 +0000 +++ b/utils/inc/Payload.h Fri Oct 17 08:48:48 2014 +0000 @@ -65,12 +65,12 @@ public: Payload(const uint8_t *tokenString, uint8_t string_ength); - Payload::Payload(); - uint8_t Payload::getPayloadUnitCount(); + Payload(); + uint8_t getPayloadUnitCount(); - uint8_t Payload::getIDAtIndex(int index); - uint8_t Payload::getLengthAtIndex(int index); - uint8_t* Payload::getDataAtIndex(int index); + uint8_t getIDAtIndex(int index); + uint8_t getLengthAtIndex(int index); + uint8_t* getDataAtIndex(int index); int8_t getInt8AtIndex(int index); uint16_t getUint16AtIndex(int index); uint8_t* getSerializedAdDataAtIndex(int index); @@ -145,7 +145,7 @@ PayloadUnit *unit; int payloadUnitCount; public: - PayloadPtr::PayloadPtr(const uint8_t *tokenString, uint8_t string_ength) { + PayloadPtr(const uint8_t *tokenString, uint8_t string_ength) { // initialize private data members int stringLength = string_ength; payloadUnitCount = 0;