Logo
UNICENS V2.3.0-4567
User Manual and API Reference
Ucs_Cmd_Handler_Function_t Ucs_Cmd_DecodeMsg ( Ucs_Inst_t self,
Ucs_AmsRx_Msg_t msg_rx_ptr 
)

Decode an MCM message.

Function expects that the MessageId Table ends with a termination entry (handler_function_ptr == NULL). If this entry is not present, the search may end in an endless loop.

Parameters
selfPointer to the Ucs instance
msg_rx_ptrReference to the message to decode
Returns
Pointer to the handler function or NULL in case the MessageId did not match.