2.13.1 USR_MLME_CommStatusInd callback Function

C

void USR_MLME_CommStatusInd(WPAN_AddrSpec_t *SrcAddrSpec, WPAN_AddrSpec_t *DstAddrSpec, uint8_t status);

Summary

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

Description

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

Precondition

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

Parameters

ParamDescription
SrcAddrSpecPointer to source address specification
DstAddrSpecPointer to destination address specification
statusResult for related response operation

Returns

None.

Example

void USR_MLME_CommStatusInd(WPAN_AddrSpec_t *SrcAddrSpec, WPAN_AddrSpec_t *DstAddrSpec, uint8_t status);

{
    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.