Apps     Components     Interfaces     All Files     Source Tree     source: beta.CC2420Radio.ieee.802.15.4.MLME.MLME_SCAN.nc

Interface: MLME_SCAN

The MLME-SAP scan primitives define how a device can determine the energy usage or the presence or absence of PANs in a communications channel.
Author: Joe Polastre

Commands

Events

Commands - Details

request

void request(uint8_t ScanType, uint32_t ScanChannels, uint8_t ScanDuration)

Used to initiate a channel scan over a given list of channels. A device can use a channel scan to measure the energy on the channel, search for the coordinator with which it is associated, or search for all coordinators transmitting beacon frames within the POS of the scanning device.

Parameters:

ScanType - The type of scan performed

ScanChannels - The 27 LSBs indicate which channels are to be scanned (1 = scan)

ScanDuration - Value used to calculate the length of time to spend scanning each channel for ED, active, and passive scans. This parameter is ignored for orphan scans.