Commit Graph

250 Commits

Author SHA1 Message Date
Julius Pfrommer af63a3f133 fix(doc): Add util.h to the generated documentation 2020-03-23 19:54:26 +01:00
Julius Pfrommer 14c69ad679 feat(core): Parsing of human-readable format for Guid and NodeId 2020-03-12 11:29:21 +01:00
Alexander Bluhm 23e7fc9617 doc(openbsd): binary package available
An official OpenBSD port of open62541 exists.  The binary package
is available as snapshot now and will be included in the upcoming
OpenBSD 6.7 release.  Put install instructions into the documention.
2020-02-28 08:23:07 +01:00
Julius Pfrommer 371ac9e0bb refactor(core): Rename include/open62541/constants.h -> include/open62541/common.h 2020-02-02 13:17:52 +01:00
Sameer AL-Qadasi ff87c2876d (feat): First Implementation of Alarms and Conditions (#2083)
* Update src/server/ua_subscription_events.c

* Alarms and Conditions First Implementation

implemented facets:
1- A&C Base Condition Server Facet (only mandatory)
2- A&C Enable Server Facet (only mandatory)
3- A&C Alarm Server Facet (only mandatory)
4- A&C Acknowledgeable Alarm Server Facet (complete, with ConfirmedState and Confirm Method)

Notes:
1) Change in ua_subscriptions_monitoreditem.c is related to issue #2114. Without that fix, the server crashes when generating OverflowEvents.

2) The Events: RefreshStart and RefreshEnd are abstract according to the specification. So to make it possible to create instances of them the fix in function "create_event()" is added (change abstract attribute of the EventType to false).

@basysKom-jvoe, I will be glad if you help reviewing the code:)

* some fixes

Update src/server/ua_subscription_alarms_conditions.c

* correcting example name

adding function prototype

* some fixes

1) keep events and A&C disabled and NS0 reduced in main CMakeLists
2) enable A&C in test scripts (Travis and Veyor)

* Update ua_subscription_alarms_conditions.c

fix som error handling

* Update ua_subscription_alarms_conditions.c

* fixing issues from first review

1) calculate size of array
2) correct misspelling
3) correct some comments

* Update ua_subscription_alarms_conditions.c

to retrigger travis test.
14 - subscription_events test fails randomly!

* fix memory leak issues

the function UA_NodeId_copy was used multiple times, however,  the memory allocated is not freed because only numeric NodeIds were used in testing. So using nun numeric NodeIds will cause memory leak.
Next commit/version should fix that issue.

* review fixes: comments 1 and 2

1) use new server logger function (PR rebase).
2) use values instead of pointers in A&C API functions for consistency

* Review: reduce indent

reducing indent by using "continue" inside if statements in loops

* Update tutorial_server_alarms_conditions.c

modify includes

* update to upstream master and fix some A&C Module issues

* fix CI test and some review issues

* fix some review issues

the previous commits fix issues mentioned in comments:
- https://github.com/open62541/open62541/pull/2083#discussion_r241070233
- https://github.com/open62541/open62541/pull/2083#discussion_r241072127
- https://github.com/open62541/open62541/pull/2083#discussion_r241076137
- https://github.com/open62541/open62541/pull/2083#discussion_r241076137
- https://github.com/open62541/open62541/pull/2083#discussion_r241079915
- https://github.com/open62541/open62541/pull/2083#discussion_r241082415
- https://github.com/open62541/open62541/pull/2083#discussion_r241083539
- https://github.com/open62541/open62541/pull/2083#discussion_r284586642
- https://github.com/open62541/open62541/pull/2083#discussion_r284587406
- https://github.com/open62541/open62541/pull/2083#discussion_r284589129

not resolved yet, need further discussion:
- https://github.com/open62541/open62541/pull/2083#discussion_r241072659
- https://github.com/open62541/open62541/pull/2083#discussion_r241075205

* some modification after rebase

* remove unused code + some fixes

* some fixes and modifications

changes:
- fix conflicting variable names
- pass FieldNames directly without help variable in
  "UA_Server_setConditionField"
- remove unused code
- add some comments
- correct indentation

* fix issues mentioned in review

* enable setting ConditionId when creating Condition Instances

* fix issues based on review

- pass variant instead of void* and type when setting Condition Fields and their Properties.

- Change RefreshEvents IsAbstract attribute to "False" when creating the Condition instead of doing that when generating the event.

- comment issue #2114 fix out (it seems to work fine after recent commits).

- modify A&C example according to changes.

* use A&C public API to set condition fields and properties

* check for Null pointer before comparing NodeIds

Co-Authored-By: andr <aandranikk@gmail.com>

* correct Typo

Co-Authored-By: andr <aandranikk@gmail.com>

* rebase + fix issues from review

some issues need further discussion before fixing them. Please see:
https://github.com/open62541/open62541/pull/2083#discussion_r326857289
https://github.com/open62541/open62541/pull/2083#discussion_r326857373

