Waheed Ejaz
d02e5f2ac9
fix(ex): use correct datatype for writergroup json message settings
2020-02-06 07:50:30 +01:00
Waheed Ejaz
5640a1372e
fix(ex): use correct fields for json encoding
2020-02-03 10:34:43 +01:00
Andreas Ebner
a1cd155875
feat(pubsub) extended PubSub RT level example, added testcase for PubSub RT levels, fixed memory leaks, moved offset calculation into DSM and NM binary size calculation (signature changed)
2019-11-22 15:00:59 +01:00
Andreas Ebner
4b52b9e49b
feat(pubsub) extended pubsub fastpath with fixed offsets and static value source, memory fixes, added support for sequence number, added an direct pointer from DSW to the PDS to avoid lookup -> PTR will be updated during each PDS add/remove
2019-11-22 15:00:59 +01:00
Andreas Ebner
74f158ffa5
feat(pubsub) extended fast path fixed offset size compatibility checks
2019-11-22 15:00:59 +01:00
Andreas Ebner
e5fbae7609
feat(pubsub) extended encoding layer with buffered message handling
2019-11-22 15:00:59 +01:00
Florian Huber
5af4e6cd19
fix(ex): change type of resuse and loopback options to UA_TYPES_BOOLEAN
...
The parameters are evaluated in UA_PubSubChannelUDPMC_open
[plugins/ua_pubsub_udp.c] and are expected to be of type
BOOLEAN. Using UINT32 for either of them will cause the options not to
be evaluated and hence not used.
2019-11-11 11:33:33 +01:00
Shriya Chaurasia
69dc0fe59b
feat(ex): Standalone MQTT publisher application
...
- Modify examples/CMakelists.txt
- Add Broker transport settings
2019-10-10 07:08:13 +02:00
Julius Pfrommer
46b4c9c6c8
feat(pubsub): Make PubSub MQTT example configurable on the command line
2019-10-10 07:08:13 +02:00
Lukas M
7ff1fe598f
feat(pubsub): Add MQTT support
...
- Rebase to Master branch
- Modify Server APIs un tutorial_pubsub_mqtt.c
- TODO:Resolve unit test error in check_pubsub_connection_mqtt.c
2019-10-10 07:08:13 +02:00
Julius Pfrommer
0ed855345c
refactor(examples): Use _clear instead of _deleteMembers
2019-10-03 15:14:24 +02:00
Andreas Ebner
0f16425702
feat(pubsub): added pubsub configuration lock and pubsub state machine skeleton
2019-09-23 00:51:56 +02:00
Selva Suba Jenifer Joseph
43574aa883
PubSub: DataSetReader parameters check in Subscriber
...
- Check identifiers to direct DataSetMessage to desired DataSetReader
- PublisherId
- WriterGroupId
- DataSetWriterId
Change-Id: Ibfa48d45833a6629134f89648b675441a32f39b9
2019-08-20 15:50:26 +02:00
Selva Suba Jenifer Joseph
bb2e56304d
PubSub: Modify WriterGroup message settings
...
- Change PublisherId to static number from random
number generation
- Enable the following in writerGroup settings
- PublisherId
- WriterGroupId in GroupHeader
- PayloadHeader
Change-Id: I7f3865a0d1b8bffcb4d228f44409d790cba7afcb
2019-08-20 15:50:26 +02:00
Selva Suba Jenifer Joseph
3e3c7221c5
PubSub:Fix Regist fail when adding multiple ReaderGroups
...
- Add separate function for channel register
- Call regist function in PubSubConnection and not in addReaderGroup
to resolve regist fail when adding multiple ReaderGroups
- Change return type of example API to handle statuscodes
Change-Id: I58ecec6af6cae2a9427b620241e08c7880b10ef7
2019-08-20 15:50:26 +02:00
Julius Pfrommer
da897b2486
PubSub: Add the pubsub_ethernet.h if required in the IOP example
2019-08-20 01:17:48 +02:00
Stefan Profanter
40d9e588cd
Merge branch '1.0' into master
2019-08-05 12:53:27 +02:00
Tino Bischoff
f992964ec1
removed unused declaration
2019-08-02 14:15:29 +02:00
Tino Bischoff
07cfd22feb
Add example with IOP DataSets
2019-08-02 14:15:29 +02:00
Thomas Jürges
8268e5bb09
Fix: Correct boolean check on input parameters
2019-08-02 13:32:57 +02:00
Thangavaila Kalyani Thangaraja
e1cd691653
[FIX] PubSub: Resolve memory leak in tutorial_pubsub_subscribe.c
...
- Remove temporary variable to assign the name for DataSetMetaData
and FieldMetatData
Change-Id: I1b98e5ee46bc0fea82f9163fb18881099eaacd08
2019-08-01 08:04:29 +02:00
Thangavaila Kalyani Thangaraja
a867438376
[FIX] PubSub: Resolve memory leak in tutorial_pubsub_subscribe.c
...
- Remove temporary variable to assign the name for DataSetMetaData
and FieldMetatData
Change-Id: I1b98e5ee46bc0fea82f9163fb18881099eaacd08
2019-07-31 20:02:37 +02:00
Selva Suba Jenifer Joseph
f3221a805d
[FIX] PubSub: Change Int32 to Int64 in Subscriber MetaData
...
Change-Id: If75f816e1c731fd31973b8f0d03469a459f43a6b
2019-07-12 19:16:44 +02:00
Diesilva Sagaya James
b73d720b09
[FEATURE] Subscriber implementation
...
- Add ReaderGroup, DataSetReader, TargetVariable functionality
- Data filtered from DataSetReader gets updated in target variable
available in information model
- Mirrortype implementation not handled
Change-Id: I990b4552b979fdcc76c172a07f7b245fee7d03eb
2019-06-06 15:02:08 +02:00
Julius Pfrommer
fd08d012d9
Server: Initialize the config in the server
2019-04-23 00:41:32 +02:00
Stefan Profanter
ecee9f241e
CMake: Correct installation if public headers
2019-03-21 20:16:31 +01:00
Stefan Profanter
63f3653ff1
Additional header cleanup and consistent name of ns generated files
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
Andreas Ebner
af8c26f7d1
pubsub improvements
...
pubsub improvements
pubsub improvements
2019-02-20 11:30:20 +01:00
Julius Pfrommer
4e6b383d76
PubSub: Add standalone subscriber
2019-02-19 14:41:37 +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
Mark Giraud
578dc5fd37
Fix pubsub includes
2019-01-28 20:11:13 +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
Julius Pfrommer
eb9409b435
Examples: Use _clear instead of _deleteMembers for the examples
2018-12-09 19:40:02 +01:00
Julius Pfrommer
89f728aee1
Logging: Make logging a proper plugin with state and cleanup method
2018-12-04 18:39:12 +01: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
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
Jose Cabral
1605455a74
Fixes #1925 and clean examples
2018-07-25 08:17:51 +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
Andreas Ebner
79cb8c68b8
Add pubsub publish callback mechanism
2018-04-23 06:47:10 +02:00
Andreas Ebner
4b2dfd0241
Add pubsub WriterGroup/Writer/DataSetField handling
2018-04-22 10:05:13 +02:00
Andreas Ebner
ac41f2f648
Add pubsub PublishedDataSet handling
...
documentation fixes, code project adjustments
removed hard dependency between main lib and log plugin
pubsub API delte PubSub prefix
2018-04-06 23:40:49 +02:00
Andreas Ebner
008e3fe43f
Add pubsub connection handling and udp plugin
...
Update CMakeLists.txt
adjusted check_types_memory for nodeset-1.04 types, small code analyzer fixes
analyzer fixes, added newlines
analyzer fixes, added newlines
update licence to CCZero
fix freeaddrinfo in error case, code and comment project adjustments
2018-03-30 13:11:06 +02:00