Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions
NFCEEPROM::Delegate Struct Reference

The NFCEEPROM delegate. More...

#include <NFCEEPROM.h>

Inheritance diagram for NFCEEPROM::Delegate:
NFCTarget::Delegate NFCNDEFCapable::Delegate

Public Member Functions

virtual void on_ndef_message_erased (nfc_err_t result)
 The NDEF message erasing request completed. More...
 
virtual void on_ndef_message_written (nfc_err_t result)
 The NDEF message writing request completed. More...
 
virtual void on_ndef_message_read (nfc_err_t result)
 The NDEF message reading request completed. More...
 
virtual void parse_ndef_message (const Span< const uint8_t > &buffer)
 Parse a NDEF message. More...
 
virtual size_t build_ndef_message (const Span< uint8_t > &buffer)
 Build a NDEF message. More...
 

Detailed Description

The NFCEEPROM delegate.

Users of the NFCEEPROM class need to implement this delegate's methods to receive events.

Definition at line 59 of file NFCEEPROM.h.

Member Function Documentation

virtual size_t build_ndef_message ( const Span< uint8_t > &  buffer)
virtualinherited

Build a NDEF message.

Parameters
[in]buffera mutable buffer in which the message should be stored
Returns
the number of bytes actually used

Reimplemented in NFCProcessController.

Definition at line 75 of file NFCNDEFCapable.h.

virtual void on_ndef_message_erased ( nfc_err_t  result)
virtual

The NDEF message erasing request completed.

Parameters
[in]resultNFC_OK or an error code on failure

Reimplemented from NFCTarget::Delegate.

Definition at line 65 of file NFCEEPROM.h.

virtual void on_ndef_message_read ( nfc_err_t  result)
virtual

The NDEF message reading request completed.

Parameters
[in]resultNFC_OK or an error code on failure

Reimplemented from NFCTarget::Delegate.

Definition at line 79 of file NFCEEPROM.h.

virtual void on_ndef_message_written ( nfc_err_t  result)
virtual

The NDEF message writing request completed.

Parameters
[in]resultNFC_OK or an error code on failure

Reimplemented from NFCTarget::Delegate.

Definition at line 72 of file NFCEEPROM.h.

virtual void parse_ndef_message ( const Span< const uint8_t > &  buffer)
virtualinherited

Parse a NDEF message.

Parameters
[in]buffera buffer containing the message to parse

Reimplemented in NFCProcessController.

Definition at line 66 of file NFCNDEFCapable.h.

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.