Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
Data Structures | Typedefs | Functions
ptxNDEF_T4TOP.h File Reference
#include <stdint.h>
#include "ptxNativeTag_T4T.h"
#include "ptxNDEF_Defines.h"
#include "ptx_Status.h"
Include dependency graph for ptxNDEF_T4TOP.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ptxNDEF_T4TOP_InitParams
 T4T NDEF OP Initialization Parameters. More...
 
struct  ptxNDEF_T4TOP_CC
 T4T NDEF OP Capability Container Parameters. More...
 
struct  ptxNDEF_T4TOP_NLEN
 T4T NDEF file contents. More...
 
struct  ptxNDEF_T4TOP
 T4T NDEF OP Component. More...
 

Macros

T4T Tag specific definitions
#define PTX_T4T_DEFAULT_TIMEOUT_MS   (uint32_t)50000
 
#define PTX_T4T_MAXIMUM_NLEN_LENGTH   (uint8_t)4u
 
#define PTX_T4T_CC_LEN   (uint8_t)2u
 
#define PTX_T4T_FILEIDENTIFIER_LEN   (uint8_t)2u
 

Typedefs

typedef struct ptxNDEF_T4TOP_InitParams ptxNDEF_T4TOP_InitParams_t
 T4T NDEF OP Initialization Parameters.
 
typedef struct ptxNDEF_T4TOP_CC ptxNDEF_T4TOP_CC_t
 T4T NDEF OP Capability Container Parameters.
 
typedef struct ptxNDEF_T4TOP_NLEN ptxNDEF_T4TOP_NLEN_t
 T4T NDEF file contents.
 
typedef struct ptxNDEF_T4TOP ptxNDEF_T4TOP_t
 T4T NDEF OP Component.
 

Functions

PTX_API_LIBFUNC ptxStatus_t ptxNDEF_T4TOpOpen (ptxNDEF_T4TOP_t *t4tOpComp, ptxNDEF_T4TOP_InitParams_t *initParams)
 Initialize / Open the T4T OP Component.
 
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_T4TOpFormatTag (ptxNDEF_T4TOP_t *t4tOpComp)
 Formats a Type 4 Tag to INITIALIZED state.
 
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_T4TOpCheckMessage (ptxNDEF_T4TOP_t *t4tOpComp)
 Checks if a NDEF-message is present on the given Tag (or not).
 
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_T4TOpReadMessage (ptxNDEF_T4TOP_t *t4tOpComp, uint8_t *msgBuffer, uint32_t *msgLen)
 Reads a NDEF-message from a given Tag.
 
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_T4TOpWriteMessage (ptxNDEF_T4TOP_t *t4tOpComp, uint8_t *msgBuffer, uint32_t msgLen)
 Writes a NDEF-message onto a given Tag.
 
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_T4TOpLockTag (ptxNDEF_T4TOP_t *t4tOpComp)
 Puts a Tag into READ-ONLY state (Attention: This is a irreversible Operation!).
 
PTX_API_LIBFUNC ptxStatus_t ptxNDEF_T4TOpClose (ptxNDEF_T4TOP_t *t4tOpComp)
 Unitialize / Close the T4T OP Component.
 

Detailed Description

SPDX-License-Identifier: BSD-3-Clause

Copyright (c) 2026, Renesas Electronics Corporation and/or its affiliates

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Renesas nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY Renesas "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RENESAS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project : PTX1K Module : NDEF T4T OPERATION API File : ptxNDEF_T4TOP.h

Description : Tag Type 4 NDEF Operation API (IOT READER - Extension)