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

1157 commits

Author SHA1 Message Date
6da1070e56 minor improvements 2017-04-24 19:56:14 +02:00
4e5dc58e18 added first version of web socket client support 2017-04-24 19:28:45 +02:00
414fcc72f1 websocket: add destinations to websocket_print() 2017-04-24 18:11:05 +02:00
8c4f291fd9 changed byte-order for websocket messages to little-endian 2017-04-24 13:25:30 +02:00
a3222da312 adapted socket node-type to support new packet format 2017-04-23 22:13:29 +02:00
a81d1fc8de Merge branch 'develop' into node-shm 2017-04-17 23:54:44 +02:00
Georg Reinke
5f540e58bc even more documentation for shmem node 2017-04-17 19:00:15 +02:00
48ad4f9a56 refactoring: added DEFAULT_WEBSOCKET_{SAMPLE,QUEUE}LEN (like for shmem node-type) 2017-04-15 22:50:37 +02:00
cee5575861 shm node: use similar settings as for paths: {in,out}size => queuelen, sample_values => samplelen 2017-04-15 22:47:24 +02:00
61d42c342d refactoring: DEFAULT_VALUES => DEFAULT_SAMPLELEN 2017-04-15 22:46:42 +02:00
374f5bb557 shm node: fixed bug introduced by previous refactoring 2017-04-15 22:46:42 +02:00
db3d1477d1 shm node: renamed ‚cond_{in,out}‘ settings to ‚polling‘ 2017-04-15 22:46:35 +02:00
4b9d62fd3e shm node: changed description of node-type 2017-04-15 21:29:35 +02:00
f8713bb098 shm node: this node-type should work with ‚vectors‘ of samples too 2017-04-15 21:29:35 +02:00
ea6556bc8d shm node: add ‚exec‘ setting to shmem_print() 2017-04-15 21:29:34 +02:00
d4ddad603b changed signature of spawn() 2017-04-15 21:29:34 +02:00
b23000e2a8 several smaller cleanups: coding-style, variable names, white spaces, intermediate variables 2017-04-15 21:29:23 +02:00
4504fcc827 added file headers with author and copyright info 2017-04-15 21:28:28 +02:00
Georg Reinke
c135451db7 shm node: use pthread_barrier for synchronizing the start 2017-04-12 23:07:30 +02:00
Georg Reinke
385efa1313 shm node: add option to spawn external program on start 2017-04-12 17:07:59 +02:00
Georg Reinke
39d7c451fb shm node: signal the other program if one exits 2017-04-12 14:38:18 +02:00
47bff0f9ba fixed several bugs in the new state machine logic 2017-04-07 17:44:20 +02:00
053b43fb9f change function signature of node_type_start() 2017-04-07 17:32:52 +02:00
Georg Reinke
61b10ed4f1 move more information to shared part of shmem node 2017-04-07 13:27:10 +02:00
Georg Reinke
3a7af08799 move "external" part of shmem to separate files 2017-04-07 12:57:40 +02:00
Georg Reinke
45f5d9697a use queue_signalled for websocket node 2017-04-07 12:25:17 +02:00
Georg Reinke
c7e241cb2b new wrapper struct around queue with POSIX CV's 2017-04-07 12:18:08 +02:00
Georg Reinke
ee809bd5c9 Merge branch 'develop' into node-shm 2017-04-06 12:12:56 +02:00
Georg Reinke
278a0afd45 shmem: fix init/destroy functions 2017-04-06 10:49:02 +02:00
Georg Reinke
66545fc4c7 new shmem node type 2017-04-05 12:52:21 +02:00
6d3ee5baac some codingstyle improvements 2017-04-03 09:01:14 +02:00
a33dadf80a use pthread_cond_signal for efficient signalling in websocket node-type 2017-04-02 13:02:49 +02:00
8bcb9401fe use common struct state instead for struct websocket_connection 2017-04-02 13:02:07 +02:00
b4d0288c5e do not cast void pointers 2017-04-02 13:00:34 +02:00
57329bfa92 moved node id field to struct node::id 2017-04-02 12:59:56 +02:00
f6c204c441 removed split and splitted settings from file node-type 2017-03-29 20:14:01 +02:00
9205e1dbac Merge branch 'eric-lab' into develop-try-merge 2017-03-29 06:02:58 +02:00
3eb629d9d5 various bug fixes from todays debugging session 2017-03-29 04:25:30 +02:00
ba5f4d1109 sample_io: part 2 2017-03-27 12:50:39 +02:00
267d244167 minor cleanup, bug fixes and refactoring 2017-03-27 12:50:01 +02:00
68aa917f78 set VILLASnode version via Makefile instead of config.h 2017-03-27 12:30:44 +02:00
411b9dd326 replaced most occurrences of list_foreach with a traditional for loop due to performance reasons 2017-03-25 21:23:31 +01:00
b89b30ffe1 fixes several segfaults in websocket node-type due to improper connection establishment / tear-down (see #71, #72 & #73) 2017-03-16 22:42:58 -03:00
19e98af8e3 remove obsolete flag parameter from afopen() 2017-03-15 00:51:24 -03:00
607be1dd99 minor bugfixes and improvements 2017-03-13 23:51:38 -03:00
0830132a83 cosmetic changes 2017-03-13 00:04:56 -03:00
83dfb31dc2 remove broken ADVIO_MEM flag 2017-03-12 23:18:18 -03:00
2757011e1b several smaller fixes and documentation updates 2017-03-12 17:13:37 -03:00
14e2b97372 initialize node_type::instances correctly 2017-03-12 17:08:52 -03:00
fa2dc403aa refactoring: if_create() => if_init() 2017-03-12 17:08:04 -03:00