ML7065-033 User’s Manual
Chapter 7 Commands
24
7.3.6 MLME-ASSOCIATE.request
Function: Requests an association with a coordinator
Command symbol: 0x45
Access: MAC
No. Parameter Type
Value
range
Description
1 LogicalChannel
U8
Selected from among the
available channels that PHY
supports
Logical channel on which to attempt
association
2
CoordAddrMode
U8
0x02 – 0x03
Addressing mode of the coordinator
0x02: 16-bit short address
0x03: 64-bit extended address
3 CoordPANId[0]
4 CoordPANId[1]
U16
0x0000 – 0xFFFF
PAN identifier of the coordinator
5 CoordAddress
*
(Depends on the value of
CoordAddrMode)
Device address of the coordinator
6 CapabilityInformation B0 – B7 (Refer to IEEE 802.15.4-2003)
Capabilities of the device that attempts
association
bit0: Alternate PAN coordinator
bit1: Device type
bit2: Power source
bit3: Receiver on when idle(*1)
bit4-5: Reserved
bit6: Security capability
bit7: Allocate address
SecurityEnable
B0
TRUE or FALSE
TRUE if security is enabled, or FALSE if
not
7
Pad B1
–
B7
*1: If “1” is specified for “Receiver on when idle,” MAC sets macRxOnWhenIdle to “1”.
If “0” is specified for “Receiver on when idle,” MAC sets macRxOnWhenIdle to “0”.
7.3.7 MLME-ASSOCIATE.confirm
Function: Reports the results of association
Command symbol: 0x46
Access: MAC
No. Parameter Type
Value
range
Description
1
AssocShortAddress
U16
0x0000 – 0xFFFF
Short device address at the time the
associate request was successful (0xFFFF
if the request failed)
2 Status
U8
SUCCESS,
CHANNEL_ACCESS_FAILURE,
NO_ACK,
NO_DATA,
UNAVAILABLE_KEY,
FAILED_SECURITY_CHECK,
INVALID_PARAMETER
Status indicating the result of association