![]() |
0.01.00
|
This file defines the raw OpenThread IEEE 802.15.4 Link Layer API. More...
Go to the source code of this file.
Typedefs | |
typedef void(OTCALL * | otLinkRawReceiveDone) (otInstance *aInstance, otRadioFrame *aFrame, otError aError) |
This function pointer on receipt of a IEEE 802.15.4 frame. More... | |
typedef void(* | otLinkRawTransmitDone) (otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError) |
This function pointer on receipt of a IEEE 802.15.4 frame. More... | |
typedef void(* | otLinkRawEnergyScanDone) (otInstance *aInstance, int8_t aEnergyScanMaxRssi) |
This function pointer on receipt of a IEEE 802.15.4 frame. More... | |
Functions | |
otError | otLinkRawSetEnable (otInstance *aInstance, bool aEnabled) |
This function enables/disables the raw link-layer. More... | |
bool | otLinkRawIsEnabled (otInstance *aInstance) |
This function indicates whether or not the raw link-layer is enabled. More... | |
otError | otLinkRawSetPanId (otInstance *aInstance, uint16_t aPanId) |
This function set the IEEE 802.15.4 PAN ID. More... | |
otError | otLinkRawSetExtendedAddress (otInstance *aInstance, const otExtAddress *aExtAddress) |
This function sets the IEEE 802.15.4 Extended Address. More... | |
otError | otLinkRawSetShortAddress (otInstance *aInstance, uint16_t aShortAddress) |
Set the Short Address for address filtering. More... | |
bool | otLinkRawGetPromiscuous (otInstance *aInstance) |
This function gets the status of promiscuous mode. More... | |
otError | otLinkRawSetPromiscuous (otInstance *aInstance, bool aEnable) |
This function enables or disables promiscuous mode. More... | |
otError | otLinkRawSleep (otInstance *aInstance) |
Transition the radio from Receive to Sleep. More... | |
otError | otLinkRawReceive (otInstance *aInstance, uint8_t aChannel, otLinkRawReceiveDone aCallback) |
Transitioning the radio from Sleep to Receive. More... | |
otRadioFrame * | otLinkRawGetTransmitBuffer (otInstance *aInstance) |
The radio transitions from Transmit to Receive. More... | |
otError | otLinkRawTransmit (otInstance *aInstance, otRadioFrame *aFrame, otLinkRawTransmitDone aCallback) |
This method begins the transmit sequence on the radio. More... | |
int8_t | otLinkRawGetRssi (otInstance *aInstance) |
Get the most recent RSSI measurement. More... | |
otRadioCaps | otLinkRawGetCaps (otInstance *aInstance) |
Get the radio capabilities. More... | |
otError | otLinkRawEnergyScan (otInstance *aInstance, uint8_t aScanChannel, uint16_t aScanDuration, otLinkRawEnergyScanDone aCallback) |
This method begins the energy scan sequence on the radio. More... | |
otError | otLinkRawSrcMatchEnable (otInstance *aInstance, bool aEnable) |
Enable/Disable source match for AutoPend. More... | |
otError | otLinkRawSrcMatchAddShortEntry (otInstance *aInstance, const uint16_t aShortAddress) |
Adding short address to the source match table. More... | |
otError | otLinkRawSrcMatchAddExtEntry (otInstance *aInstance, const otExtAddress *aExtAddress) |
Adding extended address to the source match table. More... | |
otError | otLinkRawSrcMatchClearShortEntry (otInstance *aInstance, const uint16_t aShortAddress) |
Removing short address to the source match table. More... | |
otError | otLinkRawSrcMatchClearExtEntry (otInstance *aInstance, const otExtAddress *aExtAddress) |
Removing extended address to the source match table of the radio. More... | |
otError | otLinkRawSrcMatchClearShortEntries (otInstance *aInstance) |
Removing all the short addresses from the source match table. More... | |
otError | otLinkRawSrcMatchClearExtEntries (otInstance *aInstance) |
Removing all the extended addresses from the source match table. More... | |
This file defines the raw OpenThread IEEE 802.15.4 Link Layer API.