Caching the advertising data and the scan response.
Fork of MaximBLE by
Diff: MaximGap.h
- Revision:
- 1:4e764337d5c5
- Parent:
- 0:b562096246b3
--- a/MaximGap.h Thu Mar 03 14:13:21 2016 +0000 +++ b/MaximGap.h Tue Mar 22 18:16:10 2016 +0000 @@ -102,6 +102,11 @@ MaximGap(MaximGap const &); void operator=(MaximGap const &); + + uint8_t advDataCache[HCI_LEN_LE_SET_ADV_DATA]; + uint8_t scanResponseCache[HCI_LEN_LE_SET_SCAN_RESP_DATA]; + int advDataLen; + int scanResponseLen; }; #endif /* _MAXIM_GAP_H_ */