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

Interface: MLME_ASSOCIATE

The MLME-SAP association primitives define how a devices becomes associated with a PAN.
Author: Joe Polastre

Commands

Events

Commands - Details

request

void request(uint8_t LogicalChannel, uint8_t CoordAddrMode, uint16_t CoordPANId, uint8_t *CoordAddress, uint8_t CapabilityInformation, bool SecurityEnable)

Request to associate with a PAN. See page 64 of the IEEE 802.15.4 specification.

Parameters:

LogicalChannel - The logical channel on which to attempt association

CoordAddrMode - The coordinator addressing mode

CoordPANId - The 16 bit PAN identifier of the coordinator

CoordAddress - Individual device address of the coordinator as per the CoordAddrMode

CapabilityInformation - Specifies the operational capabilities of the associating device

SecurityEnable - TRUE if security is enabled for this transfer


response

void response(uint64_t DeviceAddress, uint16_t AssocShortAddress, IEEE_status status, bool SecurityEnable)

Send a response to a device's request to associate

Parameters:

DeviceAddress - the 64-bit address of the device to respond to

AssocShortAddress - The short device address allocated by the coordinator on successful allocation.

status - The status of the association attempt

SecurityEnable - TRUE if security is enabled for this transfer

Events - Details

indication

void indication(uint64_t DeviceAddress, uint8_t CapabilityInformation, 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

CapabilityInformation - Specifies the operational capabilities of the associating device

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.