18#ifndef MBED_NFC_REMOTE_ENDPOINT_H
19#define MBED_NFC_REMOTE_ENDPOINT_H
23#include "NFCDefinitions.h"
This class represents a NFC Controller.
This is the base class for all remote endpoints (initiators and targets) addressable over the air int...
virtual nfc_rf_protocols_bitmask_t rf_protocols()=0
Get the list of RF protocols supported and activated over the air interface.
virtual bool is_disconnected() const =0
Check if the endpoint is disconnected/lost.
virtual nfc_err_t connect()=0
Connect the remote endpoint.
virtual void disconnected()=0
Mark endpoint as disconnected.
NFCRemoteEndpoint(NFCController *controller)
Create a NFCRemoteEndpointinstance.
virtual ~NFCRemoteEndpoint()
Destructor.
virtual nfc_err_t disconnect()=0
Disconnect the remote endpoint.
virtual void connected()=0
Mark endpoint as connected.
NFCController * nfc_controller()
Retrieve NFCController instance.
const NFCController * nfc_controller() const
Retrieve NFCController instance.
virtual bool is_connected() const =0
Check if the endpoint is connected.
int nfc_err_t
Type for NFC errors.
The NFCRemoteEndpoint base delegate.
virtual void on_disconnected()
This method is called when the endpoint is lost (air interface link disconnnected)
virtual void on_connected()
This method is called when the endpoint is connected.