Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions
M24srDriver::Callbacks Class Reference

Object that contains all the callbacks fired by this class, each command has its own callback. More...

#include <m24sr_driver.h>

Public Member Functions

virtual void on_session_open (M24srDriver *nfc, M24srError_t status)
 called when get_session completes More...
 
virtual void on_deselect (M24srDriver *nfc, M24srError_t status)
 called when deselect completes More...
 
virtual void on_selected_application (M24srDriver *nfc, M24srError_t status)
 called when select_application completes More...
 
virtual void on_selected_cc_file (M24srDriver *nfc, M24srError_t status)
 called when select_cc_file completes More...
 
virtual void on_selected_ndef_file (M24srDriver *nfc, M24srError_t status)
 called when select_ndef_file completes More...
 
virtual void on_selected_system_file (M24srDriver *nfc, M24srError_t status)
 called when select_system_file completes More...
 
virtual void on_read_byte (M24srDriver *nfc, M24srError_t status, uint16_t offset, uint8_t *bytes_read, uint16_t read_count)
 called when read_binary completes More...
 
virtual void on_updated_binary (M24srDriver *nfc, M24srError_t status, uint16_t offset, uint8_t *bytes_written, uint16_t write_count)
 called when update_binary completes More...
 
virtual void on_verified (M24srDriver *nfc, M24srError_t status, PasswordType_t password_type, const uint8_t *pwd)
 called when verify completes More...
 
virtual void on_manage_i2c_gpo (M24srDriver *nfc, M24srError_t status, NfcGpoState_t new_status)
 called when manage_i2c_gpo completes More...
 
virtual void on_manage_rf_gpo (M24srDriver *nfc, M24srError_t status, NfcGpoState_t new_status)
 called when manage_rf_gpo completes More...
 
virtual void on_change_reference_data (M24srDriver *nfc, M24srError_t status, PasswordType_t type, const uint8_t *data)
 called when change_reference_data completes More...
 
virtual void on_enable_verification_requirement (M24srDriver *nfc, M24srError_t status, PasswordType_t type)
 called when enable_verification_requirement completes More...
 
virtual void on_disable_verification_requirement (M24srDriver *nfc, M24srError_t status, PasswordType_t type)
 called when disable_verification_requirement completes More...
 
virtual void on_enable_permanent_state (M24srDriver *nfc, M24srError_t status, PasswordType_t type)
 called when enable_permanent_state completes More...
 
virtual void on_disable_permanent_state (M24srDriver *nfc, M24srError_t status, PasswordType_t type)
 called when disable_permanent_state completes More...
 
virtual void on_read_id (M24srDriver *nfc, M24srError_t status, uint8_t *id)
 called when read_id completes More...
 
virtual void on_enable_read_password (M24srDriver *nfc, M24srError_t status, const uint8_t *new_password)
 called when enable_read_password completes More...
 
virtual void on_enable_write_password (M24srDriver *nfc, M24srError_t status, const uint8_t *new_password)
 called when oenable_write_password completes More...
 
virtual void on_disable_read_password (M24srDriver *nfc, M24srError_t status)
 called when disable_read_password completes More...
 
virtual void on_disable_write_password (M24srDriver *nfc, M24srError_t status)
 called when disable_write_password completes More...
 
virtual void on_disable_all_password (M24srDriver *nfc, M24srError_t status)
 called when disable_all_password completes More...
 
virtual void on_enable_read_only (M24srDriver *nfc, M24srError_t status)
 called when enable_read_only completes More...
 
virtual void on_enable_write_only (M24srDriver *nfc, M24srError_t status)
 called when enable_write_only completes More...
 
virtual void on_disable_read_only (M24srDriver *nfc, M24srError_t status)
 called when disable_read_only completes More...
 
virtual void on_disable_write_only (M24srDriver *nfc, M24srError_t status)
 called when disable_write_only completes More...
 

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 238 of file m24sr_driver.h.

Member Function Documentation

virtual void on_change_reference_data ( M24srDriver nfc,
M24srError_t  status,
PasswordType_t  type,
const uint8_t *  data 
)
virtual

called when change_reference_data completes

Definition at line 330 of file m24sr_driver.h.

virtual void on_deselect ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when deselect completes

