The base class for all endpoints that can support NDEF content.
More...
#include <NFCNDEFCapable.h>
The base class for all endpoints that can support NDEF content.
Definition at line 43 of file NFCNDEFCapable.h.
◆ NFCNDEFCapable()
Construct a NFCNDEFCapable instance.
- Parameters
-
[in] | buffer | a bytes array used to store NDEF messages |
◆ is_ndef_supported()
virtual bool is_ndef_supported |
( |
| ) |
const |
|
virtual |
◆ parse_ndef_message()
Parse a NDEF message.
- Parameters
-
[in] | buffer | a buffer containing a NDEF message |
◆ build_ndef_message()
Build NDEF message.
- Parameters
-
[in,out] | buffer_builder | a buffer builder in which to create the NDEF message. The backing buffer is guaranteed to be continuous. |
◆ ndef_message()
Retrieve underlying NDEF message instance.
- Returns
- pointer to NDEF message instance