pub unsafe extern "C" fn otPlatRadioSetMacKey(
    aInstance: *mut otInstance,
    aKeyIdMode: u8,
    aKeyId: u8,
    aPrevKey: *const otMacKeyMaterial,
    aCurrKey: *const otMacKeyMaterial,
    aNextKey: *const otMacKeyMaterial,
    aKeyType: otRadioKeyType
)
Expand description

Update MAC keys and key index

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. @param[in] aKeyType Key Type used.