2.6.2 USR_MLME_AssociateConf callback Function

C

void USR_MLME_AssociateConf(uint16_t AssocShortAddress, uint8_t status)

Summary

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

Description

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

Precondition

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

Parameters

ParamDescription
AssocShortAddressShort address allocated by the coordinator
statusResult of requested association operation

Returns

None.

Example

void USR_MLME_AssociateConf(uint16_t AssocShortAddress, uint8_t status)

{
    AssocShortAddress = AssocShortAddress;
    status = status;
}

Remarks

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