forked from xuos/xiuos
fixed opcua_demo compilation error
This commit is contained in:
parent
37cbb51afa
commit
d1625c7d84
|
@ -72,17 +72,13 @@ static void test_ua_connect(void *arg)
|
||||||
UA_ClientConfig_setDefault(config);
|
UA_ClientConfig_setDefault(config);
|
||||||
|
|
||||||
|
|
||||||
ua_print("cfg ------>\n");
|
|
||||||
|
|
||||||
retval = UA_Client_connect(client, test_uri);
|
retval = UA_Client_connect(client, test_uri);
|
||||||
if (retval != UA_STATUSCODE_GOOD)
|
if (retval != UA_STATUSCODE_GOOD)
|
||||||
{
|
{
|
||||||
ua_print("tcp: tcp client closed\r\n");
|
ua_print("ua: [%s] connect failed\n", __func__);
|
||||||
tcp_recved(tpcb, p->tot_len);
|
|
||||||
return tcp_close(tpcb);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ERR_OK;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_ua_connect_thr(void *arg)
|
void test_ua_connect_thr(void *arg)
|
||||||
|
|
|
@ -269,7 +269,7 @@ void ua_add_nodes(UA_Client *client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int ua_run_test(UA_Client *client)
|
int ua_get_server_info(UA_Client *client)
|
||||||
{
|
{
|
||||||
UA_StatusCode retval;
|
UA_StatusCode retval;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue