Parse and iterate over advertising data. More...
#include <AdvertisingDataParser.h>
| Data Structures | |
| struct | element_t | 
| Representation of an Advertising Data element.  More... | |
| Public Member Functions | |
| AdvertisingDataParser (mbed::Span< const uint8_t > data) | |
| Build a parser from an array of bytes.  More... | |
| bool | hasNext () const | 
| Return if there is advertising data element left to parse.  More... | |
| element_t | next () | 
| Return the next advertising data element.  More... | |
| void | reset () | 
| Reset the parser.  More... | |
Parse and iterate over advertising data.
Definition at line 39 of file AdvertisingDataParser.h.
| AdvertisingDataParser | ( | mbed::Span< const uint8_t > | data | ) | 
Build a parser from an array of bytes.
| data | The data to parse. | 
Definition at line 62 of file AdvertisingDataParser.h.
| bool hasNext | ( | ) | const | 
Return if there is advertising data element left to parse.
Definition at line 71 of file AdvertisingDataParser.h.
| element_t next | ( | ) | 
Return the next advertising data element.
Definition at line 95 of file AdvertisingDataParser.h.
| void reset | ( | ) | 
Reset the parser.
Definition at line 109 of file AdvertisingDataParser.h.