Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
Data Fields
ptxNSC_Event Struct Reference

NSC Event data. Used to notify layer above, what kind of event had happened on the NSC Component. More...

#include <ptxNSC_InterfaceTypes.h>

Collaboration diagram for ptxNSC_Event:
Collaboration graph

Data Fields

ptxNSC_EventId_t eventId
 
void * payload
 
uint8_t isPayloadAllocated
 
size_t lengthOfPayload
 
void * payloadSecondary
 
size_t lengthOfPayloadSecondary
 
size_t isPayloadSecondaryAllocated
 
size_t numTotalBitsSecondary
 
uint8_t RfTechMode
 

Detailed Description

NSC Event data. Used to notify layer above, what kind of event had happened on the NSC Component.

Field Documentation

◆ eventId

Type of event to handle.

◆ isPayloadAllocated

uint8_t isPayloadAllocated

Boolean used to report that memory allocation has been done for payload.

◆ isPayloadSecondaryAllocated

size_t isPayloadSecondaryAllocated

Boolean used to report that memory allocation has been done for payloadSecondary.

◆ lengthOfPayload

size_t lengthOfPayload

Number of bytes in payload

◆ lengthOfPayloadSecondary

size_t lengthOfPayloadSecondary

Number of bytes in payloadSecondary

◆ numTotalBitsSecondary

size_t numTotalBitsSecondary

Number of bits provided in /ref payload plus /ref payloadSecondary .

◆ payload

void* payload

This pointer can be used for two purpose 1./ as payload buffer. It will casted to (uint8_t *) at destination and lengthOfPayload will be larger than 0 (reporting size of this buffer). 2./ as void pointer used to send to destination some specific type of data.

◆ payloadSecondary

void* payloadSecondary

Secondary buffer. Some events may need two buffers. (e.g. NSC_CLT_MSG)

◆ RfTechMode

uint8_t RfTechMode

Current RF-Technology & -Mode for particular event (only applicable for certain events).


The documentation for this struct was generated from the following file: