mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-01 05:06:38 +00:00
introduce nfc_dep_mode_t type instead of bool in nfc_initiator_select_dep_target()
This commit is contained in:
@@ -167,7 +167,7 @@ typedef enum {
|
||||
|
||||
/**
|
||||
* @struct nfc_dep_info_t
|
||||
* @brief NFC tag information in D.E.P. (Data Exchange Protocol) see ISO/IEC 18092
|
||||
* @brief NFC target information in D.E.P. (Data Exchange Protocol) see ISO/IEC 18092 (NFCIP-1)
|
||||
*/
|
||||
typedef struct {
|
||||
/** NFCID3 */
|
||||
@@ -187,6 +187,15 @@ typedef struct {
|
||||
size_t szGB;
|
||||
} nfc_dep_info_t;
|
||||
|
||||
/**
|
||||
* @enum nfc_dep_mode_t
|
||||
* @brief NFC D.E.P. (Data Exchange Protocol) active/passive mode
|
||||
*/
|
||||
typedef enum {
|
||||
NDM_PASSIVE,
|
||||
NDM_ACTIVE,
|
||||
} nfc_dep_mode_t;
|
||||
|
||||
/**
|
||||
* @struct nfc_iso14443a_info_t
|
||||
* @brief NFC ISO14443A tag (MIFARE) information
|
||||
|
||||
Reference in New Issue
Block a user