2.9.2 USR_MCPS_DataConf callback Function

C

void USR_MCPS_DataConf(uint8_t msduHandle, uint8_t status, uint32_t Timestamp)

Summary

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

Description

This function implemented by application (NHLE) for MAC service MCPS-DATA.confirm.

Precondition

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

Parameters

ParamDescription
msduHandleHandle of MSDU handed over to MAC earlier
statusResult for requested data transmission request
TimestampThe time, in symbols, at which the data were transmitted, this parameter is only available if timestamping is enabled via compile switch ENABLE_TSTAMP

Returns

None.

Example

USR_MCPS_DataConf(uint8_t msduHandle, uint8_t status, uint32_t Timestamp)
{
msduHandle = msduHandle;
status = status;
Timestamp = Timestamp;
}

Remarks

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