18#ifndef MBED_NFC_NDEF_CAPABLE_H
19#define MBED_NFC_NDEF_CAPABLE_H
23#include "platform/Span.h"
25#include "NFCDefinitions.h"
113 virtual Delegate *ndef_capable_delegate();
The base class for all endpoints that can support NDEF content.
ndef_msg_t * ndef_message()
Retrieve underlying NDEF message instance.
void parse_ndef_message(const ac_buffer_t &buffer)
Parse a NDEF message.
NFCNDEFCapable(const Span< uint8_t > &buffer)
Construct a NFCNDEFCapable instance.
virtual bool is_ndef_supported() const
Check if this instance actually supports NDEF content.
void build_ndef_message(ac_buffer_builder_t &buffer_builder)
Build NDEF message.
int nfc_err_t
Type for NFC errors.
Nonowning view to a sequence of contiguous elements.
virtual void parse_ndef_message(const Span< const uint8_t > &buffer)
Parse a NDEF message.
virtual size_t build_ndef_message(const Span< uint8_t > &buffer)
Build a NDEF message.