Logo
UNICENS V2.1.0-3491
User Manual and API Reference
typedef void(* Ucs_AmsTx_CompleteCb_t)(Ucs_AmsTx_Msg_t *msg_ptr, Ucs_AmsTx_Result_t result, Ucs_AmsTx_Info_t info, void *user_ptr)

Type of a callback function that is invoked as soon as a message transmission was finished.

The callback function notifies the result of a completed transmission. If the message has external payload, the application must decide whether to re-use or to free the external payload.

Parameters
msg_ptrReference to the related Tx message object. When the callback function returns the reference is no longer valid.
resultThe transmission result.
infoDetailed INIC transmission result, which might be helpful for debug purposes.
user_ptrUser reference provided in Ucs_InitData_t::user_ptr