Records

Functions

  • uint32_t CslPeriodToUsec (uint16_t aCslPeriod)

    Converts a given CSL period in units of 10 symbols to microseconds.

    Parameters

    aCslPeriod [in] The CSL period in units of 10 symbols.

    Defined at line 874 of file ../../third_party/openthread/src/core/mac/mac_types.hpp

  • PanId GenerateRandomPanId ()

    Generates a random IEEE 802.15.4 PAN ID.

  • uint8_t DetermineKeyIndexFor (uint32_t aKeySequence)

    Determines the MAC Key Index for a given Key Sequence.

    Parameters

    aKeySequence [in] The Key Sequence value.
  • uint8_t DetermineNextKeyIndex (uint8_t aKeyIndex)

    Determines the next MAC Key Index (handling 1-128 wrap-around).

    The caller MUST ensure

    is valid and within range (`kMinKeyIndex` to `kMaxKeyIndex`), otherwise the

    behavior is undefined.

    Parameters

    aKeyIndex [in] The current Key Index value.
  • uint8_t DeterminePrevKeyIndex (uint8_t aKeyIndex)

    Determines the previous MAC Key Index (handling 1-128 wrap-around).

    The caller MUST ensure

    is valid and within range (`kMinKeyIndex` to `kMaxKeyIndex`), otherwise the

    behavior is undefined.

    Parameters

    aKeyIndex [in] The current Key Index value.