template <typename RxType>
class RxFrameProperties
Defined at line 215 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
Defines a CRTP base class providing property accessors for a received radio frame.
Users of this class should follow CRTP-style inheritance, where the `RxType` class inherits from
`RxFrameProperties
<RxType
>`.
The `RxType` class MUST provide a `GetFrame()` method returning a reference to the associated `Frame` with the
following signature:
const Frame
&GetFrame
(void) const;
Template Parameters
Public Methods
int8_t GetRssi ()
Returns the RSSI in dBm used for reception.
Defined at line 225 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
void SetRssi (int8_t aRssi)
Sets the RSSI in dBm used for reception.
Parameters
Defined at line 232 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
uint8_t GetLqi ()
Returns the receive Link Quality Indicator.
Defined at line 239 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
void SetLqi (uint8_t aLqi)
Sets the receive Link Quality Indicator.
Parameters
Defined at line 246 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
bool IsAckedWithFramePending ()
Indicates whether or not the received frame is acknowledged with frame pending set.
Defined at line 254 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
bool IsAckedWithSecEnhAck ()
Indicates whether or not the frame was acknowledged with a secured Enh-ACK.
Defined at line 262 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
uint32_t GetAckFrameCounter ()
Returns the frame counter from the received secured Enh-ACK.
Only applicable when `IsAckedWithSecEnhAck()` is true.
Defined at line 271 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
uint8_t GetAckKeyIndex ()
Returns the key index from the received secured Enh-ACK.
Only applicable when `IsAckedWithSecEnhAck()` is true.
Defined at line 280 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp
const Time64 & GetTimestamp ()
Returns the timestamp when the frame was received.
The value SHALL be the time of the local radio clock in
microseconds when the end of the SFD (or equivalently: the start
of the first symbol of the PHR) was present at the local antenna,
see the definition of a "symbol boundary" in IEEE 802.15.4-2020,
section 6.5.2 or equivalently the RMARKER definition in section
6.9.1 (albeit both unrelated to OT).
The time is relative to the local radio clock as defined by
`Radio::GetNow()`.
Defined at line 297 of file ../../third_party/openthread/src/core/radio/radio_frame.hpp