Definition at line 55 of file NFCTarget.h.
◆ on_ndef_message_erased()
virtual void on_ndef_message_erased |
( |
nfc_err_t |
result | ) |
|
|
virtual |
The NDEF message erasing request completed.
- Parameters
-
[in] | result | NFC_OK or an error code on failure |
Reimplemented in NFCEEPROM::Delegate.
Definition at line 61 of file NFCTarget.h.
◆ on_ndef_message_written()
virtual void on_ndef_message_written |
( |
nfc_err_t |
result | ) |
|
|
virtual |
The NDEF message writing request completed.
- Parameters
-
[in] | result | NFC_OK or an error code on failure |
Reimplemented in NFCEEPROM::Delegate.
Definition at line 68 of file NFCTarget.h.
◆ on_ndef_message_read()
virtual void on_ndef_message_read |
( |
nfc_err_t |
result | ) |
|
|
virtual |
The NDEF message reading request completed.
- Parameters
-
[in] | result | NFC_OK or an error code on failure |
Reimplemented in NFCEEPROM::Delegate.
Definition at line 75 of file NFCTarget.h.
◆ parse_ndef_message()
virtual void parse_ndef_message |
( |
const Span< const uint8_t > & |
buffer | ) |
|
|
virtualinherited |
Parse a NDEF message.
- Parameters
-
[in] | buffer | a buffer containing the message to parse |
Definition at line 67 of file NFCNDEFCapable.h.
◆ build_ndef_message()
virtual size_t build_ndef_message |
( |
const Span< uint8_t > & |
buffer | ) |
|
|
virtualinherited |
Build a NDEF message.
- Parameters
-
[in] | buffer | a mutable buffer in which the message should be stored |
- Returns
- the number of bytes actually used
Definition at line 76 of file NFCNDEFCapable.h.