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.
Dependencies: ST_INTERFACES
Fork of M24SR by
M24SR::Callbacks Class Reference
Object that contains all the callbacks fired by this class, each command has its own callback. More...
#include <M24SR.h>
Inherited by M24SR::ChangeAccessStateCallback, M24SR::ChangePasswordRequestStatusCallback, M24SR::ManageGPOCallback, M24SR::ReadIDCallback, M24SR::RemoveAllPasswordCallback, NDefNfcTagM24SR::CloseSessionCallBack, NDefNfcTagM24SR::OpenSessionCallBack, NDefNfcTagM24SR::ReadByteCallback, and NDefNfcTagM24SR::WriteByteCallback.
Public Member Functions | |
| virtual void | on_session_open (M24SR *nfc, StatusTypeDef status) |
| called when GetSession or ForceGetSession completes | |
| virtual void | on_deselect (M24SR *nfc, StatusTypeDef status) |
| called when Deselect completes | |
| virtual void | on_selected_application (M24SR *nfc, StatusTypeDef status) |
| called when SelectedApplication completes | |
| virtual void | on_selected_CC_file (M24SR *nfc, StatusTypeDef status) |
| called when SelectedCCFile completes | |
| virtual void | on_selected_NDEF_file (M24SR *nfc, StatusTypeDef status) |
| called when SelectedNDEFFile completes | |
| virtual void | on_selected_system_file (M24SR *nfc, StatusTypeDef status) |
| called when SelectedSystemFile completes | |
| virtual void | on_read_byte (M24SR *nfc, StatusTypeDef status, uint16_t offset, uint8_t *readByte, uint16_t nReadByte) |
| called when read_binary or STReadBinary completes | |
| virtual void | on_updated_binary (M24SR *nfc, StatusTypeDef status, uint16_t offset, uint8_t *writeByte, uint16_t nWriteByte) |
| called when UpdatedBinary completes | |
| virtual void | on_verified (M24SR *nfc, StatusTypeDef status, PasswordType_t uPwdId, const uint8_t *pwd) |
| called when Verify completes | |
| virtual void | on_manage_I2C_GPO (M24SR *nfc, StatusTypeDef status, NFC_GPO_MGMT newStatus) |
| called when ManageI2CGPO completes | |
| virtual void | on_manage_RF_GPO (M24SR *nfc, StatusTypeDef status, NFC_GPO_MGMT newStatus) |
| called when ManageRFGPO completes | |
| virtual void | on_change_reference_data (M24SR *nfc, StatusTypeDef status, PasswordType_t type, uint8_t *data) |
| called when ChangeReferenceData completes | |
| virtual void | on_enable_verification_requirement (M24SR *nfc, StatusTypeDef status, PasswordType_t type) |
| called when EnableVerificationRequirement completes | |
| virtual void | on_disable_verification_requirement (M24SR *nfc, StatusTypeDef status, PasswordType_t type) |
| called when disable_verification_requirement completes | |
| virtual void | on_enable_permanent_state (M24SR *nfc, StatusTypeDef status, PasswordType_t type) |
| called when EnablePermanentState completes | |
| virtual void | on_disable_permanent_state (M24SR *nfc, StatusTypeDef status, PasswordType_t type) |
| called when DisablePermanentState completes | |
| virtual void | on_read_id (M24SR *nfc, StatusTypeDef status, uint8_t *id) |
| called when ReadId completes | |
| virtual void | on_enable_read_password (M24SR *nfc, StatusTypeDef status, const uint8_t *newPwd) |
| called when EnableReadPassword completes | |
| virtual void | on_enable_write_password (M24SR *nfc, StatusTypeDef status, const uint8_t *newPwd) |
| called when EnableWritePassword completes | |
| virtual void | on_disable_read_password (M24SR *nfc, StatusTypeDef status) |
| called when DisableReadPassword completes | |
| virtual void | on_disable_write_password (M24SR *nfc, StatusTypeDef status) |
| called when DisableWritePassword completes | |
| virtual void | on_disable_all_password (M24SR *nfc, StatusTypeDef status) |
| called when DisableAllPassword completes | |
| virtual void | on_enable_read_only (M24SR *nfc, StatusTypeDef status) |
| called when EnableReadOnly completes | |
| virtual void | on_enable_write_only (M24SR *nfc, StatusTypeDef status) |
| called when EnableWriteOnly completes | |
| virtual void | on_disable_read_only (M24SR *nfc, StatusTypeDef status) |
| called when DisableReadOnly completes | |
| virtual void | on_disable_write_only (M24SR *nfc, StatusTypeDef status) |
| called when DisableWriteOnly completes | |
Detailed Description
Object that contains all the callbacks fired by this class, each command has its own callback.
The callback default implementation is an empty function.
Definition at line 154 of file M24SR.h.
Member Function Documentation
| virtual void on_change_reference_data | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| PasswordType_t | type, | ||
| uint8_t * | data | ||
| ) | [virtual] |
| virtual void on_deselect | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_disable_all_password | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_disable_permanent_state | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| PasswordType_t | type | ||
| ) | [virtual] |
| virtual void on_disable_read_only | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_disable_read_password | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_disable_verification_requirement | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| PasswordType_t | type | ||
| ) | [virtual] |
| virtual void on_disable_write_only | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_disable_write_password | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_enable_permanent_state | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| PasswordType_t | type | ||
| ) | [virtual] |
| virtual void on_enable_read_only | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_enable_read_password | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| const uint8_t * | newPwd | ||
| ) | [virtual] |
| virtual void on_enable_verification_requirement | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| PasswordType_t | type | ||
| ) | [virtual] |
| virtual void on_enable_write_only | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_enable_write_password | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| const uint8_t * | newPwd | ||
| ) | [virtual] |
| virtual void on_manage_I2C_GPO | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| NFC_GPO_MGMT | newStatus | ||
| ) | [virtual] |
| virtual void on_manage_RF_GPO | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| NFC_GPO_MGMT | newStatus | ||
| ) | [virtual] |
| virtual void on_read_byte | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| uint16_t | offset, | ||
| uint8_t * | readByte, | ||
| uint16_t | nReadByte | ||
| ) | [virtual] |
| virtual void on_read_id | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| uint8_t * | id | ||
| ) | [virtual] |
| virtual void on_selected_application | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_selected_CC_file | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_selected_NDEF_file | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_selected_system_file | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_session_open | ( | M24SR * | nfc, |
| StatusTypeDef | status | ||
| ) | [virtual] |
| virtual void on_updated_binary | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| uint16_t | offset, | ||
| uint8_t * | writeByte, | ||
| uint16_t | nWriteByte | ||
| ) | [virtual] |
| virtual void on_verified | ( | M24SR * | nfc, |
| StatusTypeDef | status, | ||
| PasswordType_t | uPwdId, | ||
| const uint8_t * | pwd | ||
| ) | [virtual] |
Generated on Wed Jul 13 2022 05:23:50 by
1.7.2
