![]() |
0.01.00
|
This file implements the OpenThread Link API. More...
Functions | |
static void | HandleActiveScanResult (void *aContext, Mac::Frame *aFrame) |
static void | HandleEnergyScanResult (void *aContext, otEnergyScanResult *aResult) |
uint8_t | otLinkGetChannel (otInstance *aInstance) |
Get the IEEE 802.15.4 channel. More... | |
otError | otLinkSetChannel (otInstance *aInstance, uint8_t aChannel) |
Set the IEEE 802.15.4 channel. More... | |
const otExtAddress * | otLinkGetExtendedAddress (otInstance *aInstance) |
Get the IEEE 802.15.4 Extended Address. More... | |
otError | otLinkSetExtendedAddress (otInstance *aInstance, const otExtAddress *aExtAddress) |
This function sets the IEEE 802.15.4 Extended Address. More... | |
void | otLinkGetFactoryAssignedIeeeEui64 (otInstance *aInstance, otExtAddress *aEui64) |
Get the factory-assigned IEEE EUI-64. More... | |
int8_t | otLinkGetMaxTransmitPower (otInstance *aInstance) |
This function returns the maximum transmit power setting in dBm. More... | |
void | otLinkSetMaxTransmitPower (otInstance *aInstance, int8_t aPower) |
This function sets the maximum transmit power in dBm. More... | |
otPanId | otLinkGetPanId (otInstance *aInstance) |
Get the IEEE 802.15.4 PAN ID. More... | |
otError | otLinkSetPanId (otInstance *aInstance, otPanId aPanId) |
Set the IEEE 802.15.4 PAN ID. More... | |
uint32_t | otLinkGetPollPeriod (otInstance *aInstance) |
Get the data poll period of sleepy end device. More... | |
void | otLinkSetPollPeriod (otInstance *aInstance, uint32_t aPollPeriod) |
Set the data poll period for sleepy end device. More... | |
otError | otLinkSendDataRequest (otInstance *aInstance) |
This function enqueues an IEEE 802.15.4 Data Request message for transmission. More... | |
otShortAddress | otLinkGetShortAddress (otInstance *aInstance) |
Get the IEEE 802.15.4 Short Address. More... | |
void | otLinkSetPcapCallback (otInstance *aInstance, otLinkPcapCallback aPcapCallback, void *aCallbackContext) |
This function registers a callback to provide received raw IEEE 802.15.4 frames. More... | |
bool | otLinkIsPromiscuous (otInstance *aInstance) |
This function indicates whether or not promiscuous mode is enabled at the link layer. More... | |
otError | otLinkSetPromiscuous (otInstance *aInstance, bool aPromiscuous) |
This function enables or disables the link layer promiscuous mode. More... | |
const otMacCounters * | otLinkGetCounters (otInstance *aInstance) |
Get the MAC layer counters. More... | |
otError | otLinkActiveScan (otInstance *aInstance, uint32_t aScanChannels, uint16_t aScanDuration, otHandleActiveScanResult aCallback, void *aCallbackContext) |
This function starts an IEEE 802.15.4 Active Scan. More... | |
bool | otLinkIsActiveScanInProgress (otInstance *aInstance) |
This function indicates whether or not an IEEE 802.15.4 Active Scan is currently in progress. More... | |
otError | otLinkEnergyScan (otInstance *aInstance, uint32_t aScanChannels, uint16_t aScanDuration, otHandleEnergyScanResult aCallback, void *aCallbackContext) |
This function starts an IEEE 802.15.4 Energy Scan. More... | |
bool | otLinkIsEnergyScanInProgress (otInstance *aInstance) |
This function indicates whether or not an IEEE 802.15.4 Energy Scan is currently in progress. More... | |
bool | otLinkIsInTransmitState (otInstance *aInstance) |
This function indicates whether or not an IEEE 802.15.4 MAC is in the transmit state. More... | |
This file implements the OpenThread Link API.