49#ifndef APIS_PTX_NDEF_H_
50#define APIS_PTX_NDEF_H_
75#if defined (_WIN32) || defined (_WIN64) || defined (ming) || defined (__MINGW32__) || defined (__GNUWIN32__)
76 #define PTX_API_LIBFUNC __declspec(dllexport)
79 #if defined (__GNUC__)
80 #define PTX_API_LIBFUNC __attribute__ ((visibility("default")))
81 #elif defined (_linux) || defined (__linux)
82 #error Missing Platform Specification
84 #error Missing Platform Specification
119 uint32_t WorkBufferSize;
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_Open(ptxNDEF_t *ndefComp, ptxNDEF_InitParams_t *initParams)
Initialize / Open the NDEF OP Component.
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_LockTag(ptxNDEF_t *ndefComp)
Puts a Tag into READ-ONLY state (Attention: This is a irreversible Operation!).
enum ptxNDEF_T5T_Modes ptxNDEF_T5T_Modes_t
T5T communication mode.
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_FormatTag(ptxNDEF_t *ndefComp)
Formats a given Tag to INITIALIZED state.
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_WriteMessage(ptxNDEF_t *ndefComp, uint8_t *msgBuffer, uint32_t msgLen)
Writes a NDEF-message onto a given Tag.
ptxNDEF_T5T_Modes
T5T communication mode.
Definition ptxNDEF.h:102
struct ptxNDEF_InitParams ptxNDEF_InitParams_t
NDEF OP Initialization Parameters.
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_ReadMessage(ptxNDEF_t *ndefComp, uint8_t *msgBuffer, uint32_t *msgLen)
Reads a NDEF-message from a given Tag.
struct ptxNDEF ptxNDEF_t
Generic NDEF OP Component.
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_Close(ptxNDEF_t *ndefComp)
Unitialize / Close the NDEF OP Component.
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_CheckMessage(ptxNDEF_t *ndefComp)
Checks if a NDEF-message is present on the given Tag (or not).
@ ptxNDEF_T5T_Mode_None
Definition ptxNDEF.h:103
@ ptxNDEF_T5T_Mode_Selected
Definition ptxNDEF.h:105
@ ptxNDEF_T5T_Mode_Addressed
Definition ptxNDEF.h:104
uint16_t ptxStatus_t
Status Type.
Definition ptx_Status.h:82
enum ptxStatus_Comps ptxStatus_Comps_t
Component Definitions.
Card Registry structure.
Definition ptx_IOT_READER.h:584
NDEF OP Initialization Parameters.
Definition ptxNDEF.h:112
void * IoTRdStackComp
Definition ptxNDEF.h:113
uint8_t * RxBuffer
Definition ptxNDEF.h:116
uint32_t RxBufferSize
Definition ptxNDEF.h:117
ptxNDEF_T5T_Modes_t T5TMode
Definition ptxNDEF.h:121
uint8_t * TxBuffer
Definition ptxNDEF.h:114
uint32_t TxBufferSize
Definition ptxNDEF.h:115
T2T NDEF OP Component.
Definition ptxNDEF_T2TOP.h:219
T3T NDEF OP Component.
Definition ptxNDEF_T3TOP.h:142
T4T NDEF OP Component.
Definition ptxNDEF_T4TOP.h:145
T5T NDEF OP Component.
Definition ptxNDEF_T5TOP.h:136
Generic NDEF OP Component.
Definition ptxNDEF.h:128
ptxNDEF_T5TOP_t T5TOP
Definition ptxNDEF.h:136
ptxNDEF_T2TOP_t T2TOP
Definition ptxNDEF.h:133
ptxNDEF_T3TOP_t T3TOP
Definition ptxNDEF.h:134
struct ptxIoTRd_CardRegistry * CardRegistry
Definition ptxNDEF.h:132
ptxStatus_Comps_t CompId
Definition ptxNDEF.h:130
ptxNDEF_T4TOP_t T4TOP
Definition ptxNDEF.h:135