Stay organized with collections Save and categorize content based on your preferences.

Raw Link

This module includes functions that control the raw link-layer configuration.

Summary

Typedefs

otLinkRawEnergyScanDone)(otInstance *aInstance, int8_t aEnergyScanMaxRssi) typedef
void(*
This function pointer on receipt of a IEEE 802.15.4 frame.
otLinkRawReceiveDone)(otInstance *aInstance, otRadioFrame *aFrame, otError aError) typedef
void(*
This function pointer on receipt of a IEEE 802.15.4 frame.
otLinkRawTransmitDone)(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError) typedef
void(*
This function pointer on receipt of a IEEE 802.15.4 frame.

Functions

otLinkRawEnergyScan(otInstance *aInstance, uint8_t aScanChannel, uint16_t aScanDuration, otLinkRawEnergyScanDone aCallback)
This method begins the energy scan sequence on the radio.
otLinkRawGetCaps(otInstance *aInstance)
Get the radio capabilities.
otLinkRawGetPromiscuous(otInstance *aInstance)
bool
This function gets the status of promiscuous mode.
otLinkRawGetRadioTime(otInstance *aInstance)
uint64_t
Get current platform time (64bits width) of the radio chip.
otLinkRawGetRssi(otInstance *aInstance)
int8_t
Get the most recent RSSI measurement.
otLinkRawGetTransmitBuffer(otInstance *aInstance)
The radio transitions from Transmit to Receive.
otLinkRawIsEnabled(otInstance *aInstance)
bool
This function indicates whether or not the raw link-layer is enabled.
otLinkRawReceive(otInstance *aInstance)
Transitioning the radio from Sleep to Receive.
otLinkRawSetMacFrameCounter(otInstance *aInstance, uint32_t aMacFrameCounter)
Sets the current MAC frame counter value.
otLinkRawSetMacKey(otInstance *aInstance, uint8_t aKeyIdMode, uint8_t aKeyId, const otMacKey *aPrevKey, const otMacKey *aCurrKey, const otMacKey *aNextKey)
Update MAC keys and key index.
otLinkRawSetPromiscuous(otInstance *aInstance, bool aEnable)
This function enables or disables promiscuous mode.
otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback)
This function enables/disables the raw link-layer.
otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress)
Set the Short Address for address filtering.
otLinkRawSleep(otInstance *aInstance)
Transition the radio from Receive to Sleep.
otLinkRawSrcMatchAddExtEntry(otInstance *aInstance, const otExtAddress *aExtAddress)
Adding extended address to the source match table.
otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress)
Adding short address to the source match table.
otLinkRawSrcMatchClearExtEntries(otInstance *aInstance)
Removing all the extended addresses from the source match table.
otLinkRawSrcMatchClearExtEntry(otInstance *aInstance, const otExtAddress *aExtAddress)
Removing extended address to the source match table of the radio.
otLinkRawSrcMatchClearShortEntries(otInstance *aInstance)
Removing all the short addresses from the source match table.
otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress)
Removing short address to the source match table.
otLinkRawSrcMatchEnable(otInstance *aInstance, bool aEnable)
Enable/Disable source match for frame pending.
otLinkRawTransmit(otInstance *aInstance, otLinkRawTransmitDone aCallback)
This method begins the transmit sequence on the radio.

Typedefs

Functions

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.