Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
Data Structures | Typedefs | Functions
Collaboration diagram for Native Tag T4T API:

Data Structures

struct  ptxNativeTag_T4T_InitParams
 T4T Native Tag Initialization Parameters. More...
 
struct  ptxNativeTag_T4T_CAPDUFields
 T4T CAPDU fields struct. More...
 
struct  ptxNativeTag_T4T
 T4T Native Tag Component. More...
 

Typedefs

typedef struct ptxNativeTag_T4T_InitParams ptxNativeTag_T4T_InitParams_t
 T4T Native Tag Initialization Parameters.
 
typedef struct ptxNativeTag_T4T_CAPDUFields ptxNativeTag_T4T_CAPDUFields_t
 T4T CAPDU fields struct.
 
typedef struct ptxNativeTag_T4T ptxNativeTag_T4T_t
 T4T Native Tag Component.
 

Functions

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TOpen (ptxNativeTag_T4T_t *t4tComp, ptxNativeTag_T4T_InitParams_t *initParams)
 Initialize / Open the T4T Native Tag Component.
 
PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TSelect (ptxNativeTag_T4T_t *t4tComp, uint8_t paramByte1, uint8_t paramByte2, uint8_t *data, uint8_t nbrDataBytes, uint8_t expectedResponseLen, uint8_t *rx, size_t *rxLen, uint32_t msTimeout)
 Select command for Native Tag T4T.
 
PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TReadBinary (ptxNativeTag_T4T_t *t4tComp, uint16_t offset, uint8_t nbrExpectedBytes, uint8_t *rx, size_t *rxLen, uint32_t msTimeout)
 Read Binary command for Native Tag T4T.
 
PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TReadBinaryODO (ptxNativeTag_T4T_t *t4tComp, uint32_t offset, uint8_t nbrExpectedBytes, uint8_t *rx, size_t *rxLen, uint32_t msTimeout)
 Read Binary command for Native Tag T4T.
 
PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TUpdateBinary (ptxNativeTag_T4T_t *t4tComp, uint16_t offset, uint8_t *data, uint8_t nbrDataBytes, uint8_t *rx, size_t *rxLen, uint32_t msTimeout)
 Update Binary command for Native Tag T4T.
 
PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TUpdateBinaryODO (ptxNativeTag_T4T_t *t4tComp, uint32_t offset, uint8_t *data, uint8_t nbrDataBytes, uint8_t *rx, size_t *rxLen, uint32_t msTimeout)
 Update Binary command for Native Tag T4T.
 
PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TClose (ptxNativeTag_T4T_t *t4tComp)
 Uninitialize / Close the T4T Native Tag Component.
 

T4T Tag specific definitions

#define PTX_T4T_MIN_TX_BUFFER_SIZE   (uint32_t)256
 

Detailed Description

Macro Definition Documentation

◆ PTX_T4T_MIN_TX_BUFFER_SIZE

#define PTX_T4T_MIN_TX_BUFFER_SIZE   (uint32_t)256

T4T minimum Tx buffer size

Function Documentation

◆ ptxNativeTag_T4TClose()

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TClose ( ptxNativeTag_T4T_t * t4tComp)

Uninitialize / Close the T4T Native Tag Component.

Parameters
[in]t4tCompPointer to an initialized instance of the T4T component.
Returns
Status, indicating whether the operation was successful. See ptxStatus_t.

◆ ptxNativeTag_T4TOpen()

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TOpen ( ptxNativeTag_T4T_t * t4tComp,
ptxNativeTag_T4T_InitParams_t * initParams )

Initialize / Open the T4T Native Tag Component.

Parameters
[in]t4tCompPointer to an allocated instance of the T4T component.
[in]initParamsPointer to initialization parameters.
Returns
Status, indicating whether the operation was successful.

◆ ptxNativeTag_T4TReadBinary()

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TReadBinary ( ptxNativeTag_T4T_t * t4tComp,
uint16_t offset,
uint8_t nbrExpectedBytes,
uint8_t * rx,
size_t * rxLen,
uint32_t msTimeout )

Read Binary command for Native Tag T4T.

Parameters
[in]t4tCompPointer to an initialized instance of the T4T component.
[in]offsetData offset
[in]nbrExpectedBytesNumber of expected bytes
[in]rxPointer to read buffer
[in,out]rxLenSize of Rx-buffer (in), Length of the received data (out).
[in]msTimeoutTimeout value
Returns
Status, indicating whether the operation was successful.

◆ ptxNativeTag_T4TReadBinaryODO()

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TReadBinaryODO ( ptxNativeTag_T4T_t * t4tComp,
uint32_t offset,
uint8_t nbrExpectedBytes,
uint8_t * rx,
size_t * rxLen,
uint32_t msTimeout )

Read Binary command for Native Tag T4T.

Parameters
[in]t4tCompPointer to an initialized instance of the T4T component.
[in]offsetData offset
[in]nbrExpectedBytesNumber of expected bytes
[in]rxPointer to read buffer
[in,out]rxLenSize of Rx-buffer (in), Length of the received data (out).
[in]msTimeoutTimeout value
Returns
Status, indicating whether the operation was successful.

◆ ptxNativeTag_T4TSelect()

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TSelect ( ptxNativeTag_T4T_t * t4tComp,
uint8_t paramByte1,
uint8_t paramByte2,
uint8_t * data,
uint8_t nbrDataBytes,
uint8_t expectedResponseLen,
uint8_t * rx,
size_t * rxLen,
uint32_t msTimeout )

Select command for Native Tag T4T.

Parameters
[in]t4tCompPointer to an initialized instance of the T4T component.
[in]paramByte1P1 of command APDU
[in]paramByte2P2 of command APDU
[in]dataPointer to data field
[in]nbrDataBytesNumber of data bytes
[in]expectedResponseLenNumber of response bytes expected
[in]rxPointer to read buffer
[in,out]rxLenSize of Rx-buffer (in), Length of the received data (out).
[in]msTimeoutTimeout value
Returns
Status, indicating whether the operation was successful.

◆ ptxNativeTag_T4TUpdateBinary()

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TUpdateBinary ( ptxNativeTag_T4T_t * t4tComp,
uint16_t offset,
uint8_t * data,
uint8_t nbrDataBytes,
uint8_t * rx,
size_t * rxLen,
uint32_t msTimeout )

Update Binary command for Native Tag T4T.

Parameters
[in]t4tCompPointer to an initialized instance of the T4T component.
[in]offsetData offset
[in]dataPointer to the data field
[in]nbrDataBytesNumber of data bytes
[in]rxPointer to read buffer
[in,out]rxLenSize of Rx-buffer (in), Length of the received data (out).
[in]msTimeoutTimeout value
Returns
Status, indicating whether the operation was successful.

◆ ptxNativeTag_T4TUpdateBinaryODO()

PTX_API_LIBFUNC ptxStatus_t ptxNativeTag_T4TUpdateBinaryODO ( ptxNativeTag_T4T_t * t4tComp,
uint32_t offset,
uint8_t * data,
uint8_t nbrDataBytes,
uint8_t * rx,
size_t * rxLen,
uint32_t msTimeout )

Update Binary command for Native Tag T4T.

Parameters
[in]t4tCompPointer to an initialized instance of the T4T component.
[in]offsetData offset
[in]dataPointer to the data field
[in]nbrDataBytesNumber of data bytes
[in]rxPointer to read buffer
[in,out]rxLenSize of Rx-buffer (in), Length of the received data (out).
[in]msTimeoutTimeout value
Returns
Status, indicating whether the operation was successful.