[−][src]Function openthread_sys::otPlatRadioSetMacKey
pub unsafe extern "C" fn otPlatRadioSetMacKey(
aInstance: *mut otInstance,
aKeyIdMode: u8,
aKeyId: u8,
aPrevKey: *const otMacKey,
aCurrKey: *const otMacKey,
aNextKey: *const otMacKey
)
Update MAC keys and key index
This function is used when radio provides OT_RADIO_CAPS_TRANSMIT_SEC capability.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aKeyIdMode The key ID mode. @param[in] aKeyId Current MAC key index. @param[in] aPrevKey A pointer to the previous MAC key. @param[in] aCurrKey A pointer to the current MAC key. @param[in] aNextKey A pointer to the next MAC key.