Commit Graph

816 Commits

Author SHA1 Message Date
Julius Pfrommer
e74b4bf832 simplify datetime handling. 2017-12-12 22:09:55 +01:00
StalderT
53de7fd986 fix mem leak in client_connect_loop 2017-12-12 10:21:59 +01:00
StalderT
a11f76ba93 fix #1342 2017-12-06 22:31:08 +01:00
Jose Cabral
6c82b082c8 Fix missing code for VxWorks 2017-12-01 16:13:19 +01:00
StalderT
d5e71be17d add custom hostname (#1382)
* add custom hostname

* Add unit test for set_customHostname
2017-11-21 12:52:47 +01:00
Stefan Profanter
2c62703613 Fix #1360 socket error messages and mDNS socket on windows 2017-11-19 10:44:57 +01:00
StalderT
d7adcf8550 fix #1364 (#1366)
* fix #1364

* fix #1364
2017-11-15 13:49:05 +01:00
StalderT
d96500feb0 adding samplingInterval to UA_Client_Subscriptions_addMonitoredItem (#1351)
* adding samplingInterval parameter to UA_Client_Subscriptions_addMonitoredEvent

* adding samplingInterval parameter

* adding samplingInterval parameter

* adding samplingInterval parameter
2017-11-14 15:42:19 +01:00
StalderT
32725bdada Update server_certificate.c 2017-11-07 14:36:34 +01:00
Stefan Profanter
ace26ed6ea Use new server config 2017-11-06 14:09:17 +01:00
Stefan Profanter
add1b806ac Add example for value array 2017-11-04 19:19:35 +01:00
Julius Pfrommer
5bb52f563f vartype tutorial: move type under the correct supertype 2017-10-23 22:04:22 +02:00
Julius Pfrommer
67dbb4cf18 move POSIX definitions out of the public header 2017-10-19 19:33:58 +02:00
Stefan Profanter
f96ad71d0d
Better error output 2017-10-16 15:26:36 +02:00
Stefan Profanter
8397f566b8
Improve error output for easier debugging 2017-10-13 13:35:57 +02:00
Stefan Profanter
c205c4d545
Do not depend on ua-nodeset submodule if UA_ENABLE_FULL_NS0=ON 2017-10-13 11:11:48 +02:00
Stefan Profanter
6bf0f47346
Set target dependencies between types, NS files and executables
This fixes race conditions on multicore compile
2017-10-13 10:56:10 +02:00
Stefan Profanter
2f9a1ce242
Use ua-nodeset repository instead of local nodeset copy
Add unit test and example for PLCopen
2017-10-12 17:26:31 +02:00
Stefan Profanter
c504699ff2
Fix memory leaks and compile errors 2017-10-12 17:25:07 +02:00
Stefan Profanter
d15902e9ed
Use new nodeset compiler for example 2017-10-12 17:25:07 +02:00
Stefan Profanter
9d582a7d13
Fix node ordering and successfully generate code for full NS0 2017-10-12 17:25:07 +02:00
Stasik0
6a91d84bcb
implemented topological sort 2017-10-12 17:25:06 +02:00
Markus Graube
d0efc73622
Alternative for sorting in namespace compiler
* introduce `--high-level-api` option for namespace compiler
* make nodeset_example.xml more complex
2017-10-12 17:25:06 +02:00
Julius Pfrommer
5ec8dd51ec fix tests with UA_ENABLE_MULTITHREADING and UA_ENABLE_TYPENAMES disabled 2017-09-21 17:46:30 +02:00
Julian Grothoff
b9673ee0bb Use the nodestore plugin in the server 2017-09-21 17:46:30 +02:00
Julius Pfrommer
e0058770c9 rename /plugins/ua_config_standard.* to /plugins/ua_config_default.* 2017-09-21 17:46:30 +02:00
Christian von Arnim
ecbd67bd11 Add example client/server for nodemanagement access control 2017-09-17 20:24:40 +02:00
Julius Pfrommer
e2fbdeab5c fix a gcc-7 warning 2017-09-11 19:51:04 +02:00
Stefan Profanter
e80f16b1d0
Fix locale 2017-09-09 00:50:55 +02:00
Stefan Profanter
cd8b0c8a82
Untabify 2017-09-09 00:48:56 +02:00
Stefan Profanter
3ca23f3aca Merge pull request #1182 from jonasgreen88/topic-localeid
Corrected format of LocaleId in LocalizedText attributes
2017-09-07 12:09:21 +02:00
Stefan Profanter
de446d6d4a Merge pull request #1197 from open62541/feature/custom_types
Create examples for custom datatypes
2017-09-07 11:08:31 +02:00
Stefan Profanter
61f5018854
Merge remote-tracking branch 'upstream/master' into hotfix/localeid
# Conflicts:
#	examples/client.c
#	examples/discovery/server_multicast.c
#	examples/discovery/server_register.c
#	examples/server.c
#	examples/server_inheritance.c
#	examples/tutorial_server_datasource.c
#	examples/tutorial_server_variabletype.c
2017-09-07 10:28:44 +02:00
Muddasir-Shakil
02f31d972a
Create examples for custom datatypes
Includes examples for client and server. The data type used is 3D point example.
2017-09-07 09:42:43 +02:00
Julius Pfrommer
0b8760eefe set variable accesslevel to writable in the examples 2017-09-06 01:08:05 +02:00
Julius Pfrommer
215b077f57 use _default attributes in all examples 2017-09-06 01:08:05 +02:00
Julius Pfrommer
e5cd74750a use default node attributes in the server example 2017-09-04 12:09:40 +02:00
Jonas Green
7a58e6c0a5 Corrected format of LocaleId in LocalizedText attributes
The LocaleIds was formatted with an underscore as separator between
the language and region. According to the OPC UA specification the
language and the region shall be separated by a hyphen.
Also removed LocaleId in those cases where a specific language is not
addressed, i.e. when presenting a type name.
2017-08-29 10:08:15 +02:00
Stefan Profanter
bd97f9a482 Set client to error state if disconnected. Add example for reconnect (#1172)
When the server side is closed while the client is connected,
the client should be set to error state, which causes a reconnect on the
next connect call.

Additionally the `UA_sleep_ms` macro is added.

Add unit test for client reconnect
2017-08-22 09:40:02 +02:00
Frank Meerkötter
ee781f50c2 client side event support (#1161)
This patchset adds client side support for Events
2017-08-21 10:49:52 +02:00
Julius Pfrommer
9c4faf8551 add changelog entries for the recent changes to the public API 2017-08-18 15:00:00 +02:00
Julius Pfrommer
394df3be8d finish nodeContext pointer for every node 2017-08-18 15:00:00 +02:00
Frank Meerkötter
3d874ad93b Unbreak the build (#1162)
* Unbreak the build

I suspect that this is a fallout from
commit a8012d3040
Author: Infinity95 <mark.giraud@student.kit.edu>
Date:   Thu Aug 10 19:00:32 2017 +0200

    endpoints in the server config; new/delete functions for the server config

* UA_ConnectionConfig_default already contains a network layer
2017-08-17 10:38:24 +02:00
Infinity95
a8012d3040 endpoints in the server config; new/delete functions for the server config 2017-08-15 09:52:34 +02:00
Infinity95
5c939bd176 more code groups for Visual Studio; more gitignore definitions 2017-08-15 09:52:34 +02:00
Stefan Profanter
bfe37de61c Consistent naming of targets 2017-08-11 10:53:58 +02:00
Stefan Profanter
acb35c337f Fix occasional build errors on travis/appveyor
There were again occasional build errors due to a race condition which
causes the amalagamation to start two times a the same moment and thus
one overwrites the other.

This should fix it.

Additionally the amalgamation sources are only
needed if amalgamation is enabled. Thus open62541 target now only
depends on the amalgamated header
2017-08-07 17:19:15 +02:00
Julius Pfrommer
934496a84a add printf-format function attributes for gcc; fix all logging warnings 2017-08-06 13:24:53 +02:00
Julius Pfrommer
b1ebf84f24 fix building the client example without subscriptions 2017-07-25 00:18:28 +02:00
Julius Pfrommer
b45a77a6db define const global definitions for the default node attributes 2017-07-24 15:40:44 +02:00