Raw Link

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

Summary

Typedefs

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

Functions

otLinkRawEnergyScan(otInstance *aInstance, uint8_t aScanChannel, uint16_t aScanDuration, otLinkRawEnergyScanDone aCallback)
Begins the energy scan sequence on the radio.
otLinkRawGetCaps(otInstance *aInstance)
Get the radio capabilities.
otLinkRawGetPromiscuous(otInstance *aInstance)
bool
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
Indicates whether or not the raw link-layer is enabled.
otLinkRawReceive(otInstance *aInstance)
Transitioning the radio from Sleep to Receive.
otLinkRawSetAlternateShortAddress(otInstance *aInstance, otShortAddress aShortAddress)
Set the alternate short address.
otLinkRawSetMacFrameCounter(otInstance *aInstance, uint32_t aMacFrameCounter)
Sets the current MAC frame counter value.
otLinkRawSetMacFrameCounterIfLarger(otInstance *aInstance, uint32_t aMacFrameCounter)
Sets the current MAC frame counter value only if the new value is larger than the current one.
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)
Enables or disables promiscuous mode.
otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback)
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)
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.