Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
ptxFeliCa_DTE.h
Go to the documentation of this file.
1
49#ifndef APIS_PTX_FELICA_DTE_H_
50#define APIS_PTX_FELICA_DTE_H_
51
52/*
53 * ####################################################################################################################
54 * INCLUDES
55 * ####################################################################################################################
56 */
57
58#include <stdint.h>
59#include "ptx_Status.h"
60#include "ptxOsal.h"
61#include "ptxLog.h"
62
63#ifdef __cplusplus
64extern "C" {
65#endif
66
67/*
68 * ####################################################################################################################
69 * DEFINES / TYPES
70 * ####################################################################################################################
71 */
72#if defined (_WIN32) || defined (_WIN64) || defined (ming) || defined (__MINGW32__) || defined (__GNUWIN32__)
73 #define PTX_API_LIBFUNC __declspec(dllexport) /* */
74#else
75
76 #if defined (__GNUC__) /* GCC */
77 #define PTX_API_LIBFUNC __attribute__ ((visibility("default"))) /* requires -fvisibility=hidden as compiler option */
78 #elif defined (_linux) || defined (__linux) /* Linux with some other compiler */
79 #error Missing Platform Specification /* To be added */
80 #else
81 #error Missing Platform Specification
82 #endif
83#endif
84
85/*
86 * ####################################################################################################################
87 * TYPES
88 * ####################################################################################################################
89 */
90
100
110
131
144
160
170
180
185
196
205
222
223/*
224 * ####################################################################################################################
225 * API FUNCTIONS
226 * ####################################################################################################################
227 */
228
237PTX_API_LIBFUNC ptxStatus_t ptxFeliCa_DTE_Init (ptxFeliCa_DTE_t *feliCaDTEComp, ptxFeliCa_DTE_InitParams_t *initParams);
238
246PTX_API_LIBFUNC ptxStatus_t ptxFeliCa_DTE_Deinit (ptxFeliCa_DTE_t *feliCaDTEComp);
247
257PTX_API_LIBFUNC ptxStatus_t ptxFeliCa_DTE_EnableMode (ptxFeliCa_DTE_t *feliCaDTEComp, uint8_t enableMode, ptxFeliCa_DTE_TestParams_t *testParams);
258
269
270#ifdef __cplusplus
271}
272#endif
273
276#endif /* Guard */
277
void(* ptxFeliCa_DTE_ProgressFn_t)(ptxFeliCa_DTE_TestProgressParams_t *progressParams)
Progress Callback Function.
Definition ptxFeliCa_DTE.h:184
struct ptxFeliCa_DTE_InitParams ptxFeliCa_DTE_InitParams_t
FeliCa-DTE Initialization Parameters.
PTX_API_LIBFUNC ptxStatus_t ptxFeliCa_DTE_EnableMode(ptxFeliCa_DTE_t *feliCaDTEComp, uint8_t enableMode, ptxFeliCa_DTE_TestParams_t *testParams)
Enables/Disables the FeliCa-DTE mode in the system and configures the test parameters.
struct ptxFeliCa_DTE_TestProgressParams ptxFeliCa_DTE_TestProgressParams_t
FeliCa-DTE Test Progress Parameters.
union ptxFeliCa_DTE_Params ptxFeliCa_DTE_Params_t
FeliCa-DTE Test Parameters.
PTX_API_LIBFUNC ptxStatus_t ptxFeliCa_DTE_Init(ptxFeliCa_DTE_t *feliCaDTEComp, ptxFeliCa_DTE_InitParams_t *initParams)
Initializes the FeliCa-DTE Component.
struct ptxFeliCa_DTE_TestParams ptxFeliCa_DTE_TestParams_t
FeliCa-DTE Test Parameters.
struct ptxFeliCa_DTE ptxFeliCa_DTE_t
FeliCa-DTE Component.
ptxFeliCa_DTE_TestID
FeliCa-DTE Test Type.
Definition ptxFeliCa_DTE.h:105
struct ptxFeliCa_DTE_PerformanceTest ptxFeliCa_DTE_PerformanceTest_t
FeliCa-DTE Test Parameters for Performance-Tests.
enum ptxFeliCa_DTE_BitRate ptxFeliCa_DTE_BitRate_t
FeliCa-DTE Test Type.
PTX_API_LIBFUNC ptxStatus_t ptxFeliCa_DTE_RunTest(ptxFeliCa_DTE_t *feliCaDTEComp, ptxFeliCa_DTE_TestParams_t *testParams)
Performs a FeliCa compliance test with given test parameters.
struct ptxFeliCa_DTE_RWDigProtTest ptxFeliCa_DTE_RWDigProtTest_t
FeliCa-DTE Test Parameters for Performance-Tests.
enum ptxFeliCa_DTE_TestID ptxFeliCa_DTE_TestID_t
FeliCa-DTE Test Type.
PTX_API_LIBFUNC ptxStatus_t ptxFeliCa_DTE_Deinit(ptxFeliCa_DTE_t *feliCaDTEComp)
Deinitializes the FeliCa-DTE Component.
ptxFeliCa_DTE_RWDigProt_TestID
FeliCa-DTE Reader/Writer Digital Protocol (Sub-)Test Type.
Definition ptxFeliCa_DTE.h:115
enum ptxFeliCa_DTE_RWDigProt_TestID ptxFeliCa_DTE_RWDigProt_TestID_t
FeliCa-DTE Reader/Writer Digital Protocol (Sub-)Test Type.
ptxFeliCa_DTE_BitRate
FeliCa-DTE Test Type.
Definition ptxFeliCa_DTE.h:95
@ FELICA_DTE_TestID_PerformanceTest
Definition ptxFeliCa_DTE.h:106
@ FELICA_DTE_TestID_RWDigProtTest
Definition ptxFeliCa_DTE.h:107
@ FELICA_DTE_SubTestID_RWDigProt_eMoney_Variant1
Definition ptxFeliCa_DTE.h:116
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure4
Definition ptxFeliCa_DTE.h:123
@ FELICA_DTE_SubTestID_RWDigProt_Generic
Definition ptxFeliCa_DTE.h:128
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure5
Definition ptxFeliCa_DTE.h:124
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure
Definition ptxFeliCa_DTE.h:119
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure6
Definition ptxFeliCa_DTE.h:125
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure2
Definition ptxFeliCa_DTE.h:121
@ FELICA_DTE_SubTestID_RWDigProt_eMoney_Variant2
Definition ptxFeliCa_DTE.h:117
@ FELICA_DTE_SubTestID_RWDigProt_Setup_DP_NEG
Definition ptxFeliCa_DTE.h:127
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure1
Definition ptxFeliCa_DTE.h:120
@ FELICA_DTE_SubTestID_RWDigProt_eMoney_NFCDEP
Definition ptxFeliCa_DTE.h:118
@ FELICA_DTE_SubTestID_RWDigProt_Setup_DP_POS
Definition ptxFeliCa_DTE.h:126
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure3
Definition ptxFeliCa_DTE.h:122
@ FELICA_DTE_BITRATE_424
Definition ptxFeliCa_DTE.h:97
@ FELICA_DTE_BITRATE_212
Definition ptxFeliCa_DTE.h:96
uint16_t ptxStatus_t
Status Type.
Definition ptx_Status.h:82
enum ptxStatus_Comps ptxStatus_Comps_t
Component Definitions.
struct ptxSemaphore * ptxSemaphore_t
Semaphore Wrapper Structure - Forward Declaration.
Definition ptxOsal.h:100
FeliCa-DTE Initialization Parameters.
Definition ptxFeliCa_DTE.h:201
void * StackComp
Definition ptxFeliCa_DTE.h:202
FeliCa-DTE Test Parameters for Performance-Tests.
Definition ptxFeliCa_DTE.h:136
uint8_t * ResultBuffer
Definition ptxFeliCa_DTE.h:138
uint32_t TimeOutMS
Definition ptxFeliCa_DTE.h:141
ptxFeliCa_DTE_BitRate_t Bitrate
Definition ptxFeliCa_DTE.h:140
uint8_t ResultBufferSize
Definition ptxFeliCa_DTE.h:139
uint8_t NrTests
Definition ptxFeliCa_DTE.h:137
FeliCa-DTE Test Parameters for Performance-Tests.
Definition ptxFeliCa_DTE.h:149
const uint32_t * T_OnGuardTime
Definition ptxFeliCa_DTE.h:152
uint32_t ResultBufferSize
Definition ptxFeliCa_DTE.h:157
ptxFeliCa_DTE_RWDigProt_TestID_t SubTestID
Definition ptxFeliCa_DTE.h:150
uint8_t * ResultBuffer
Definition ptxFeliCa_DTE.h:156
uint32_t TimeOutMS
Definition ptxFeliCa_DTE.h:155
const uint32_t * T_OffGuardTime
Definition ptxFeliCa_DTE.h:151
uint8_t * GenericCmdBuffer
Definition ptxFeliCa_DTE.h:153
uint32_t GenericCmdBufferLen
Definition ptxFeliCa_DTE.h:154
FeliCa-DTE Test Parameters.
Definition ptxFeliCa_DTE.h:190
ptxFeliCa_DTE_ProgressFn_t ProgressCB
Definition ptxFeliCa_DTE.h:193
ptxFeliCa_DTE_TestID_t ID
Definition ptxFeliCa_DTE.h:191
ptxFeliCa_DTE_Params_t Params
Definition ptxFeliCa_DTE.h:192
FeliCa-DTE Test Progress Parameters.
Definition ptxFeliCa_DTE.h:175
uint8_t ExitProcessing
Definition ptxFeliCa_DTE.h:176
uint8_t NrTestsProcessed
Definition ptxFeliCa_DTE.h:177
FeliCa-DTE Component.
Definition ptxFeliCa_DTE.h:210
ptxSemaphore_t * Sem_Completion
Definition ptxFeliCa_DTE.h:217
ptxLog_t * LOG
Definition ptxFeliCa_DTE.h:215
uint16_t * CompletionStatus
Definition ptxFeliCa_DTE.h:218
void * StackComp
Definition ptxFeliCa_DTE.h:216
uint8_t * DataShared
Definition ptxFeliCa_DTE.h:219
ptxStatus_Comps_t CompId
Definition ptxFeliCa_DTE.h:212
struct ptxOsal * OS
Definition ptxFeliCa_DTE.h:214
Logger Component Structure.
Definition ptxLog.h:208
FeliCa-DTE Test Parameters.
Definition ptxFeliCa_DTE.h:165
ptxFeliCa_DTE_RWDigProtTest_t RWDigProtTest
Definition ptxFeliCa_DTE.h:167
ptxFeliCa_DTE_PerformanceTest_t PerformanceTest
Definition ptxFeliCa_DTE.h:166