Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
NFCController::Delegate Struct Reference
The NFCController delegate. More...
#include <NFCController.h>
Public Types | |
enum | nfc_discovery_terminated_reason_t { nfc_discovery_terminated_completed = 0, nfc_discovery_terminated_canceled, nfc_discovery_terminated_rf_error } |
A enumeration of causes for the discovery process terminating. More... | |
Public Member Functions | |
virtual void | on_discovery_terminated (nfc_discovery_terminated_reason_t reason) |
The discovery process terminated. | |
virtual void | on_nfc_initiator_discovered (const SharedPtr< NFCRemoteInitiator > &nfc_initiator) |
A remote initiator was discovered (the local controller is in target mode). | |
virtual void | on_nfc_target_discovered (const SharedPtr< NFCRemoteTarget > &nfc_target) |
A remote target was discovered (the local controller is in initiator mode). |
Detailed Description
The NFCController delegate.
Users of the NFCController class need to implement this delegate's methods to receive events.
Definition at line 59 of file NFCController.h.
Member Enumeration Documentation
A enumeration of causes for the discovery process terminating.
- Enumerator:
Definition at line 63 of file NFCController.h.
Member Function Documentation
virtual void on_discovery_terminated | ( | nfc_discovery_terminated_reason_t | reason ) | [virtual] |
The discovery process terminated.
- Parameters:
-
[in] reason the cause for the termination
Definition at line 73 of file NFCController.h.
virtual void on_nfc_initiator_discovered | ( | const SharedPtr< NFCRemoteInitiator > & | nfc_initiator ) | [virtual] |
A remote initiator was discovered (the local controller is in target mode).
- Parameters:
-
[in] nfc_initiator the NFCRemoteInitiator instance
Definition at line 79 of file NFCController.h.
virtual void on_nfc_target_discovered | ( | const SharedPtr< NFCRemoteTarget > & | nfc_target ) | [virtual] |
A remote target was discovered (the local controller is in initiator mode).
- Parameters:
-
[in] nfc_target the NFCRemoteTarget instance
Definition at line 85 of file NFCController.h.
Generated on Tue Jul 12 2022 13:55:44 by
