ML7065-033 User’s Manual
Chapter 7 Commands
31
7.3.25 MLME-SCAN.request
Function: Performs a channel scan over a given list of channels
Command symbol: 0x58
Access: MAC
No. Parameter Type
Value
range
Description
ScanType
B0 – B1 0x00 – 0x03
Scan Type
0x00: ED scan (FFD only)
0x01: Active scan (FFD only)
0x02: Passive scan
0x03: Orphan scan
1
Pad
B2 – B7
2 ScanChannels[0]
3 ScanChannels[1]
4 ScanChannels[2]
5 ScanChannels[3]
U8
×
4 32-bit
field
The 27 least significant bits indicate which
channels are to be scanned.
(1=Scan, 0=Do not scan)
ScanDuration
B0 – B3 0 – 14
Number of symbols during scanning
6
Pad
B4 – B7
* When ScanType is 0x03, the detection window is configured using the value of ScanDuration. If a detection
window specified in IEEE 802.15.4-2003 is required, set ScanDuration to 0x05.
7.3.26 MLME-SCAN.confirm
Function: Reports the results of the scan request
Command symbol: 0x59
Access: MAC
No. Parameter
Type
Value
range
Description
1 Status
U8
SUCCESS,
NO_BEACON,
INVALID_PARAMETER
Status indicating the results of the scan
request
ScanType
B0 – B1
0x00 – 0x03
Scan Type
0x00: ED scan (FFD only)
0x01: Active scan (FFD only)
0x02: Passive scan
0x03: Orphan scan
2
Pad
B2 – B7
—
—
3 UnscannedChannels U32 32-bit
field
Indicates, with bits, which of the channels in
the request were not scanned
1 = Not scanned
0 = Scanned or not requested
4
ResultListSize
U8
The umber of entries in the scan result list
5 EnergyDetectList
*
List of integers (0x00 –
0xFF)
List of energy levels that were detected during
the ED (Energy Detect) scan
6 PANDescriptorList
List of
PAN
descriptor
values
(Refer to IEEE
802.15.4-2003)
List of PANDescriptors
* For details of PANDescriptorList, refer to Section 7.3.37, “PANDescriptor Details.”