Commit Graph

109 Commits

Author SHA1 Message Date
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
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
Julius Pfrommer
215b077f57 use _default attributes in all examples 2017-09-06 01:08:05 +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
Infinity95
a8012d3040 endpoints in the server config; new/delete functions for the server config 2017-08-15 09:52:34 +02:00
Julius Pfrommer
b1ebf84f24 fix building the client example without subscriptions 2017-07-25 00:18:28 +02:00
Julius Pfrommer
05820a2a1d Merge branch '0.2' 2017-04-14 19:04:52 +02:00
tbs2017
29f16f1ee6 Update client.c
ref->nodeId.nodeId.namespaceIndex is the interesting one, if one wants to work with the node found.
2017-04-06 16:43:16 +02:00
Julius Pfrommer
ce6f56c348 use amalgamated header for the examples 2017-02-09 23:07:10 +01:00
Julius Pfrommer
714f75aaa6 cosmetic: cleanup examples 2016-10-06 02:27:57 +02:00
Julius Pfrommer
49cbe90286 fix: objecttypes must have hassubtype relation to parent in the client
example
2016-10-06 02:00:21 +02:00
Julius Pfrommer
33051eaed6 cleanup cmake (#681)
* cleanup cmake

* fix readspeed example

* adjust travis and appveyor; use static lib for release

* fix unit test build

* fix server path

* install check for analysis phase

* fix caching packages

* fix assignment

* fix if then

* fix a variable expansion

* add trace outputs to environment install

* more logging

* fixing.,.

* fix a rm

* fix a typo

* fix path

* notifications only for 0.2 and master

* add missing file

* clean osx before install

* fix notification setting

* fix python

* fix an unit test issue
2016-07-18 15:15:23 +02:00
Julius Pfrommer
95c65f19f0 use highlevel API for the readme example 2016-07-07 03:03:00 +02:00
Julius Pfrommer
54daafd37a rename plugins to begin with ua_ 2016-06-27 07:16:33 +02:00
Julius Pfrommer
24f5a886fc fix use of inttypes.h printf formatters in example 2016-05-31 14:09:16 +02:00
Julius Pfrommer
823dd17de6 remove magic numbers in client; improve logging 2016-05-28 01:54:19 +02:00
Julius Pfrommer
9eaeba6a8b cosmetic improvements 2016-05-23 15:25:20 +02:00
Julius Pfrommer
999bdef64a split the MessageTypeAndFinal type, cherry-picked from chunking_callback 2016-05-10 23:08:24 +02:00
Julius Pfrommer
2af51b18da Refactor subscriptions to use different sampling and response intervals for subscriptions and monitoreditems 2016-05-08 20:17:26 +02:00
Markus Graube
6d840cd836 Fix call to anonymous client connect 2016-04-27 11:34:54 +02:00
Julius Pfrommer
5e87c1db68 move logger and connection-function into the client config (#585)
* move logger and connection-function into the client config;
move the standard config definition into a plugin

* remove redundant definition from example servers
2016-04-19 21:38:54 +02:00
Julius Pfrommer
10263a4a64 still fixing printing size_t on mingw 2016-03-26 15:51:52 +01:00
Julius Pfrommer
57ef06572e platform-independent printing of size_t required 2016-03-26 15:36:39 +01:00
Julius Pfrommer
375e1c932f use mingw/msvc compatible printing of size_t 2016-03-26 14:15:27 +01:00
ichrispa
d354cf723f Also in terms of the symmetric API, the UA_Client_writeAttribute<X> function set appears to have vanished. UA_Client_writeAttributeValue was restored in accordance with @jpfr's new implementation. 2016-03-15 19:35:15 +01:00
ichrispa
3dcae4daea UA_Client_forEachChildNodeCall had somehow vanished from the otherwise symmetric API - and is now back. 2016-03-15 18:56:40 +01:00
Stasik0
d81279feb0 adding usernamepassword auth to client, fixing a username/pass struct bug in the server 2016-03-15 09:25:03 +01:00
Julius Pfrommer
a6fbd5cf3a Merge of Pro's travis infrastructure migration
Closing #551 with this.

Squashed commit of the following:

commit 11f904349a
Author: Stefan Profanter <git@s.profanter.me>
Date:   Thu Mar 3 16:06:41 2016 +0100

    Caching install dir

commit fce4424439
Merge: 8eed598 559b88e
Author: Stefan Profanter <git@s.profanter.me>
Date:   Thu Mar 3 15:29:52 2016 +0100

    Merge remote-tracking branch 'upstream/master' and resolve conflicts

commit 8eed598e12
Author: Stefan Profanter <git@s.profanter.me>
Date:   Thu Mar 3 15:22:09 2016 +0100

    Use valgrind 3.11

commit 2def5858cd
Author: Stefan Profanter <git@s.profanter.me>
Date:   Wed Mar 2 08:32:01 2016 +0100

    Using -j8 flag for make

commit f75ea211d6
Merge: f0170c0 eb9b8e5
Author: Stefan Profanter <git@s.profanter.me>
Date:   Wed Mar 2 08:30:45 2016 +0100

    Merge remote-tracking branch 'upstream/simpify_amalgate'

commit eb9b8e5742
Author: Stasik0 <github@stasik.com>
Date:   Wed Mar 2 08:19:06 2016 +0100

    trying to make CMake simpler, by removing additional dependencies

commit f0170c06ea
Author: Stefan Profanter <git@s.profanter.me>
Date:   Wed Mar 2 00:08:58 2016 +0100

    Minor build fixes
    - Add amalgamation to server-static
    - Only switch to gcc-4.8 if gcc is used
    - Build coveralls only if gcc is used
    - cast return value in examples (causes clang to fail otherwise)

commit c1e0e40672
Author: Stefan Profanter <git@s.profanter.me>
Date:   Tue Mar 1 15:57:31 2016 +0100

    Cross compile only for gcc

commit eb8e7a2638
Author: Stefan Profanter <git@s.profanter.me>
Date:   Tue Mar 1 15:15:46 2016 +0100

    Allow ANALYZE=true builds to fail

commit e659d928bb
Author: Stefan Profanter <git@s.profanter.me>
Date:   Tue Mar 1 15:10:09 2016 +0100

    Using new travis build environment and cppcheck (fix #391 and fix #371)
2016-03-03 21:08:52 +01:00
Julius Pfrommer
fd58bd8f87 fix some unchecked sign conversions in the example code 2016-03-02 12:07:04 +01:00
Julius Pfrommer
34dafb78ce Use the less noisy C99 true/false throughout. But keep the UA_TRUE/UA_FALSE macros for compatibility 2016-02-29 18:28:23 +01:00
Julius Pfrommer
9f9c66b413 cosmetic improvements 2016-02-29 18:03:57 +01:00
Stasik0
086c8d63dc fixing some bugs in client side, relates to #543 2016-02-10 13:06:36 +01:00
Stasik0
b5e3b37402 Merge branch 'patch-9' of https://github.com/StalderT/open62541 into StalderT-patch-9
Conflicts:
	examples/client.c
2016-02-05 11:20:31 +01:00
Stasik0
4d509b6a9e Merge branch 'subs_cb_monid' of https://github.com/Aleskey78/open62541 into Aleskey78-subs_cb_monid
Conflicts:
	src/client/ua_client_internal.h
2016-02-05 11:15:12 +01:00
Julius Pfrommer
525e5a1404 align client getendpoints with naming conventions 2016-02-03 20:36:55 +01:00
StalderT
ab8298d0fd Update client.c 2016-02-01 13:42:14 +01:00
StalderT
1c76dc47cd Update client.c 2016-02-01 13:41:10 +01:00
Stasik0
fcf6e55fa3 Implemented UA_Client_getEndpoints function, relates to #313 2016-01-28 23:27:41 +01:00
Stasik0
a883dc3145 Merge branch 'master' into client_getEndpoints
Conflicts:
	examples/client.c
2016-01-28 22:41:37 +01:00
Julius Pfrommer
2ae7fef1e4 add Wshadow and Wconversion compiler flags; fix all warnings; networklayer takes the logger from the server at startup 2016-01-27 00:19:42 +01:00
Stasik0
586a24c952 fixing a typo in the last commit 2016-01-15 15:37:00 +01:00
Stasik0
f9e8a6cfcc replacing UA_ReadValueId_new() by UA_Array_new(&UA_TYPES[UA_TYPES_READVALUEID], 1); to increase the readabliliy 2016-01-15 15:32:10 +01:00
Oleksiy Vasylyev
e6387689d5 Subscription callback: using MonitoredItemId instead of ClientHandle
Suitable for lookup by MonitoredItemId
2016-01-13 18:16:07 +01:00
Stasik0
412bf6d64d Implemented UA_Client_getEndpoints function, relates to #313 2016-01-10 17:20:09 +01:00
Julius Pfrommer
53d67b4140 single server config struct 2016-01-06 14:17:50 +01:00
Julius Pfrommer
b04d6f867c Merge branch 'master' into cleanup_build 2015-12-13 15:12:49 +01:00
Oleksiy Vasylyev
3c5a972732 Adding context to a monitored item handling function.
Useful for passing extra data to callback, e.g. this pointer from a
wrapper c++ class.
2015-12-08 17:07:58 +01:00
Julius Pfrommer
b210b19ae2 cleanup build settings; remove old doxygen documentation 2015-12-08 15:06:25 +01:00
Julius Pfrommer
7f08e21937 compile methods 2015-10-31 11:22:53 +01:00
Julius Pfrommer
b36ad54e95 fix encoding of enums 2015-10-31 10:21:56 +01:00