* fixup after rebase
2019-12-17 20:28:40 +01:00
Julius Pfrommer 91f6a20c63 Merge branch '1.0' 2019-12-16 21:09:21 +01:00
jrcoding 53793d9e79 feat(doc): example debian packaging inside docker container 2019-11-05 12:38:51 +01:00
Julius Pfrommer b0b902cbde feature(core): Make multithreading a non-experimental feature 2019-11-04 11:14:51 +01:00
jrcoding fecf931135 remove only leftovers dh_sphinxdoc ignores 2019-10-25 16:04:03 +02:00
jrcoding 39be483320 feat(debian): add PDF and HTML docs including examples 2019-10-25 16:04:03 +02:00
Julius Pfrommer ce5209d78d fix(doc): Update the description of the achieved certification 2019-09-23 18:13:25 +02:00
Julius Pfrommer b3a197c81e Merge branch 'fix_cert_docs' 2019-09-23 15:39:21 +02:00
Julius Pfrommer b5ae7902ca fix(doc): Update the description of the achieved certification 2019-09-23 15:38:03 +02:00
Julius Pfrommer b188c309e9 Merge branch '1.0' 2019-09-19 16:04:36 +02:00
Julius Pfrommer 67e643aee2 Mention certification in the docs 2019-09-19 16:03:01 +02:00
Silvio Traversaro 88ce0f3b1a docs(core): fix typo in building docs 2019-09-19 12:45:16 +02:00
Stefan Profanter cb6ed68f34 docs: Update building instructions for Examples to use pre-installed package 2019-09-18 16:58:17 +02:00
Jose Cabral f426e9bbba Add freeRTOS + LwIP building documentation 2019-09-17 15:12:41 +02:00
Stefan Profanter d61a15f3d4 docs: Add howto for specific architecture building 2019-09-17 15:12:41 +02:00
Klaus Schick cc94b6aa0f Server: Asynchronous Operations API / Implementation for methods 2019-09-12 15:20:01 +02:00
Julius Pfrommer 200b75acac Merge branch '1.0' 2019-09-04 18:06:05 +02:00
Ari 98f5033f1b docs: Add package to Arch User Repository (#2998)
* Add description for installing on Arch

* Add links to AUR
2019-09-04 08:24:16 +02:00
Stefan Profanter 01fae7b5b4 Merge remote-tracking branch '1.0' into master 2019-09-02 14:34:18 +02:00
Stefan Profanter 34412b148d fix(docs): Add info about pack branches
fixes #3001
2019-08-30 13:58:50 +02:00
Julius Pfrommer 3bf63f8cf6 Update FindCheck to upstream version 2019-08-22 07:51:39 +02:00
Ubuntu f4fb3de21e feat(server): Add locks, eliminate invocation of public sdk functions within the server and establish the macro UA_THREADSAFE 2019-08-19 23:36:03 +02:00
Ubuntu 2b3a8cbc91 feat(server): Adding multithreading architecture with additional refactoring 2019-08-19 23:36:03 +02:00
matkonnerth 777eb9339d Server: Read Datatype Definitions of Structures 2019-08-15 18:05:42 +02:00
Stefan Profanter bfdb9953dd Merge remote-tracking branch 'upstream/1.0' into master 2019-08-14 18:17:47 +02:00
Julius Pfrommer a709ff6bd5 Update FindCheck to upstream version 2019-08-13 07:08:14 +02:00
Stefan Profanter 044140acbe ci: Rename debian package to libopen62541 and correct debian recipe 2019-08-13 06:21:47 +02:00
Stefan Profanter 58d2864454 docs: Add note about OPEN62541_VERSION option 2019-08-13 06:21:47 +02:00
Stefan Profanter ea6f481935 Set correct dependency in debian package and push version to 1.0 2019-07-19 16:44:09 +02:00
jrcoding 225e29d6ff Fix: compatibility with CMake version 3.0.2 2019-07-13 19:16:18 +02:00
Stefan Profanter 456a58f3e9 CMake: Cleanup of cmake code for doc generation 2019-06-03 08:16:19 +02:00
Stefan Profanter 6cb5799a74 NodesetCompiler: remove unused generate-ns0 option 2019-05-08 09:07:38 +02:00
Stefan Profanter 77a06b13ec Add link to tutorial for custom information model creation 2019-04-30 10:19:53 +02:00
Julius Pfrommer ca54e72363 Docs: Fix generation for headers that end with _UA_END_DECLS 2019-04-07 14:21:21 +02: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
Stefan Profanter 24a99c3c36 Doc: Adapt install doc to 0.4
Fixes #2536
2019-03-06 18:19:47 +01:00
Julius Pfrommer dbeb02b54c Remove dependency on python-six 2019-02-28 14:26:58 +01:00
Silvio Traversaro 73c9e78dfd Add NAMESPACE open62541:: to exported CMake targets
Fix https://github.com/open62541/open62541/issues/2415
2019-02-15 11:59:01 +11:00
Stefan Profanter 66d2654c6e Add debian packaging configuration 2018-12-19 16:21:17 +01:00
Stefan Profanter 49719f350d Doc: Add documentation on how to install 2018-12-17 22:35:56 +01:00
Julius Pfrommer 102b7dc693 Stack: Remove experimental UDP transport (for client/server) (#2272) 2018-12-05 09:49:10 +01:00
Stefan Profanter d1d63181ca Doc: Add cmake install documentation 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