Commit Graph
35 Commits
Author SHA1 Message Date
Stefan Profanter ac16287c86 feat(nodeset-compiler): Add support for Structure inside Extension Object 2020-01-21 10:08:11 +01:00
Stefan Profanter 33c93905da fix(cmake): Add IMPORT_BSD option from generate_datatypes to upper generate_ns_and_datatypes 2019-12-09 12:28:20 +01:00
Stefan Profanter addf2adfae fix(ns): Rename Minimal.xml to Reduced.xml to match CMake options
See also #3232
2019-11-08 20:08:09 +01:00
Julius Pfrommer fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +02:00
Stefan Profanter fcbbf7db7a CMake: Copy missing files to build dir to allow usage of -Dopen62541_DIR 2019-04-05 12:15:36 +00:00
Stefan Profanter 63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Stefan Profanter f29e3349bf Examples: Use generated list of sources for nodeset 2019-03-21 20:16:31 +01:00
Julius Pfrommer c9c818868f Move header files to a more unix-like structure
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
jrcoding 1c13dc59f6 Examples: Support standalone build of examples 2019-02-28 09:07:40 +01:00
Stefan Profanter 7ea5a142ba Examples: Set correct target dependency 2019-02-27 11:43:53 +01:00
matkonnerth 6afa8c0fdf NodesetCompiler: enhancement for extension objects, array initialization
changes to testnodeset.xml
	geändert:       ../examples/nodeset/testnodeset.xml

NodesetCompiler: generate code for array within ExtensionObject

first prototype

generate nested array code

prototype nested array

added array1size

fix nodeset.xml

nodes

get the right type array

fixed datatypes.py

cleanup

cleanup debug comments

remove whitespace

remove trailing whitespaces
2019-02-25 18:26:14 +01:00
Julius Pfrommer e2df239750 CMake: Make the default examples not depend on the ua-nodeset submodule 2019-02-20 17:40:10 +01:00
Frank Meerkoetter 1648fb8aaa Use EXIT_SUCCESS/FAILURE for the examples
Make use of EXIT_SUCCESS and EXIT_FAILURE from stdlib.h.
The previous approach of returning a value from UA_StatusCode
was often broken as an exit code can (portably) only be between 0 and 125.
2019-02-09 09:34:46 +01:00
Frank Meerkoetter 126a8820e6 Remove misleading/outdated comments 2019-02-05 07:58:15 +01:00
Frank Meerkoetter f94a12cb9a fix copy&paste from plcopen 2019-02-05 07:58:15 +01:00
Frank Meerkoetter ba2616e0f1 Spelling and whitespace fixes 2019-02-05 07:58:15 +01:00
engel b2204508d3 powerlink example 2019-01-31 13:47:40 +01:00
matkonnerth bbafc24568 Provide information for ExtensionObject decoding via DataTypeDictionaryType 2019-01-10 17:24:48 +01:00
matkonnerth b864e0e03c Nodeset-Compiler: Remove binary encoding from namespace generation 2019-01-09 17:52:45 +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 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 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
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 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 add1b806ac Add example for value array 2017-11-04 19:19:35 +01: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