smartcard2 2.1.0.0
smartcard2_ccid_t Struct Reference

Smart Card 2 Click context object. More...

#include <smartcard2.h>

Data Fields

uint8_t type
 
uint32_t payload_size
 
uint8_t slot_num
 
uint8_t seq_num
 
uint8_t spec_bytes [3]
 
uint8_t payload [SMARTCARD2_SHORT_APDU_MAX_SIZE]
 

Detailed Description

Smart Card 2 Click context object.

Context object definition of Smart Card 2 Click driver.

Field Documentation

◆ payload

Message content.

◆ payload_size

uint32_t payload_size

Message specific data length.

◆ seq_num

uint8_t seq_num

The sequence number for command.

◆ slot_num

uint8_t slot_num

The slot number for command.

◆ spec_bytes

uint8_t spec_bytes[3]

Either three message specific bytes, or a status field (1 byte), an error field and one message specific byte.

◆ type

uint8_t type

Message type.


The documentation for this struct was generated from the following file: