2.7.2 USR_MLME_DisassociateConf callback Function
C
void USR_MLME_DisassociateConf(uint8_t status, WPAN_AddrSpec_t *DeviceAddrSpec)
Summary
Callback function that must be implemented by application (NHLE) for MAC service MLME-DISASSOCIATE.confirm.
Description
This function implemented by application (NHLE) for MAC service MLME-DISASSOCIATE.confirm.
Precondition
WPAN_Init() should have been called before calling this function.
Parameters
Param | Description |
---|---|
status | Result of requested disassociate operation |
DeviceAddrSpec | Pointer to WPAN_AddrSpec_t structure for device that has either requested disassociation or been instructed to disassociate by its coordinator |
Returns
None.
Example
void USR_MLME_DisassociateConf(uint8_t status, WPAN_AddrSpec_t *DeviceAddrSpec)
{
SrcAddrSpec = SrcAddrSpec;
DstAddrSpec = DstAddrSpec;
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.