1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

2639 commits

Author SHA1 Message Date
Steffen Vogel
4d43b72d78 webrtc: Use UUID name as signaling peer by default
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:51:40 +02:00
Steffen Vogel
7749a3a922 No not pass super-node UUID to Node::parse() any longer
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:51:01 +02:00
Steffen Vogel
d57a5d3306 Refactor parameter name for parse() from cfg to json
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:48:43 +02:00
Steffen Vogel
e20bd664d9 Harmonize libjansson format strings
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:49 +02:00
Steffen Vogel
f409e05c35 Refactor naming of json_t variables
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:49 +02:00
Steffen Vogel
31eabd7b9d webrtc: Refactor {to,from}JSON() to {to,from}Json()
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:05 +02:00
Steffen Vogel
294af6aaca webrtc: Send signaling list
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 07:56:43 +02:00
Steffen Vogel
20dc83bee4 webrtc: Add peer option
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 07:56:43 +02:00
Steffen Vogel
94636e8b09 webrtc: Renamed signaling connection to peer
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 05:48:02 +00:00
Steffen Vogel
0445d671dc
Merge pull request #677 from VILLASframework/packaging-nix
Disable warning as error for normal release builds
2023-06-23 19:17:37 +02:00
Philipp Jungkamp
3baf5a410f queue: Fix incorrect signalling on queue push
Pushing zero values to a CQueueSignalled should't wake the
synchronization mechanism.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 14:04:06 +02:00
Philipp Jungkamp
f1c7e0f2a8 path: Fix leaking samples
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 13:02:55 +02:00
Philipp Jungkamp
b9c8ffce5b node-iec60870: ignore -Wmaybe-uninitialized false positive
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 12:00:08 +02:00
Philipp Jungkamp
0cb4ac79d5 unit-tests: intialize global test params at runtime
Move the intialization of the paramters to runtime by converting the
static array to a vector and filling it when critirion calls the test
setup.

Global variable initialization order across translation units is not
defined.
Referring to e.g. the memory::mmap global variable in the initialization
of the static unit test parameter set may leave an incorrect address in
the struct param.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:33:34 +02:00
Steffen Vogel
d294e8fff3
Merge pull request #675 from VILLASframework/fix-webrtc
Fix webrtc
2023-06-21 16:33:18 +02:00
Philipp Jungkamp
7f514cb935 node-webrtc: initialize all members of PeerConnection
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:39:48 +02:00
Philipp Jungkamp
6985d92f6f node-amqp: Handle moved include dir of rabbitmq-c
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:36:10 +02:00
Philipp Jungkamp
87488fc167 webrtc: Change wss:// to https://
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:16:12 +02:00
Philipp Jungkamp
498b8aebdf node-webrtc: Fix logging
- Move send log before lws_write because it clobbers the buffer.
- Add raw receive log.
- Check json_dumpb return value.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:16:12 +02:00
Philipp Jungkamp
9d28079d24 node-redis: Work around breaking change in redis-plus-plus
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
a37b64111f fpga: call base-class function for NodeFactory::start()
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
09c1e01f6f fix code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
0aafb47dd2 redis: fix compiler warnings
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
ea1f8c3d51 iec60870: fix compiler warning
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
a709a8a0fb iec60870: fix coding style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
88fb57df8e web: disable libwebsocket server status as it has been removed from upstream lib
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
260280ece0 ngsi: fix access to signal list in dead-code
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:03 +02:00
Steffen Vogel
49caafec7d cmake: fix linking if rdkafka if dependency is not installed in system search path
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:03 +02:00
Steffen Vogel
a688afe379
Merge pull request #670 from VILLASframework/webrtc-signaling-fixes
Webrtc signaling fixes
2023-06-20 22:47:24 +02:00
Steffen Vogel
210ba00a8a webrtc: Remove dead code
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-20 17:48:24 +00:00
Steffen Vogel
2e7f8df070 webrtc: Close WebSocket connections before retrying
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-20 17:39:43 +00:00
Steffen Vogel
43bab87be6 webrtc: Support signaling messages spread over multiple WebSocket fragments
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-20 17:38:46 +00:00
Philipp Jungkamp
f1dfccd8ef fix release compile errors
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 17:47:37 +02:00
Philipp Jungkamp
ebeea91bc8 node-webrtc: remove dead code and comments
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 13:56:37 +02:00
Philipp Jungkamp
d94d668d34 node-webrtc: style fixes + authorship notes
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 12:12:33 +02:00
Philipp Jungkamp
ca85117674 node-webrtc: don't inherit from std::variant
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 10:46:28 +02:00
Philipp Jungkamp
43a5292fc1 node-webrtc: fix CI warnings
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 10:46:28 +02:00
Philipp Jungkamp
bb61a59103 node-webrtc: fix signaling client memory leak and error handling
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 10:46:28 +02:00
Philipp Jungkamp
6760272a4b node-webrtc: initial working transmission
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-16 16:27:54 +02:00
b2955e3e3c remove Golang node-types
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
2d4783599f webrtc: signaling almost working
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
40f01e904e webrtc: add new node and libdatachannel to build system
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-06-16 16:27:54 +02:00
Philipp Jungkamp
79f39ff0e8 fix warnings in release builds
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-15 09:49:59 +02:00
Steffen Vogel
571a436c2e goose: small formatting fixes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-05-02 16:11:41 +02:00
Philipp Jungkamp
0ee9ab6be0 node-iec61850: fix undefined behaviour
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:52:24 +00:00
Philipp Jungkamp
9f58ec484f node-iec61850-8-1: fix ConfigError reporting
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:18:14 +02:00
Philipp Jungkamp
e619cb8bf1 rename node to iec61850-8-1
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:16:15 +02:00
Philipp Jungkamp
e612e7cebc node-iec61850-goose: change resend_interval to double seconds
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-11 15:04:41 +02:00
Philipp Jungkamp
5a1995d901 node-iec61850-goose: Periodic resend and cleanup
- introduce resend_thread for periodic resend
- change mms_type to reflect the table in iec61850.hpp to be able to
  merge these tables in the future without breaking configs

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-28 13:22:16 +00:00
Philipp Jungkamp
98ac02a85b node-iec61850-goose: log error instead of crashing on unsupported mms value
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-14 16:46:35 +01:00