ot::Mac::LinkRaw::SetMacKey() method
Updates MAC keys and key index.
Arguments
aKeyIdMode
The key ID mode.
aPrevKey
The previous MAC key.
aCurrKey
The current MAC key.
aNextKey
The next MAC key.
Return value
kErrorNone If successful. kErrorFailed Platform failed to import key. kErrorInvalidState If the raw link-layer isn't enabled.
ot::Mac::LinkRaw::SetMacKey() calls 3 functions:
![]()
ot::Mac::LinkRaw::SetMacKey()
ot::Mac::LinkRaw::SetMacKey() reads 2 variables:
![]()
ot::Mac::LinkRaw::SetMacKey()