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] aInstance A pointer to an OpenThread instance.
[in] aKeyIdMode The key ID mode.
[in] aKeyId Current MAC key index.
[in] aPrevKeyRef A Reference to the previous MAC key.
[in] aCurrKeyRef A Reference to the current MAC key.
[in] aNextKeyRef A Reference to the next MAC key.