Renesas PTX1xxR IoT-Reader API (non-OS) Version 7.3.1
Renesas Software Stack for IoT-Reader Applications (non-OS)
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 "ptxStatus.h"
60
61#ifdef __cplusplus
62extern "C" {
63#endif
64
65/*
66 * ####################################################################################################################
67 * DEFINES / TYPES
68 * ####################################################################################################################
69 */
70
71/*
72 * ####################################################################################################################
73 * TYPES
74 * ####################################################################################################################
75 */
76
86
96
117
130
146
156
166
171
182
187{
188#ifdef PTX_PRODUCT_TYPE_IOT_READER
189 struct ptxIoTRd *IoTRdComp;
190#else
191 struct ptxPOS *POSComp;
192#endif
194
198typedef struct ptxFeliCa_DTE
199{
200 /* Components */
203#ifdef PTX_PRODUCT_TYPE_IOT_READER
204 struct ptxIoTRd *IoTRdComp;
205#else
206 struct ptxPOS *POSComp;
207#endif
209
210/*
211 * ####################################################################################################################
212 * API FUNCTIONS
213 * ####################################################################################################################
214 */
215
225
234
244ptxStatus_t ptxFeliCa_DTE_EnableMode (ptxFeliCa_DTE_t *feliCaDTEComp, uint8_t enableMode, ptxFeliCa_DTE_TestParams_t *testParams);
245
256
257#ifdef __cplusplus
258}
259#endif
260
263#endif /* Guard */
264
void(* ptxFeliCa_DTE_ProgressFn_t)(ptxFeliCa_DTE_TestProgressParams_t *progressParams)
Progress Callback Function.
Definition ptxFeliCa_DTE.h:170
struct ptxFeliCa_DTE_InitParams ptxFeliCa_DTE_InitParams_t
FeliCa-DTE Initialization Parameters.
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_TestProgressParams ptxFeliCa_DTE_TestProgressParams_t
FeliCa-DTE Test Progress Parameters.
union ptxFeliCa_DTE_Params ptxFeliCa_DTE_Params_t
FeliCa-DTE Test Parameters.
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:91
struct ptxFeliCa_DTE_PerformanceTest ptxFeliCa_DTE_PerformanceTest_t
FeliCa-DTE Test Parameters for Performance-Tests.
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.
ptxStatus_t ptxFeliCa_DTE_Deinit(ptxFeliCa_DTE_t *feliCaDTEComp)
Deinitializes the FeliCa-DTE Component.
enum ptxFeliCa_DTE_BitRate ptxFeliCa_DTE_BitRate_t
FeliCa-DTE Test Type.
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.
ptxFeliCa_DTE_RWDigProt_TestID
FeliCa-DTE Reader/Writer Digital Protocol (Sub-)Test Type.
Definition ptxFeliCa_DTE.h:101
enum ptxFeliCa_DTE_RWDigProt_TestID ptxFeliCa_DTE_RWDigProt_TestID_t
FeliCa-DTE Reader/Writer Digital Protocol (Sub-)Test Type.
ptxStatus_t ptxFeliCa_DTE_Init(ptxFeliCa_DTE_t *feliCaDTEComp, ptxFeliCa_DTE_InitParams_t *initParams)
Initializes the FeliCa-DTE Component.
ptxFeliCa_DTE_BitRate
FeliCa-DTE Test Type.
Definition ptxFeliCa_DTE.h:81
@ FELICA_DTE_TestID_PerformanceTest
Definition ptxFeliCa_DTE.h:92
@ FELICA_DTE_TestID_RWDigProtTest
Definition ptxFeliCa_DTE.h:93
@ FELICA_DTE_SubTestID_RWDigProt_eMoney_Variant1
Definition ptxFeliCa_DTE.h:102
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure4
Definition ptxFeliCa_DTE.h:109
@ FELICA_DTE_SubTestID_RWDigProt_Generic
Definition ptxFeliCa_DTE.h:114
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure5
Definition ptxFeliCa_DTE.h:110
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure
Definition ptxFeliCa_DTE.h:105
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure6
Definition ptxFeliCa_DTE.h:111
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure2
Definition ptxFeliCa_DTE.h:107
@ FELICA_DTE_SubTestID_RWDigProt_eMoney_Variant2
Definition ptxFeliCa_DTE.h:103
@ FELICA_DTE_SubTestID_RWDigProt_Setup_DP_NEG
Definition ptxFeliCa_DTE.h:113
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure1
Definition ptxFeliCa_DTE.h:106
@ FELICA_DTE_SubTestID_RWDigProt_eMoney_NFCDEP
Definition ptxFeliCa_DTE.h:104
@ FELICA_DTE_SubTestID_RWDigProt_Setup_DP_POS
Definition ptxFeliCa_DTE.h:112
@ FELICA_DTE_SubTestID_RWDigProt_FrameStructure3
Definition ptxFeliCa_DTE.h:108
@ FELICA_DTE_BITRATE_424
Definition ptxFeliCa_DTE.h:83
@ FELICA_DTE_BITRATE_212
Definition ptxFeliCa_DTE.h:82
uint16_t ptxStatus_t
Status Type.
Definition ptxStatus.h:70
enum ptxStatus_Comps ptxStatus_Comps_t
Component Definitions.
FeliCa-DTE Initialization Parameters.
Definition ptxFeliCa_DTE.h:187
struct ptxPOS * POSComp
Definition ptxFeliCa_DTE.h:191
FeliCa-DTE Test Parameters for Performance-Tests.
Definition ptxFeliCa_DTE.h:122
uint8_t * ResultBuffer
Definition ptxFeliCa_DTE.h:124
uint32_t TimeOutMS
Definition ptxFeliCa_DTE.h:127
ptxFeliCa_DTE_BitRate_t Bitrate
Definition ptxFeliCa_DTE.h:126
uint8_t ResultBufferSize
Definition ptxFeliCa_DTE.h:125
uint8_t NrTests
Definition ptxFeliCa_DTE.h:123
FeliCa-DTE Test Parameters for Performance-Tests.
Definition ptxFeliCa_DTE.h:135
const uint32_t * T_OnGuardTime
Definition ptxFeliCa_DTE.h:138
uint32_t ResultBufferSize
Definition ptxFeliCa_DTE.h:143
ptxFeliCa_DTE_RWDigProt_TestID_t SubTestID
Definition ptxFeliCa_DTE.h:136
uint8_t * ResultBuffer
Definition ptxFeliCa_DTE.h:142
uint32_t TimeOutMS
Definition ptxFeliCa_DTE.h:141
const uint32_t * T_OffGuardTime
Definition ptxFeliCa_DTE.h:137
uint8_t * GenericCmdBuffer
Definition ptxFeliCa_DTE.h:139
uint32_t GenericCmdBufferLen
Definition ptxFeliCa_DTE.h:140
FeliCa-DTE Test Parameters.
Definition ptxFeliCa_DTE.h:176
ptxFeliCa_DTE_ProgressFn_t ProgressCB
Definition ptxFeliCa_DTE.h:179
ptxFeliCa_DTE_TestID_t ID
Definition ptxFeliCa_DTE.h:177
ptxFeliCa_DTE_Params_t Params
Definition ptxFeliCa_DTE.h:178
FeliCa-DTE Test Progress Parameters.
Definition ptxFeliCa_DTE.h:161
uint8_t ExitProcessing
Definition ptxFeliCa_DTE.h:162
uint8_t NrTestsProcessed
Definition ptxFeliCa_DTE.h:163
FeliCa-DTE Component.
Definition ptxFeliCa_DTE.h:199
ptxStatus_Comps_t CompId
Definition ptxFeliCa_DTE.h:201
struct ptxPOS * POSComp
Definition ptxFeliCa_DTE.h:206
IOT Reader Main Structure (Context).
Definition ptx_IOT_READER.h:757
FeliCa-DTE Test Parameters.
Definition ptxFeliCa_DTE.h:151
ptxFeliCa_DTE_RWDigProtTest_t RWDigProtTest
Definition ptxFeliCa_DTE.h:153
ptxFeliCa_DTE_PerformanceTest_t PerformanceTest
Definition ptxFeliCa_DTE.h:152