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
Marvin Klimke
a1e43c7f00
add plugin frame for rtp node
...
using nanomsg as a template
2018-11-16 16:07:47 +01:00
Dennis Potter
b1eb89be02
Fixed typo in comment
2018-11-05 23:47:47 +01:00
Dennis Potter
0819207c55
Fixed bug which improved latency about 33%.
...
An ugly workaround was removed in 3c33696265
and 159cefb14d
. Besides making the code a little cleaner, it was expected that this would improve latency. However, it did not.
Cause for this was a bug that disabled inline messages for all messages. This is fixed in this commit. Now, the anticipated latency improvement can be seen. Compared to 159cefb14d
, the latency for samples with 16 values or less is up to 33% better.
Furthermore, the check for signaling is fixed and some typos are fixed.
2018-11-02 12:46:12 +01:00
40521cf5dd
socket: enable raw socket only on linux and if libnl3-route was found ( closes #210 )
2018-10-31 10:38:43 +01:00
f84ffe608e
revert commit a693e7b5db
...
libnl3 is not required by default.
2018-10-30 11:17:34 +01:00
c55b1a2db6
loopback: now also supported on macOS
2018-10-28 13:27:15 +01:00
Niklas Eiling
a693e7b5db
cmake: only try building socket.c if libnl is present. (see #208 )
2018-10-24 15:47:57 +02:00
Dennis Potter
159cefb14d
Added periodic signalling which is necessary in implementation without additional buffer
2018-10-21 12:35:21 +02:00
f7e3e54ccb
file: last fix for dir creation
2018-10-21 11:09:20 +02:00
4f85e7b82c
file: yet another fix for directory creation
2018-10-21 11:01:15 +02:00
ba75a00e43
loopback: add missing include
2018-10-21 10:36:17 +02:00
8534d1980a
file: fix directory creation
2018-10-21 10:32:09 +02:00
52fd9e09e5
loopback: add auto mode
2018-10-20 18:47:21 +02:00
ed01b9480d
zeromq: fix version detection
2018-10-20 17:35:01 +02:00
ef91faafac
shmem: add new mode setting which superseeds the polling setting
2018-10-20 17:12:39 +02:00
Dennis Potter
3c33696265
Removed signaling for inline messages. Fixes #206
...
This should decrease the time that is spent in the write-function a little bit and made an extra buffer obsolete.
2018-10-20 17:05:52 +02:00
8e052eaa5e
do not send offsets of network node-types
2018-10-20 16:23:26 +02:00
377af00af4
use villas.binary as default format for most node types
2018-10-20 15:38:31 +02:00
ed27d25823
file: create directory if does not exist yet
2018-10-20 15:13:29 +02:00
139ca2a3f8
zeromq: fix use of deprecated macros ( closes #202 )
2018-10-20 14:52:28 +02:00
8eb58e62c1
Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop
2018-10-20 14:29:54 +02:00
5f72532fba
cmake: fix linking
2018-10-19 13:55:56 +02:00
d335837525
get rid of LIST_INIT
2018-10-19 13:41:50 +02:00