Definition at line 248 of file m24sr_driver.h.

virtual void on_disable_all_password ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when disable_all_password completes

Definition at line 410 of file m24sr_driver.h.

virtual void on_disable_permanent_state ( M24srDriver nfc,
M24srError_t  status,
PasswordType_t  type 
)
virtual

called when disable_permanent_state completes

Definition at line 364 of file m24sr_driver.h.

virtual void on_disable_read_only ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when disable_read_only completes

Definition at line 431 of file m24sr_driver.h.

virtual void on_disable_read_password ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when disable_read_password completes

Definition at line 396 of file m24sr_driver.h.

virtual void on_disable_verification_requirement ( M24srDriver nfc,
M24srError_t  status,
PasswordType_t  type 
)
virtual

called when disable_verification_requirement completes

Definition at line 348 of file m24sr_driver.h.

virtual void on_disable_write_only ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when disable_write_only completes

Definition at line 438 of file m24sr_driver.h.

virtual void on_disable_write_password ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when disable_write_password completes

Definition at line 403 of file m24sr_driver.h.

virtual void on_enable_permanent_state ( M24srDriver nfc,
M24srError_t  status,
PasswordType_t  type 
)
virtual

called when enable_permanent_state completes

Definition at line 356 of file m24sr_driver.h.

virtual void on_enable_read_only ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when enable_read_only completes

Definition at line 417 of file m24sr_driver.h.

virtual void on_enable_read_password ( M24srDriver nfc,
M24srError_t  status,
const uint8_t *  new_password 
)
virtual

called when enable_read_password completes

Definition at line 380 of file m24sr_driver.h.

virtual void on_enable_verification_requirement ( M24srDriver nfc,
M24srError_t  status,
PasswordType_t  type 
)
virtual

called when enable_verification_requirement completes

Definition at line 340 of file m24sr_driver.h.

virtual void on_enable_write_only ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when enable_write_only completes

Definition at line 424 of file m24sr_driver.h.

virtual void on_enable_write_password ( M24srDriver nfc,
M24srError_t  status,
const uint8_t *  new_password 
)
virtual

called when oenable_write_password completes

Definition at line 388 of file m24sr_driver.h.

virtual void on_manage_i2c_gpo ( M24srDriver nfc,
M24srError_t  status,
NfcGpoState_t  new_status 
)
virtual

called when manage_i2c_gpo completes

Definition at line 314 of file m24sr_driver.h.

virtual void on_manage_rf_gpo ( M24srDriver nfc,
M24srError_t  status,
NfcGpoState_t  new_status 
)
virtual

called when manage_rf_gpo completes

Definition at line 322 of file m24sr_driver.h.

virtual void on_read_byte ( M24srDriver nfc,
M24srError_t  status,
uint16_t  offset,
uint8_t *  bytes_read,
uint16_t  read_count 
)
virtual

called when read_binary completes

Definition at line 283 of file m24sr_driver.h.

virtual void on_read_id ( M24srDriver nfc,
M24srError_t  status,
uint8_t *  id 
)
virtual

called when read_id completes

Definition at line 372 of file m24sr_driver.h.

virtual void on_selected_application ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when select_application completes

Definition at line 255 of file m24sr_driver.h.

virtual void on_selected_cc_file ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when select_cc_file completes

Definition at line 262 of file m24sr_driver.h.

virtual void on_selected_ndef_file ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when select_ndef_file completes

Definition at line 269 of file m24sr_driver.h.

virtual void on_selected_system_file ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when select_system_file completes

Definition at line 276 of file m24sr_driver.h.

virtual void on_session_open ( M24srDriver nfc,
M24srError_t  status 
)
virtual

called when get_session completes

Definition at line 241 of file m24sr_driver.h.

virtual void on_updated_binary ( M24srDriver nfc,
M24srError_t  status,
uint16_t  offset,
uint8_t *  bytes_written,
uint16_t  write_count 
)
virtual

called when update_binary completes

Definition at line 294 of file m24sr_driver.h.

virtual void on_verified ( M24srDriver nfc,
M24srError_t  status,
PasswordType_t  password_type,
const uint8_t *  pwd 
)
virtual

called when verify completes

Definition at line 305 of file m24sr_driver.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.