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
Param | Description |
---|---|
AssocShortAddress | Short address allocated by the coordinator |
status | Result 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.