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