TI-15.4 Stack API
|
#include <api_mac.h>
Data Fields | |
uint8_t | scanChannels [APIMAC_154G_CHANNEL_BITMAP_SIZ] |
ApiMac_scantype_t | scanType |
uint8_t | scanDuration |
uint8_t | channelPage |
uint8_t | phyID |
uint8_t | maxResults |
bool | permitJoining |
uint8_t | linkQuality |
uint8_t | percentFilter |
ApiMac_sec_t | sec |
bool | MPMScan |
uint8_t | MPMScanType |
uint16_t | MPMScanDuration |
MLME scan request type
uint8_t _apimac_mlmescanreq::scanChannels[APIMAC_154G_CHANNEL_BITMAP_SIZ] |
Bit mask indicating which channels to scan
ApiMac_scantype_t _apimac_mlmescanreq::scanType |
The type of scan
uint8_t _apimac_mlmescanreq::scanDuration |
The exponent used in the scan duration calculation
uint8_t _apimac_mlmescanreq::channelPage |
The channel page on which to perform the scan
uint8_t _apimac_mlmescanreq::phyID |
PHY ID corresponding to the PHY descriptor to use
uint8_t _apimac_mlmescanreq::maxResults |
The maximum number of PAN descriptor results, these results will be returned in the scan confirm.
bool _apimac_mlmescanreq::permitJoining |
Only devices with permit joining enabled respond to the enhanced beacon request
uint8_t _apimac_mlmescanreq::linkQuality |
The device will respond to the enhanced beacon request if mpduLinkQuality is equal or higher than this value
uint8_t _apimac_mlmescanreq::percentFilter |
The device will then randomly determine if it is to respond to the enhanced beacon request based on meeting this probability (0 to 100%).
ApiMac_sec_t _apimac_mlmescanreq::sec |
The security parameters for this message
bool _apimac_mlmescanreq::MPMScan |
When TRUE, scanDuration is ignored. When FALSE, scan duration shall be set to scanDuration; MPMScanDuration is ignored
uint8_t _apimac_mlmescanreq::MPMScanType |
BPAN or NBPAN
uint16_t _apimac_mlmescanreq::MPMScanDuration |
If MPMScanType is BPAN, MPMScanDuration values are 0-14. It is used in determining the max time spent scanning for an EB in a beacon enabled PAN on the channel. [aBaseSuperframeDuration * 2^n symbols], where n is the MPMScanDuration. If MPMScanType is NBPAN, valid values are 1 - 16383. It is used in determining the max time spent scanning for an EB in nonbeacon-enabled PAN on the channel. [aBaseSlotDuration * n] symbols, where n is MPMScanDuration.