3#include "mf_ultralight.h"
4#include <lib/nfc/protocols/iso14443_3a/iso14443_3a_poller.h>
19 MfUltralightPollerEventTypeRequestMode,
20 MfUltralightPollerEventTypeAuthRequest,
21 MfUltralightPollerEventTypeAuthSuccess,
22 MfUltralightPollerEventTypeAuthFailed,
23 MfUltralightPollerEventTypeReadSuccess,
24 MfUltralightPollerEventTypeReadFailed,
25 MfUltralightPollerEventTypeRequestWriteData,
26 MfUltralightPollerEventTypeCardMismatch,
27 MfUltralightPollerEventTypeCardLocked,
28 MfUltralightPollerEventTypeWriteSuccess,
29 MfUltralightPollerEventTypeWriteFail,
30} MfUltralightPollerEventType;
36 MfUltralightPollerModeRead,
37 MfUltralightPollerModeWrite,
38} MfUltralightPollerMode;
58 MfUltralightPollerMode poller_mode;
67 MfUltralightPollerEventType
type;
80MfUltralightError mf_ultralight_poller_auth_pwd(
96MfUltralightError mf_ultralight_poller_authenticate_start(
111MfUltralightError mf_ultralight_poller_authenticate_end(
114 const uint8_t* request,
130MfUltralightError mf_ultralight_poller_read_page(
148MfUltralightError mf_ultralight_poller_read_page_from_sector(
164MfUltralightError mf_ultralight_poller_write_page(
203MfUltralightError mf_ultralight_poller_read_counter(
218MfUltralightError mf_ultralight_poller_read_tearing_flag(
220 uint8_t tearing_falg_num,
Definition mf_ultralight.h:135
Definition mf_ultralight.h:127
Definition mf_ultralight.h:131
Definition mf_ultralight.h:178
Definition mf_ultralight.h:95
Definition mf_ultralight.h:99
MfUltralight poller authentication context.
Definition mf_ultralight_poller.h:43
MfUltralightAuthPack pack
Pack received on successfull authentication.
Definition mf_ultralight_poller.h:46
MfUltralightAuthPassword password
Password to be used for authentication.
Definition mf_ultralight_poller.h:44
bool auth_success
Set to true if authentication succeeded, false otherwise.
Definition mf_ultralight_poller.h:47
bool skip_auth
Set to true if authentication should be skipped, false otherwise.
Definition mf_ultralight_poller.h:48
MfUltralight poller event structure.
Definition mf_ultralight_poller.h:66
MfUltralightPollerEventData * data
Pointer to event specific data.
Definition mf_ultralight_poller.h:68
MfUltralightPollerEventType type
Type of emmitted event.
Definition mf_ultralight_poller.h:67
Definition mf_ultralight_poller_i.h:75
Definition mf_ultralight.h:114
Definition mf_ultralight.h:123
Definition mf_ultralight.h:103
Definition mf_ultralight.h:118
MfUltralight poller event data.
Definition mf_ultralight_poller.h:54
MfUltralightError error
Error code indicating reading fail reason.
Definition mf_ultralight_poller.h:56
MfUltralightPollerAuthContext auth_context
Authentication context.
Definition mf_ultralight_poller.h:55