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.
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 60 of file NFCController.h.
Member Enumeration Documentation
A enumeration of causes for the discovery process terminating.
- Enumerator:
Definition at line 64 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 74 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 80 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 86 of file NFCController.h.
Generated on Tue Aug 9 2022 00:37:39 by
1.7.2