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

Interface: MLME_DISASSOCIATE

The MLME-SAP dissassociation primitives define how a device can disassociate with a PAN.
Author: Joe Polastre

Commands

Events

Commands - Details

request

void request(uint64_t DeviceAddress, IEEE_status DisassociateReason, bool SecurityEnable)

Request to disassociate with a PAN. See page 71 of the IEEE 802.15.4 specification.

Parameters:

DeviceAddress - 64-bit address of the device to which to send the disassociation notification command

DisassociateReason - Reason the node is disassociating

SecurityEnable - TRUE if security is enabled for this transfer

Events - Details

indication

void indication(uint64_t DeviceAddress, IEEE_status DisassociateReason, bool SecurityUse, uint8_t ACLEntry)

Provide notification that a device has requested to associate with a PAN identifier.

Parameters:

DeviceAddress - the 64-bit address of the requesting device

DisassociateReason - Reason the node is disassociating

SecurityUse - TRUE if security was enabled for the request

ACLEntry - The macSecurityMode parameter value from the ACL entry associated with the sender of the data frame. This value is set to 0x08 if the sender of the data frame was not found in the ACL.