18#ifndef MBED_TYPE4_REMOTE_INITIATOR_H
19#define MBED_TYPE4_REMOTE_INITIATOR_H
24#include "NFCNDEFCapable.h"
25#include "NFCRemoteInitiator.h"
32#include "platform/Span.h"
76 void disconnected_callback();
80 bool _is_disconnected;
This class represents a NFC Controller.
This class represents a remote NFC initiator (the local controller being in target mode).
This class is an implementation of the Type 4 tag application.
virtual nfc_err_t disconnect()
Disconnect the remote endpoint.
virtual nfc_tag_type_t nfc_tag_type() const
Retrieve the NFC tag type exposed by the controller to communicate with the initiator.
virtual nfc_rf_protocols_bitmask_t rf_protocols()
Get the list of RF protocols supported and activated over the air interface.
virtual bool is_iso7816_supported() const
Retrieve whether ISO7816 applications are supported by the underlying technology.
virtual nfc_err_t connect()
Connect the remote endpoint.
virtual bool is_ndef_supported() const
Check if this instance actually supports NDEF content.
virtual bool is_disconnected() const
Check if the endpoint is disconnected/lost.
virtual bool is_connected() const
Check if the endpoint is connected.
virtual ~Type4RemoteInitiator()
Type4RemoteInitiator destructor.
virtual void add_iso7816_application(nfc_tech_iso7816_app_t *application)
Register an ISO7816 application to be used by the initiator.
Type4RemoteInitiator(NFCController *controller, const Span< uint8_t > &buffer)
Create a Type4RemoteInitiator.
int nfc_err_t
Type for NFC errors.
Nonowning view to a sequence of contiguous elements.