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.
msg_ptr | Reference to the related Tx message object. When the callback function returns the reference is no longer valid. |
result | The transmission result. |
info | Detailed INIC transmission result, which might be helpful for debug purposes. |
user_ptr | User reference provided in Ucs_InitData_t::user_ptr |