Information for calculating and representing a packet timestamp.

Public Attributes#

Timestamp of the packet in the RAIL timebase.

uint16_t

A value specifying the total length in bytes of the packet used when calculating the packetTime requested by the timePosition field.

A RAIL_PacketTimePosition_t value specifying the packet position to return in the packetTime field.

In RX for EFR32xG25 only: A value specifying the on-air duration of the data packet, starting with the first bit of the PHR (i.e., end of sync word); preamble and sync word duration are hence excluded.

Public Attribute Documentation#

packetTime#

RAIL_Time_t RAIL_PacketTimeStamp_t::packetTime

Timestamp of the packet in the RAIL timebase.


Definition at line 385 of file common/rail_types.h

totalPacketBytes#

uint16_t RAIL_PacketTimeStamp_t::totalPacketBytes

A value specifying the total length in bytes of the packet used when calculating the packetTime requested by the timePosition field.

This should account for all bytes sent over the air after the Preamble and Sync word(s) including CRC bytes.


Definition at line 392 of file common/rail_types.h

timePosition#

RAIL_PacketTimePosition_t RAIL_PacketTimeStamp_t::timePosition

A RAIL_PacketTimePosition_t value specifying the packet position to return in the packetTime field.

If this is RAIL_PACKET_TIME_DEFAULT, this field will be updated with the actual position corresponding to the packetTime value filled in by a call using this structure.


Definition at line 400 of file common/rail_types.h

packetDurationUs#

RAIL_Time_t RAIL_PacketTimeStamp_t::packetDurationUs

In RX for EFR32xG25 only: A value specifying the on-air duration of the data packet, starting with the first bit of the PHR (i.e., end of sync word); preamble and sync word duration are hence excluded.

In Tx for all platforms: A value specifying the on-air duration of the data packet, starting at the preamble (i.e. includes preamble, sync word, PHR, payload and FCS). This value can be used to compute duty cycles. Note

  • This field is currently valid only for normal transmits but not Auto-Ack transmits which set the field to zero.


Definition at line 414 of file common/rail_types.h