titusstubs.cpp File Reference
Last updated: 25-Feb-2025
#include <sysinfo/sysinfo.h>
Include dependency graph for titusstubs.cpp:

Data Structures |
|
struct | rawData |
struct | discoveryParams |
struct | activateParams |
struct | discoveryResult |
struct | _cardInfo |
struct | _pollRes |
struct | _cardInfoFull |
struct | _pollResFull |
struct | _pollReq |
struct | authenticationResult |
struct | getServicesResult |
struct | authenticationParams |
struct | getServicesParams |
struct | doVASInput |
struct | doVASOutput |
struct | apduTxData |
struct | apduRxData |
struct | apduCommand |
struct | felicaTxData |
struct | felicaRxData |
struct | felicaPolling |
struct | felicaPollingOutput |
struct | TX_RX_PARAM |
struct | callbackFlags |
struct | callbackText |
struct | callbackLeds |
struct | callbackBuzzer |
struct | callbackInfo |
Namespaces |
|
vfigui |
Macros |
|
#define | UNKNOWN 0x00000000 |
#define | MIFARE_NO_DESFIRE 0x00000001 |
#define | ULTRALIGHT 0x00000002 |
#define | MINI 0x00000004 |
#define | CLASSIC_1K 0x00000008 |
#define | CLASSIC_4K 0x00000010 |
#define | DESFIRE_CL1 0x00000020 |
#define | DESFIRE_CL2 0x00000040 |
#define | PLUS_2K_SL_1 0x00000080 |
#define | PLUS_4K_SL_1 0x00000100 |
#define | PLUS_2K_SL_2 0x00000200 |
#define | PLUS_4K_SL_2 0x00000400 |
#define | PLUS_2K_SL_3 0x00000800 |
#define | PLUS_4K_SL_3 0x00001000 |
#define | TNP3xxx 0x00002000 |
#define | SMART_MX_1K_EMULATION 0x00004000 |
#define | SMART_MX_4K_EMULATION 0x00008000 |
#define | SMART_MX 0x00010000 |
#define | APDU_COMPLIANT 0x00020000 |
#define | NFC_COMPLIANT 0x00040000 |
#define | ULTRALIGHT_C 0x00080000 |
#define | ACTION_DECRYPT 1 |
#define | ACTION_STORE_WALLET_KEYS 3 |
#define | ACTION_GET_WALLET_KEYS 4 |
#define | ACTION_GET_TOKEN 5 |
#define | ACTION_ENCRYPT_TOKEN 6 |
#define | CALLBACK_MAX_TEXT_SIZE (64) |
Typedefs |
|
typedef struct _cardInfo | cardInfo |
typedef struct _pollRes | pollRes |
typedef struct _cardInfoFull | cardInfoFull |
typedef struct _pollResFull | pollResFull |
typedef struct _pollReq | pollReq |
typedef void() | NfcCallbackFunction(unsigned char *data, size_t dataSizeBytes) |
Data Structure Documentation
◆ rawData
◆ discoveryParams
struct discoveryParams |
◆ activateParams
◆ discoveryResult
struct discoveryResult |
◆ _cardInfo
struct _cardInfo |
◆ _pollRes
struct _pollRes |
◆ _cardInfoFull
struct _cardInfoFull |
◆ _pollResFull
struct _pollResFull |
Collaboration diagram for _pollResFull:

[legend]
Data Fields | ||
---|---|---|
cardInfoFull * | cards_info_arr | |
rawData | custom_poll_result | |
unsigned int | m_foundTargetsA | |
unsigned int | m_foundTargetsB | |
unsigned int | m_foundTargetsF | |
unsigned int | m_foundTargetsTotalCount |
◆ _pollReq
struct _pollReq |
◆ authenticationResult
struct authenticationResult |
◆ getServicesResult
struct getServicesResult |
◆ authenticationParams
struct authenticationParams |
◆ getServicesParams
struct getServicesParams |
◆ doVASInput
struct doVASInput |
Collaboration diagram for doVASInput:

[legend]
Data Fields | ||
---|---|---|
authenticationParams * | pAuthenticationParams | |
getServicesParams * | pGetServicesParams |
◆ doVASOutput
struct doVASOutput |
Collaboration diagram for doVASOutput:

[legend]
Data Fields | ||
---|---|---|
authenticationResult * | pAuthenticationResult | |
getServicesResult * | pGetServicesResult |
◆ apduTxData
struct apduTxData |
◆ apduRxData
struct apduRxData |
◆ apduCommand
struct apduCommand |
◆ felicaTxData
struct felicaTxData |
◆ felicaRxData
◆ felicaPolling
struct felicaPolling |
◆ felicaPollingOutput
struct felicaPollingOutput |
◆ TX_RX_PARAM
struct TX_RX_PARAM |
◆ callbackFlags
struct callbackFlags |
◆ callbackText
struct callbackText |
Data Fields | ||
---|---|---|
char | text[CALLBACK_MAX_TEXT_SIZE] |
◆ callbackLeds
struct callbackLeds |
◆ callbackBuzzer
struct callbackBuzzer |
Data Fields | ||
---|---|---|
callbackBuzzerFrequency | frequency | |
unsigned int | nTimes | |
unsigned int | off_ms | |
unsigned int | on_ms |
◆ callbackInfo
struct callbackInfo |
Collaboration diagram for callbackInfo:

[legend]
Data Fields | ||
---|---|---|
callbackBuzzer | buzzer | |
callbackFlags | flags | |
callbackLeds | leds | |
callbackText | text |
Macro Definition Documentation
◆ ACTION_DECRYPT
#define ACTION_DECRYPT 1 |
◆ ACTION_ENCRYPT_TOKEN
#define ACTION_ENCRYPT_TOKEN 6 |
◆ ACTION_GET_TOKEN
#define ACTION_GET_TOKEN 5 |
◆ ACTION_GET_WALLET_KEYS
#define ACTION_GET_WALLET_KEYS 4 |
◆ ACTION_STORE_WALLET_KEYS
#define ACTION_STORE_WALLET_KEYS 3 |
◆ APDU_COMPLIANT
#define APDU_COMPLIANT 0x00020000 |
◆ CALLBACK_MAX_TEXT_SIZE
#define CALLBACK_MAX_TEXT_SIZE (64) |
◆ CLASSIC_1K
#define CLASSIC_1K 0x00000008 |
◆ CLASSIC_4K
#define CLASSIC_4K 0x00000010 |
◆ DESFIRE_CL1
#define DESFIRE_CL1 0x00000020 |
◆ DESFIRE_CL2
#define DESFIRE_CL2 0x00000040 |
◆ MIFARE_NO_DESFIRE
#define MIFARE_NO_DESFIRE 0x00000001 |
◆ MINI
#define MINI 0x00000004 |
◆ NFC_COMPLIANT
#define NFC_COMPLIANT 0x00040000 |
◆ PLUS_2K_SL_1
#define PLUS_2K_SL_1 0x00000080 |
◆ PLUS_2K_SL_2
#define PLUS_2K_SL_2 0x00000200 |
◆ PLUS_2K_SL_3
#define PLUS_2K_SL_3 0x00000800 |
◆ PLUS_4K_SL_1
#define PLUS_4K_SL_1 0x00000100 |
◆ PLUS_4K_SL_2
#define PLUS_4K_SL_2 0x00000400 |
◆ PLUS_4K_SL_3
#define PLUS_4K_SL_3 0x00001000 |
◆ SMART_MX
#define SMART_MX 0x00010000 |
◆ SMART_MX_1K_EMULATION
#define SMART_MX_1K_EMULATION 0x00004000 |
◆ SMART_MX_4K_EMULATION
#define SMART_MX_4K_EMULATION 0x00008000 |
◆ TNP3xxx
#define TNP3xxx 0x00002000 |
◆ ULTRALIGHT
#define ULTRALIGHT 0x00000002 |
◆ ULTRALIGHT_C
#define ULTRALIGHT_C 0x00080000 |
◆ UNKNOWN
#define UNKNOWN 0x00000000 |
Typedef Documentation
◆ cardInfo
◆ cardInfoFull
typedef struct _cardInfoFull cardInfoFull |
◆ NfcCallbackFunction
typedef void() NfcCallbackFunction(unsigned char *data, size_t dataSizeBytes) |
◆ pollReq
◆ pollRes
◆ pollResFull
typedef struct _pollResFull pollResFull |
Enumeration Type Documentation
◆ callbackBuzzerFrequency
◆ FrameworkState
enum FrameworkState |
◆ I_MIFARE_CARD_TYPE
enum I_MIFARE_CARD_TYPE |
◆ MIFARE_KEY_TYPE
enum MIFARE_KEY_TYPE |
◆ NFC_CARD_TYPE
enum NFC_CARD_TYPE |
◆ NFC_F_BAUD
enum NFC_F_BAUD |
◆ NFC_POLL_PARAM_TECH
enum NFC_POLL_PARAM_TECH |
◆ ResponseCodes
enum ResponseCodes |
◆ VasStatus
enum VasStatus |
Function Documentation
◆ isVclEnabled()
bool isVclEnabled | ( | bool | checkVCLStatus | ) |
◆ isVclTag()
bool isVclTag | ( | unsigned long | ulTag | ) |
◆ NFC_APDU_Exchange()
ResponseCodes NFC_APDU_Exchange | ( | apduTxData * | txData, |
apduRxData * | rxData | ||
) |
◆ NFC_Callback_Test()
ResponseCodes NFC_Callback_Test | ( | void | ) |
◆ NFC_Card_Removal()
ResponseCodes NFC_Card_Removal | ( | void | ) |
◆ NFC_Config_Init()
ResponseCodes NFC_Config_Init | ( | void | ) |
◆ NFC_Felica_Exchange()
ResponseCodes NFC_Felica_Exchange | ( | felicaTxData * | in_buff, |
felicaRxData * | out_buff | ||
) |
◆ NFC_Felica_Polling()
ResponseCodes NFC_Felica_Polling | ( | unsigned int | pollTimeout, |
felicaPolling * | inData, | ||
felicaPollingOutput * | outData | ||
) |
◆ NFC_Free_Poll_Data()
void NFC_Free_Poll_Data | ( | pollRes * | out_pull_res | ) |
◆ NFC_Free_Poll_DataFull()
void NFC_Free_Poll_DataFull | ( | pollResFull * | out_pull_res | ) |
◆ NFC_Get_Version()
ResponseCodes NFC_Get_Version | ( | rawData * | output | ) |
◆ NFC_Mifare_Authenticate()
ResponseCodes NFC_Mifare_Authenticate | ( | unsigned char | blockNumber, |
MIFARE_KEY_TYPE | keyType, | ||
rawData * | Key | ||
) |
◆ NFC_Mifare_Decrement()
ResponseCodes NFC_Mifare_Decrement | ( | unsigned int | blockNum, |
int | amount | ||
) |
◆ NFC_Mifare_Decrement_Only()
ResponseCodes NFC_Mifare_Decrement_Only | ( | unsigned int | blockNum, |
int | amount | ||
) |
◆ NFC_Mifare_Increment()
ResponseCodes NFC_Mifare_Increment | ( | unsigned int | blockNum, |
int | amount | ||
) |
◆ NFC_Mifare_Increment_Only()
ResponseCodes NFC_Mifare_Increment_Only | ( | unsigned int | blockNum, |
int | amount | ||
) |
◆ NFC_Mifare_Read()
ResponseCodes NFC_Mifare_Read | ( | I_MIFARE_CARD_TYPE | m_cardType, |
unsigned int | StartBlockNum, | ||
unsigned int | blockAmount, | ||
rawData * | out_buff | ||
) |
◆ NFC_Mifare_Restore()
ResponseCodes NFC_Mifare_Restore | ( | unsigned int | blockNum | ) |
◆ NFC_Mifare_Transfer()
ResponseCodes NFC_Mifare_Transfer | ( | unsigned int | blockNum | ) |
◆ NFC_Mifare_Write()
ResponseCodes NFC_Mifare_Write | ( | I_MIFARE_CARD_TYPE | m_cardType, |
unsigned int | StartBlockNum, | ||
unsigned int | blockAmount, | ||
rawData * | in_buff | ||
) |
◆ NFC_Ping()
ResponseCodes NFC_Ping | ( | rawData * | output | ) |
◆ NFC_PT_Activation()
ResponseCodes NFC_PT_Activation | ( | NFC_CARD_TYPE | cardType, |
rawData * | rd_activationData | ||
) |
◆ NFC_PT_Adv_TxRx()
ResponseCodes NFC_PT_Adv_TxRx | ( | TX_RX_PARAM * | comParams, |
rawData * | in_buff, | ||
rawData * | out_buff | ||
) |
◆ NFC_PT_Cancel_Polling()
ResponseCodes NFC_PT_Cancel_Polling | ( | void | ) |
◆ NFC_PT_Close()
ResponseCodes NFC_PT_Close | ( | void | ) |
◆ NFC_PT_FieldOff()
ResponseCodes NFC_PT_FieldOff | ( | void | ) |
◆ NFC_PT_FieldOn()
ResponseCodes NFC_PT_FieldOn | ( | void | ) |
◆ NFC_PT_FtechBaud()
ResponseCodes NFC_PT_FtechBaud | ( | NFC_F_BAUD | baud | ) |
◆ NFC_PT_Open()
ResponseCodes NFC_PT_Open | ( | void | ) |
◆ NFC_PT_Polling()
ResponseCodes NFC_PT_Polling | ( | pollReq * | in_pull_req, |
pollRes * | out_pull_res | ||
) |
◆ NFC_PT_PollingFull()
ResponseCodes NFC_PT_PollingFull | ( | pollReq * | in_pull_req, |
pollResFull * | out_pull_res | ||
) |
◆ NFC_PT_TxRx()
ResponseCodes NFC_PT_TxRx | ( | NFC_CARD_TYPE | cardType, |
rawData * | in_buff, | ||
rawData * | out_buff | ||
) |
◆ NFC_Set_Callback_Function()
ResponseCodes NFC_Set_Callback_Function | ( | rawData * | id, |
NfcCallbackFunction * | callbackFunction | ||
) |
◆ NFC_Terminal_Config()
◆ NFC_TERMINAL_ReadConfig()
◆ NFC_VAS_Action()
◆ NFC_VAS_Activate()
◆ NFC_VAS_Cancel()
VasStatus NFC_VAS_Cancel | ( | void | ) |
◆ NFC_VAS_CancelConfig()
◆ NFC_VAS_CancelPreLoad()
◆ NFC_VAS_Decrypt()
◆ NFC_VAS_PreLoad()
◆ NFC_VAS_ReadConfig()
◆ NFC_VAS_UpdateConfig()
◆ VCL_DecryptMSR()
bool VCL_DecryptMSR | ( | ) |
◆ VCL_EncryptEMV()
bool VCL_EncryptEMV | ( | ) |
Rate this article: