Wrapper class handles calls and callbacks for NFC controller drivers. More...
#include <NFCProcessCtrl.h>
Public Member Functions | |
void | cmd_get_max_ndef () |
For an EEPROM, this queries and responds with the flash size, For a Controller, responds with the config macro TEST_NDEF_MSG_MAX. More... | |
virtual void | parse_ndef_message (const mbed::Span< const uint8_t > &buffer) |
Parse a NDEF message. More... | |
virtual size_t | build_ndef_message (const mbed::Span< uint8_t > &buffer) |
Build a NDEF message. More... | |
Private Types |
Private Member Functions | |
virtual void | on_nfc_target_discovered (const SharedPtr< NFCRemoteTarget > &nfc_target) |
A remote target was discovered (the local controller is in initiator mode). More... | |
Wrapper class handles calls and callbacks for NFC controller drivers.
Note, that users must call "start" in order to start the discovery loop for controllers. An internal buffer stores the NFC message and records.
Definition at line 45 of file NFCProcessCtrl.h.
|
virtual |
Build a NDEF message.
[in] | buffer | a mutable buffer in which the message should be stored |
Reimplemented from NFCNDEFCapable::Delegate.
|
virtual |
For an EEPROM, this queries and responds with the flash size, For a Controller, responds with the config macro TEST_NDEF_MSG_MAX.
Implements NFCTestShim.
|
virtual |
Parse a NDEF message.
[in] | buffer | a buffer containing the message to parse |
Reimplemented from NFCNDEFCapable::Delegate.