Stefan Profanter
66d2654c6e
Add debian packaging configuration
2018-12-19 16:21:17 +01:00
Stefan Profanter
36641ad6a5
cmake: Remove UA_NO_AMALGAMATION and use UA_ENABLE_AMALGAMATION instead
...
Since default build is without amalgamation, we should assume that and only
ifdefs is amalgamation is enabled
2018-12-19 01:59:38 +01:00
Stefan Profanter
e8499689e2
CI: Use make install to collect release files
2018-12-19 01:59:38 +01:00
Stefan Profanter
d715db1057
Stack: Use non-amalgamated headers in all the examples
...
For consistency we recommend using non-amalgamation install, thus the
examples should also use the non-amalgamated headers.
2018-12-17 22:40:07 +01:00
Stefan Profanter
0c62edab47
Avoid MinGW warning unknown conversion type character 'z' in format
2018-12-17 22:35:55 +01:00
Julius Pfrommer
eb9409b435
Examples: Use _clear instead of _deleteMembers for the examples
2018-12-09 19:40:02 +01:00
Julius Pfrommer
102b7dc693
Stack: Remove experimental UDP transport (for client/server) ( #2272 )
2018-12-05 09:49:10 +01:00
Julius Pfrommer
89f728aee1
Logging: Make logging a proper plugin with state and cleanup method
2018-12-04 18:39:12 +01:00
Stefan Profanter
4b2c73cd54
CMake: Add specific target for nodeid header generator
2018-12-04 14:50:45 +01:00
Stefan Profanter
05d4cd4f45
CMake: Correctly handle generation macros when installed
2018-12-04 14:50:45 +01:00
Stefan Profanter
a17733c46c
Add ua_generate_nodeset_and_datatypes
macro to simplify nodeset generation
2018-11-05 15:40:11 +01:00
Stefan Profanter
7d5be84376
NodesetCompiler: Add ua_generate_nodeset CMake macro
...
This makes nodeset compilation easier by providing a wrapper macro.
2018-11-05 15:40:11 +01:00
Stefan Profanter
0840848622
NodesetCompiler: Add ua_generate_datatypes CMake macro
...
This macro simplyfies the usage of the generate_datatypes.py script
2018-11-05 15:40:11 +01:00
StalderT
0dbd8b1d1f
rename open6251 to open62541 fix #2152
2018-10-31 10:54:57 +01:00
Stefan Profanter
e2d4b0bf03
Merge pull request #2085 from open62541/runtime_custom_types
...
Custom types at runtime
2018-10-23 10:21:16 +02:00
Martin Lang
4b9cb3c034
Replace ValueRanks by defines ( #2124 )
...
* Replace ValueRanks by defines
* Update tests/client/check_client_highlevel.c
2018-10-20 15:46:30 +02:00
Julius Pfrommer
564ad73257
Examples: Limit line length of PubSub tutorials for the HTML docs
2018-10-15 09:48:37 +02:00
Rudolf Hoyler
02e401c4e6
PubSub: Add layer 2 plugin
...
Signed-off-by: Rudolf Hoyler <rudolf.hoyler@kontron.com>
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Michael Walle <michael.walle@kontron.com>
2018-10-15 09:48:37 +02:00
Julius Pfrommer
49e0a0bb1e
Types: Add UA_DataTypeArray as a linked list for client/server
2018-09-28 17:09:22 +02:00
Mark Giraud
9310e39a06
Improve logging, error code handling and cosmetics
2018-09-19 18:44:14 +02:00
andreasebner
cf8a55353f
Enable PubSub tests and static code analysis ( #1833 )
...
* enable PubSub tests and static code analysis
* changed cleanup order
2018-08-31 11:31:58 +02:00
Ari
6c4594f54c
Elaborate on "mandatory" event fields
...
Change a few lines in documentation and example to point out the
necessity of the Time field if events should be monitored using UAExpert.
2018-08-28 23:10:56 +02:00
Ari
00eef714d6
Check if server_ctt certificate and private key are found
...
If the files aren't found give the user an error
2018-08-27 17:56:19 +02:00
Sameer AL-Qadasi
1d091f490c
add EventFields 'Time' and 'SourceName' in server events tutorial to show Events in UaExpert ( #1996 )
...
UaExpert Client needs the mandatory EventField 'Time' to show the events on Event View.
2018-08-21 15:35:08 +02:00
Julius Pfrommer
3f438c47cc
Use custom datatypes from the heap only
2018-08-15 20:10:58 +00:00
Jose Cabral
1605455a74
Fixes #1925 and clean examples
2018-07-25 08:17:51 +02:00
Julius Pfrommer
214d439988
Remove remaining use of UA_ENABLE_FULL_NS0
2018-07-20 19:58:47 +02:00
Stefan Profanter
473c0e960b
Use hostname resolving to correctly handle mDNS SRV target announces
2018-07-16 11:59:22 +02:00
Stefan Profanter
b6b58a8ea2
Use correct format specifier
2018-07-11 14:21:30 +02:00
Julius Pfrommer
adaa64f3fc
server_ctt starts without defined certificate
...
Before the server would just exist. This fixes #1853 .
2018-07-10 12:30:14 +02:00
Stefan Profanter
050a234c01
Merge remote-tracking branch 'upstream/master' into feature/architectures
...
# Conflicts:
# CMakeLists.txt
# arch/ua_network_tcp.c
2018-07-09 13:36:58 +02:00
Julius Pfrommer
83a83410cb
Improve testing of ValueRank - ArrayDimensions compatibility
2018-07-06 19:01:39 +02:00
Jose Cabral
cb061851bc
Merge branch 'master' into feature/architectures
2018-07-02 10:25:09 +02:00
Julius Pfrommer
4b33dad13c
CTT: Set specific ValueRank for scalar, vector, matrix examples
2018-07-01 15:51:26 +02:00
Julius Pfrommer
5e51850c10
CTT: Custom AccessControl policy that disallows user access to specific nodes
2018-07-01 15:51:26 +02:00
Julius Pfrommer
be1f304c18
CTT: Refactor generation of example nodes into a separate function
2018-07-01 15:51:26 +02:00
Julius Pfrommer
e050b9cb01
CTT: Add a ByteString variable with content for "Monitor Value Change"
2018-07-01 15:51:26 +02:00
Jose Cabral
fba3aa57a0
Get rid of some arch-dependant in examples and tests
2018-06-29 08:38:08 +02:00
Jose Cabral
49fa7cc4a0
Merge branch 'master' into feature/architectures
2018-06-28 11:04:00 +02:00
Julius Pfrommer
7d162cb53b
Make feature definitions conditional on build flags
2018-06-27 20:52:24 +02:00
Jose Cabral
ae149eb6d5
Merge branch 'master' into feature/architectures
2018-06-27 09:05:30 +02:00
ckmk14
d438c438cb
Create self-signed ApplicationInstanceCertificate ( #1865 )
...
* Create self-signed ApplicationInstanceCertificate
* Comments removed and changes to CMakeList
2018-06-22 23:13:50 +02:00
Stefan Profanter
fd304ae645
Allow to use NS ID script by adding additional parameter for NS name
...
This change allows to use the generate_nodeid_header script to create a
header file which contains defines for custom nodesets as shown in the
example.
2018-06-03 19:27:54 +02:00
Stefan Profanter
5486ba35a7
Merge remote-tracking branch 'upstream/master' into feature/architectures
2018-05-30 09:23:52 +02:00
Julius Pfrommer
b040314739
Improve PubSub subscriber example ( #1811 )
...
* PubSub: Fix memleaks in subscriber tutorial
* PubSub: Stack-allocate in the subscriber tutorial
* PubSub: In subscriber tutorial, evaluate receive error code; quit early
* PubSub: In subscriber example, use logging API instead of printf
* PubSub: Reduce the max indendation of the subscriber example; Add comments
* PubSub: Use short blocking wait times in subscriber example
* PubSub: Reduce the max line length in the subscriber example
2018-05-28 20:11:01 +02:00
Andreas Ebner
6aeb2fddf6
Added first part of the pubsub information model representation
2018-05-27 18:56:04 +02:00
Julius Pfrommer
71e9a44d1a
Use UA_Server_writeObjectProperty for the events tutorial
2018-05-25 16:04:31 +02:00
Julius Pfrommer
ca26ad318f
Small improvements to the server-side events tutorial
2018-05-25 16:04:31 +02:00
Stefan Profanter
443283f8e4
Merge remote-tracking branch 'upstream/master' into feature/architectures
...
# Conflicts:
# src/server/ua_services_discovery_multicast.c
# src/ua_util.h
2018-05-23 18:06:54 +02:00
Ari
81a1ed350e
[FEATURE] First implementation of events ( #1739 )
...
* implement a first version of events
events are briefly stored as nodes, enabling the developer to easily set attributes. Upon triggering the event the filter is immediately applied
* added copyright
* various fixes for events
proper license, full function names in comments and small improvements to comprehension in tutorial_server_events.c. Added a message for when an EventFiler cant be malloc'd. Name improvement for the lists generated by callForEachChild. Events no longer have a name and description. Declared methods only used in subscription_events.c as static.
* further fixes for events
Rename UA_ENABLE_EVENTS to UA_ENABLE_SUBSCRIPTION_EVENTS. Do not #include <queue.h> in ua_plugin_nodestore.h. Ensure either ChangeNotify or EventNotify are being passed to a monitored item. Traded several pointers for their actual objects. Added constness to the public API. Events can only be enabled together with subscriptions and the full ns0
* Fix problems being caused in check_client_subscriptions
* even more fixes for events
removed useless backslashes for the monitoredItemList declaration, moved comment outside of the define for UA_EVENT_ATTRIBUTES, added UA_EXPORT to the declaration of UA_Server_createEvent and UA_Server_triggerEvent, renamed outId to outEventId, fixed up argument definitions for the functions, moved the generation of the overflow event to server_ns0.c, added catches for NULL as return parameters, EventId is returned in createEvent. Fixed up tutorial.
* solve merge conflicts
* fixup api
2018-05-23 17:42:08 +02:00