class RxFrame

Defined at line 931 of file ../../third_party/openthread/src/core/mac/mac_frame.hpp

Supports received IEEE 802.15.4 MAC frame processing.

Public Methods

int8_t GetRssi ()

Returns the RSSI in dBm used for reception.

Defined at line 941 of file ../../third_party/openthread/src/core/mac/mac_frame.hpp

void SetRssi (int8_t aRssi)

Sets the RSSI in dBm used for reception.

Parameters

aRssi [in] The RSSI in dBm used for reception.

Defined at line 948 of file ../../third_party/openthread/src/core/mac/mac_frame.hpp

uint8_t GetLqi ()

Returns the receive Link Quality Indicator.

Defined at line 955 of file ../../third_party/openthread/src/core/mac/mac_frame.hpp

void SetLqi (uint8_t aLqi)

Sets the receive Link Quality Indicator.

Parameters

aLqi [in] The receive Link Quality Indicator.

Defined at line 962 of file ../../third_party/openthread/src/core/mac/mac_frame.hpp

bool IsAckedWithFramePending ()

Indicates whether or not the received frame is acknowledged with frame pending set.

Defined at line 970 of file ../../third_party/openthread/src/core/mac/mac_frame.hpp

const uint64_t & 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 987 of file ../../third_party/openthread/src/core/mac/mac_frame.hpp

Error ProcessReceiveAesCcm (const ExtAddress & aExtAddress, const KeyMaterial & aMacKey)

Performs AES CCM on the frame which is received.

Parameters

aExtAddress [in] A reference to the extended address, which will be used to generate nonce for AES CCM computation.
aMacKey [in] A reference to the MAC key to decrypt the received frame.

Friends

class TxFrame