2.6.4 USR_MLME_AssociateInd callback Function

C

void USR_MLME_AssociateInd(uint64_t DeviceAddress, uint8_t CapabilityInformation)

Summary

Callback function that must be implemented by application (NHLE) for MAC service MLME-ASSOCIATE.indication.

Description

This function implemented by application (NHLE) for MAC service MLME-ASSOCIATE.indication.

Precondition

WPAN_Init() should have been called before calling this function.

Parameters

ParamDescription
DeviceAddressExtended address of device requesting association
CapabilityInformationCapabilities of device requesting association. (@ref WPAN_CAP_ALTPANCOORD

Returns

None.

Example

void USR_MLME_AssociateInd(uint64_t DeviceAddress, uint8_t CapabilityInformation)

{
     DeviceAddress = DeviceAddress;
     CapabilityInformation = CapabilityInformation;
}

Remarks

There is weak function for this callback. User has to define own implementation for required operation on the reception of particular callback.