Loading...
Searching...
No Matches
felica_poller.h
1#pragma once
2
3#include "felica.h"
4#include <lib/nfc/nfc.h>
5
6#include <nfc/nfc_poller.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
15typedef struct FelicaPoller FelicaPoller;
16
20typedef enum {
21 FelicaPollerEventTypeError,
22 FelicaPollerEventTypeReady,
23 FelicaPollerEventTypeIncomplete,
24 FelicaPollerEventTypeRequestAuthContext,
25} FelicaPollerEventType;
26
34
40typedef struct {
41 FelicaPollerEventType type;
44
57FelicaError felica_poller_activate(FelicaPoller* instance, FelicaData* data);
58
59#ifdef __cplusplus
60}
61#endif
Transport layer Nfc library.
NFC card reading library.
Struct which controls the process of authentication and can be passed as a parameter to the applicati...
Definition felica.h:82
Structure used to store Felica data and additional values about reading.
Definition felica.h:149
FelicaPoller poller event structure.
Definition felica_poller.h:40
FelicaPollerEventData * data
Pointer to event specific data.
Definition felica_poller.h:42
FelicaPollerEventType type
Type of emmitted event.
Definition felica_poller.h:41
Definition felica_poller_i.h:29
Felica poller event data.
Definition felica_poller.h:30
FelicaAuthenticationContext * auth_context
Authentication context to be filled by user.
Definition felica_poller.h:32
FelicaError error
Error code indicating card activation fail reason.
Definition felica_poller.h:31