This module includes the platform abstraction for radio communication.

Modules

Types
This module includes the platform abstraction for a radio frame.
 
Configuration
This module includes the platform abstraction for radio configuration.
 
Operation
This module includes the platform abstraction for radio operations.

Functions

void otPlatRadioSetMacKeyRef (otInstance *aInstance, uint8_t aKeyIdMode, uint8_t aKeyId, otMacKeyRef aPrevKeyRef, otMacKeyRef aCurrKeyRef, otMacKeyRef aNextKeyRef)
 Update MAC keys and key index.

Detailed Description

This module includes the platform abstraction for radio communication.

Function Documentation

◆ otPlatRadioSetMacKeyRef()

void otPlatRadioSetMacKeyRef ( otInstance aInstance,
uint8_t  aKeyIdMode,
uint8_t  aKeyId,
otMacKeyRef  aPrevKeyRef,
otMacKeyRef  aCurrKeyRef,
otMacKeyRef  aNextKeyRef 
)

Update MAC keys and key index.

This function is used when radio provides OT_RADIO_CAPS_TRANSMIT_SEC capability.

Parameters
[in]aInstanceA pointer to an OpenThread instance.
[in]aKeyIdModeThe key ID mode.
[in]aKeyIdCurrent MAC key index.
[in]aPrevKeyRefA Reference to the previous MAC key.
[in]aCurrKeyRefA Reference to the current MAC key.
[in]aNextKeyRefA Reference to the next MAC key.