Logo
UNICENS V2.3.0-4567
User Manual and API Reference
Ucs_Return_t Ucs_Cmd_AddMsgIdTable ( Ucs_Inst_t self,
Ucs_Cmd_MsgId_t msg_id_tab_ptr,
uint16_t  length 
)

Add a MessageId Table to the Command Interpreter.

Parameters
selfThe Ucs instance
msg_id_tab_ptrReference to MessageId Table
lengthNumber of table entries. Valid range: 1 .. 65535.
Returns
Possible return values are shown in the table below.
Value Description
UCS_RET_SUCCESS MessageId Table was successfully added
UCS_RET_ERR_BUFFER_OVERFLOW MessageId Table already added
UCS_RET_ERR_PARAM NULL pointer used as argument for MessageId Table reference