Flipper Zero Firmware
Loading...
Searching...
No Matches
nfc_protocol.h
Go to the documentation of this file.
1
164#pragma once
165
166#include <stdbool.h>
167
168#ifdef __cplusplus
169extern "C" {
170#endif
171
178typedef enum {
179 NfcProtocolIso14443_3a,
180 NfcProtocolIso14443_3b,
181 NfcProtocolIso14443_4a,
182 NfcProtocolIso14443_4b,
183 NfcProtocolIso15693_3,
184 NfcProtocolFelica,
185 NfcProtocolMfUltralight,
186 NfcProtocolMfClassic,
187 NfcProtocolMfPlus,
188 NfcProtocolMfDesfire,
189 NfcProtocolSlix,
190 NfcProtocolSt25tb,
191 /* Add new protocols here */
192
197
205
216bool nfc_protocol_has_parent(NfcProtocol protocol, NfcProtocol parent_protocol);
217
218#ifdef __cplusplus
219}
220#endif
NfcProtocol
Enumeration of all available NFC protocols.
Definition nfc_protocol.h:178
@ NfcProtocolInvalid
Special value representing an invalid state.
Definition nfc_protocol.h:195
@ NfcProtocolNum
Special value representing the number of available protocols.
Definition nfc_protocol.h:193
bool nfc_protocol_has_parent(NfcProtocol protocol, NfcProtocol parent_protocol)
Determine if a specific protocol has a parent on an arbitrary level.
Definition nfc_protocol.c:165
NfcProtocol nfc_protocol_get_parent(NfcProtocol protocol)
Get the immediate parent of a specific protocol.
Definition nfc_protocol.c:159