Mistake on this page?
Report an issue in GitHub or email us

MessageParser

The MessageParser class is an event-driven NDEF message parser. This class parses a buffer of data in input and produces parsing events. It then forwards these parsing events to its delegate.

MessageParser class reference

Data Structures
struct  Delegate
 Report parsing event to the application. More...
Public Types
Public Member Functions
 MessageParser ()
 Construct a message parser. More...
void set_delegate (Delegate *delegate)
 Set the handler that processes parsing events. More...
void parse (const Span< const uint8_t > &data_buffer)
 Parse an NDEF Message. More...

MessageParser example

void set_delegate(Delegate *delegate);
void parse(const Span<const uint8_t> &data_buffer);
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.