nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
APDU reader and writer

APDU reader and writer for Type 4 Tag communication. More...

Modules

 Parameters for selecting
 
 Status codes contained in R-APDU
 

Data Structures

struct  nfc_t4t_apdu_data
 APDU data field descriptor. More...
 
struct  nfc_t4t_apdu_comm
 Command Application Protocol Data Unit (C-APDU) descriptor. More...
 
struct  nfc_t4t_apdu_resp
 Response Application Protocol Data Unit (R-APDU) descriptor. More...
 

Macros

#define NFC_T4T_APDU_CLASS_BYTE_NO_SECURE_MSG   0x00
 

Enumerations

enum  nfc_t4t_apdu_comm_ins { NFC_T4T_APDU_COMM_INS_SELECT = 0xA4 , NFC_T4T_APDU_COMM_INS_READ = 0xB0 , NFC_T4T_APDU_COMM_INS_UPDATE = 0xD6 }
 Possible instruction codes in C-APDU. More...
 

Functions

static void nfc_t4t_apdu_comm_clear (struct nfc_t4t_apdu_comm *cmd_apdu)
 Clear a C-APDU descriptor and restore its default values.
 
static void nfc_t4t_apdu_resp_clear (struct nfc_t4t_apdu_resp *resp_apdu)
 Clearing an R-APDU descriptor and restore its default values.
 
int nfc_t4t_apdu_comm_encode (const struct nfc_t4t_apdu_comm *cmd_apdu, uint8_t *raw_data, uint16_t *len)
 Encode C-APDU.
 
int nfc_t4t_apdu_resp_decode (struct nfc_t4t_apdu_resp *resp_apdu, const uint8_t *raw_data, uint16_t len)
 Decode R-APDU.
 
void nfc_t4t_apdu_resp_printout (const struct nfc_t4t_apdu_resp *resp_apdu)
 Print an R-APDU descriptor.
 

Detailed Description

APDU reader and writer for Type 4 Tag communication.