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

1109 commits

Author SHA1 Message Date
b84f6b8a47 lws: check return value of lws_write() 2019-01-14 10:00:09 +01:00
8f7c8ae71e update copyright year to 2019 2019-01-13 00:42:39 +01:00
0d5d9ad037 rtp, uldaq: smaller bugfixes 2019-01-13 00:02:34 +01:00
7d9b11c527 iec61850_sv: fix missing refrTm timestamps in publisher 2019-01-12 23:21:58 +01:00
b229a9948a iec61850: fix double free in destructor of global receiver list 2019-01-12 23:21:34 +01:00
9e018fa4a2 websocket: properly parse payload format for client connections 2019-01-12 19:06:23 +01:00
8347dc705f improve logging 2019-01-12 19:05:32 +01:00
8052b15377 websocket: add workaround for C++ port 2019-01-12 19:05:09 +01:00
0d767ca697 mqtt: throw an error if no publish and subscribe topic is given 2019-01-12 13:48:52 +01:00
029ccd2e09 Merge branch 'node-uldaq' into develop 2019-01-09 17:02:43 +01:00
24dcd04b95 infiband: remove non-supported infiniband_fd() function 2019-01-09 14:36:46 +01:00
0afadb6c19 rtp: add missing stop handler 2019-01-08 22:53:04 +01:00
8322b0615a rtp: increase queue size 2019-01-07 15:52:34 +01:00
c1c1eb1951 rtp: fix joining of re_main thread 2019-01-07 15:49:34 +01:00
99cae8903d rtp: use signalled queue for thread synchronization 2019-01-07 15:22:38 +01:00
fb67e4969c rtp: fix warn() 2019-01-07 12:52:24 +01:00
d18d786801 refactor: list_* -> vlist_* 2019-01-07 10:28:55 +01:00
5b443aeff4 Merge branch 'node-rtp' into develop 2019-01-07 10:20:02 +01:00
Marvin Klimke
434e1e5c1d [WIP] Prepare for RTCP sessions
add second pair of local/remote addresses
add receive handler for RTCP packets
2018-12-20 08:25:13 +01:00
Marvin Klimke
26cdc6e58a add proper queue destruction 2018-12-19 18:40:53 +01:00
Marvin Klimke
7e38cb9eb0 add free and mem_deref to prevent memory leaks 2018-12-16 11:47:33 +01:00
Marvin Klimke
22b42a8d88 [WIP] Use thread save queue instead of mutexes for data exchange
worker thread pushes received data in queue, main thread pulls data on request from queue.
2018-12-13 18:50:18 +01:00
Marvin Klimke
2575688951 [WIP] add pthread syncronization to re_main thread
rtp receive handler writes data to mutex protected memory and indicates the amount of data written.
main thread polls on the thread and gets the data respecting the mutex.
2018-12-07 15:15:24 +01:00
Marvin Klimke
c905f242c5 add re_main in pthread
thread is started in rtp_type_start and joined in rtp_type_stop
2018-12-07 06:37:48 +01:00
760292e111 file: create non-existant dirs only for local files 2018-12-04 10:54:31 +01:00
caf3e45960 workaround for C-compatability 2018-12-02 03:11:31 +01:00
Marvin Klimke
b6161e06b1 [WIP] further work on write function of RTP node
add proper warning and error outputs
fix rtp_write to write data to interface (not verified)
cleanup of rtp socket outstanding
2018-12-01 12:31:12 +01:00
e3b522c39b socket: use pre-allocated buffers to avoid dynamic allocations and syscalls in critical path 2018-11-30 21:39:55 +01:00
70cc94b5c7 refactor: warn() => warning() due to name collision with libc 2018-11-30 21:37:52 +01:00
39320dbf56 websocket: temporary fixes for C++ port 2018-11-30 21:36:26 +01:00
96b05e32cb misc changes 2018-11-30 21:36:26 +01:00
707affc027 cpp: update unit tests 2018-11-30 21:36:26 +01:00
6f7386afbf fix missing include 2018-11-30 21:35:14 +01:00
3c11acb8b5 cpp: ported web and api 2018-11-30 21:33:56 +01:00
677f8b2aa2 socket: fix compilation without libnl3 2018-11-30 21:00:53 +01:00
d72c5604e8 cmake: several improvments to the build system 2018-11-30 21:00:53 +01:00
30576ba7ad refactoring: move config to villas/node/config.h 2018-11-30 21:00:53 +01:00
833729cb57 added new VILLAScommon submodule 2018-11-30 20:58:15 +01:00
987a59a5aa cpp: ported SuperNode 2018-11-30 20:46:59 +01:00
e33e1904b8 refactor: warning() => warn() 2018-11-30 20:38:31 +01:00
06ef762ad9 socket: use pre-allocated buffers to avoid dynamic allocations and syscalls in critical path 2018-11-30 20:33:11 +01:00
Marvin Klimke
2ea4b65b58 [WIP] first approach to rtp_write function. 2018-11-28 18:12:06 +01:00
Marvin Klimke
5d9ad4e9e0 add placeholder rtp receive handler 2018-11-28 06:11:13 +01:00
437cfb646d file: add restart callback 2018-11-23 21:00:20 +02:00
88b1ec7850 web: fix lws_callback_on_writable() on macOS caused by multithreading issues 2018-11-23 21:00:20 +02:00
22eefc7590 websockets: fix proken detection of libwebsockets 2018-11-23 21:00:19 +02:00
Marvin Klimke
29a24d354e implement rtp_print and rtp_reverse
also begin of rtp_start
add libre rtp socket and flag for rtcp in struct rtp
2018-11-22 17:53:07 +01:00
Marvin Klimke
dc81c8fd8c first version of rtp node parse method
use individual libre includes to avoid naming conflicts.
use libre's struct sa to store socket addresses.
2018-11-22 07:18:27 +01:00
Marvin Klimke
162fafbb03 prevent "unused" warnings 2018-11-21 18:21:29 +01:00
Marvin Klimke
de34ad2cda add rtp node to CMakeLists
adapted from libnanomsg dependencies
2018-11-16 16:08:55 +01:00