AT-NFC 2.1 (win) AT-NFC kernel set

Macros
Basic Constants

Basic constants used by Kernel. More...

## Macros
#define | KER_BIT1 0x01
#define | KER_BIT2 0x02
#define | KER_BIT3 0x04
#define | KER_BIT4 0x08
#define | KER_BIT5 0x10
#define | KER_BIT6 0x20
#define | KER_BIT7 0x40
#define | KER_BIT8 0x80
#define | KER_BIT_1_5 0x1F
#define | KER_BIT_1_7 0x7F
#define | KER_INT8U_MAX 0xFF
#define | KER_INT16U_MAX 0xFFFF
#define | EMV_REQ_APDU_MAX_SIZE 255
#define | EMV_RESP_APDU_MAX_SIZE 256
#define | KER_MAX_PAN_LEN 19
#define | EMV_POS_ENTRY_MODE_MS 0x02
#define | EMV_POS_ENTRY_MODE_CHIP 0x05
#define | EMV_POS_ENTRY_MODE_FALLBACK 0x08
#define | KER_LIB_EMV_VERSION "EMV v.4.4c 2024"
#define | KER_LIB_VERSION "4.4c"
#define | KER_LIB_BUILD_NUM "015"

## Detailed Description

Basic constants used by Kernel.

## Macro Definition Documentation

## ◆ EMV_POS_ENTRY_MODE_CHIP

#define EMV_POS_ENTRY_MODE_CHIP 0x05

Chip POS Entry mode

## ◆ EMV_POS_ENTRY_MODE_FALLBACK

#define EMV_POS_ENTRY_MODE_FALLBACK 0x08

Fallback POS Entry mode

## ◆ EMV_POS_ENTRY_MODE_MS

#define EMV_POS_ENTRY_MODE_MS 0x02

MS POS Entry mode

## ◆ EMV_REQ_APDU_MAX_SIZE

#define EMV_REQ_APDU_MAX_SIZE 255

Max Request APDU size

## ◆ EMV_RESP_APDU_MAX_SIZE

#define EMV_RESP_APDU_MAX_SIZE 256

Max Response APDU size

## ◆ KER_BIT1

#define KER_BIT1 0x01

1st bit in byte

## ◆ KER_BIT2

#define KER_BIT2 0x02

2nd bit in byte

## ◆ KER_BIT3

#define KER_BIT3 0x04

3rd bit in byte

## ◆ KER_BIT4

#define KER_BIT4 0x08

4th bit in byte

## ◆ KER_BIT5

#define KER_BIT5 0x10

5th bit in byte

## ◆ KER_BIT6

#define KER_BIT6 0x20

6th bit in byte

## ◆ KER_BIT7

#define KER_BIT7 0x40

7th bit in byte

## ◆ KER_BIT8

#define KER_BIT8 0x80

8th bit in byte

## ◆ KER_BIT_1_5

#define KER_BIT_1_5 0x1F

1-5 bits in byte

## ◆ KER_BIT_1_7

#define KER_BIT_1_7 0x7F

1-7 bits in byte

## ◆ KER_INT16U_MAX

#define KER_INT16U_MAX 0xFFFF

KER_INT16U type max value

## ◆ KER_INT8U_MAX

#define KER_INT8U_MAX 0xFF

KER_INT8U type max value

## ◆ KER_LIB_BUILD_NUM

#define KER_LIB_BUILD_NUM "015"

Lib Build number

## ◆ KER_LIB_EMV_VERSION

#define KER_LIB_EMV_VERSION "EMV v.4.4c 2024"

Lib EMV specification version number

## ◆ KER_LIB_VERSION

#define KER_LIB_VERSION "4.4c"

Lib Version number

## ◆ KER_MAX_PAN_LEN

#define KER_MAX_PAN_LEN 19

Max PAN length