src/lib/occlib/ipc_core.c
///////////////////////////////////////////////////////////////////////////////
/// Set the target ID for a multi-target command message.
///
Set the target ID for a multi-target command message.
Set the target ID for a multi - target command message .
int ipc_set_cmd_target(ipc_msg_t* cmd, uint32_t target_id)
{
    int rc = IPC_RC_SUCCESS;
    do
    {
        if(!cmd->func_id.multi_target_flag)
        {
            rc = IPC_RC_INVALID_FUNC_ID;
            break;
        }
        else
        {
            cmd->func_id.target_id = target_id;
        }
    }
    while(0);
    return rc;
}
int ipc_set_cmd_target ( ipc_msg_t * cmd , uint32_t target_id ) { int rc = IPC_RC_SUCCESS ; do { if ( ! cmd -> func_id . multi_target_flag ) { rc = IPC_RC_INVALID_FUNC_ID ; break ; } else { cmd -> func_id . target_id = target_id ; } } while ( 0 ) ; return rc ; }
Set the target ID for a multi-target command message.
Set the target ID for a multi - target command message .
//verify that this is a muti-target function