This is the base class for all remote endpoints (initiators and targets) addressable over the air interface. More...
#include <NFCRemoteEndpoint.h>
Data Structures | |
struct | Delegate |
The NFCRemoteEndpoint base delegate. More... | |
Public Member Functions | |
NFCRemoteEndpoint (NFCController *controller) | |
Create a NFCRemoteEndpointinstance. More... | |
virtual | ~NFCRemoteEndpoint () |
Destructor. More... | |
virtual nfc_err_t | connect ()=0 |
Connect the remote endpoint. More... | |
virtual nfc_err_t | disconnect ()=0 |
Disconnect the remote endpoint. More... | |
virtual bool | is_connected () const =0 |
Check if the endpoint is connected. More... | |
virtual bool | is_disconnected () const =0 |
Check if the endpoint is disconnected/lost. More... | |
virtual nfc_rf_protocols_bitmask_t | rf_protocols ()=0 |
Get the list of RF protocols supported and activated over the air interface. More... | |
Protected Member Functions | |
virtual void | connected ()=0 |
Mark endpoint as connected. More... | |
virtual void | disconnected ()=0 |
Mark endpoint as disconnected. More... | |
NFCController * | nfc_controller () |
Retrieve NFCController instance. More... | |
const NFCController * | nfc_controller () const |
Retrieve NFCController instance. More... | |
This is the base class for all remote endpoints (initiators and targets) addressable over the air interface.
Definition at line 39 of file NFCRemoteEndpoint.h.
NFCRemoteEndpoint | ( | NFCController * | controller | ) |
Create a NFCRemoteEndpointinstance.
[in] | controller | the NFCController instance that detected this endpoint |
|
virtual |
Destructor.
|
pure virtual |
|
protectedpure virtual |
Mark endpoint as connected.
Implemented in NFCRemoteInitiator.
|
pure virtual |
|
protectedpure virtual |
Mark endpoint as disconnected.
Implemented in NFCRemoteInitiator.
|
pure virtual |
Check if the endpoint is connected.
Implemented in Type4RemoteInitiator.
|
pure virtual |
Check if the endpoint is disconnected/lost.
Implemented in Type4RemoteInitiator.
|
protected |
Retrieve NFCController instance.
|
protected |
Retrieve NFCController instance.
|
pure virtual |
Get the list of RF protocols supported and activated over the air interface.
Implemented in Type4RemoteInitiator.