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

1227 commits

Author SHA1 Message Date
Manuel Pitz
cf04f6b569 make compatible to fmt version 9.0.3 review fixes
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
Manuel Pitz
1a01012e7c make compatible to fmt version 9.0.3
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
3b5f686262 code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
ae17d58cc4 fpga: remove unused code
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
1c7d57d5f5 fpga: do not reset VFIO container by hand
We can rely on the Dtor of the global shared_ptr to destruct the container

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
89d2fc38d2 fix code-style
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
30b061d8b1 pool: do not inline function anymore to avoid conflicts with libxil
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
39825a8034 fpga: fix factory
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
7f2f0d14c6 minor codestyle fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:10:02 +01:00
9a4f8a0b19 fpga: first compiling version
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:09:35 +01:00
de9bda4d74 fpga: fix syntax errors
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-01-09 11:09:35 +01:00
7eec1bb753 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:44:07 +01:00
845ced9dd3 implement v2 of the universal data-exchange API node-type
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:36:31 +01:00
576a63be9c introduce new macro for format buffer length 2022-11-07 10:13:57 -05:00
Philipp Jungkamp
6fdf8b037e node-60870-5-104: minor fixes
Fixes an issue where global interrogation would not respond when the
configured asdu_type includes a timestamp.

Fixes incorrect configuration asdu_type_id strings.

Fix an issue where multiple connections may be established in single
redundacy mode which causes the message queue to corrupt on shutdown.
2022-08-10 16:39:58 +00:00
56e8918196 Final code-style tweaks 2022-07-27 15:46:17 +02:00
Philipp Jungkamp
e82a8dde36 Update License headers 2022-07-27 11:31:35 +00:00
Philipp Jungkamp
d3f31e47f0 move member initializers from header to contructor 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
44ef9226f1 remove unused member variable 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
fe68debbe0 Allow to interpret duplicate IOAs a sequence
If `duplicate_ioa_is_sequence` is enabled in the `out` section of the
node config, a duplicate ioa will be increased. This only works for
subsequently defined signals with the same IOA.
2022-07-27 11:14:55 +00:00
Philipp Jungkamp
9cbb96ddb5 treat missing ioa as increase of previous one 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
7e10188c2d Allow sending multiple ASDUs for a sample
ASDUs have a limited capacity, this creates multiple ASDUs if a single
one is not able to hold all sample values.
2022-07-27 11:14:55 +00:00
Philipp Jungkamp
90886dcc8f Cleanup config parsing and pointer style 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
3e787eeb85 Minor cleanup
- Move lambde `fill_asdu` to dedicated function SlaveNode::fillASDU.
- Remove "-slave" suffix from node name so it does not mess up logging
  and help message.
- Expose queue sizes settings in config
2022-07-27 11:14:55 +00:00
Ubuntu
44203fa77c node-iec60870: Satisfy cppcheck
Rename `SlaveNode::out` to `SlaveNode::output`, because base class
`Node` and derived class `SlaveNode` both defined a member `out`.
2022-07-27 11:14:55 +00:00
Philipp Jungkamp
c635f112e3 some style improvements 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
e9a12362d7 integrate with example flege-deployment
Features:
- respond with last value when interrogated
- log connection events
- allow IEC60870-5 TypeIDs in the config file (as "asdu_type_id")

Fixes:
- wrong handling of MeasuredValueNormalized
2022-07-27 11:14:55 +00:00
Philipp Jungkamp
6dc75b8408 initial support for iec60870-5-104-slave node
This allows sending periodic signals using the new node.

The node does not yet support...

...proper logging of ASDUs.
...providing data on Global Interrogation.
...buffering setValue commands to read values which have been sent to slave.
...clockSync commands, what would the proper handling be?
2022-07-27 11:14:55 +00:00
Philipp Jungkamp
adb70138c8 start iec60870 node + sample to ASDU conversion 2022-07-27 11:14:55 +00:00
b94746effb relicense VILLASnode to Apache 2.0 2022-07-04 18:23:57 +02:00
Manuel Pitz
addef9a1e5 Hook pmu dft classes 2022-06-01 18:15:29 +02:00
5feb82e7a3 openapi: add missing OpenAPI docs 2022-04-05 17:32:37 +02:00
17b83cb4e1 example: port example node-type to C++ 2022-04-01 18:06:28 +02:00
56fa561493 api: implement first version of universal data-exchange API 2022-03-28 18:06:47 +02:00
7d6a6ea265 mqtt: add OpenAPI docs 2022-03-28 11:10:49 +02:00
b8e486af15 api: make members protected 2022-03-28 11:10:49 +02:00
183867b17a api: move some files 2022-03-28 11:10:49 +02:00
Manuel Pitz
5a6c135083 add renumbering for decimate to allow detection of missed samples even if decimating 2022-03-22 18:15:28 +01:00
11a25f6fb7 update mail address 2022-03-15 09:29:20 -04:00
17ac92aa21 update copyright year 2022-03-15 09:28:57 -04:00
ae1b064b5a remove broken support for Darwin/macOS 2022-03-14 19:37:29 -04:00
fd1996bf21 fix file headers 2022-03-14 16:34:12 -04:00
56c966f61d allow hiding of different plugin types 2022-03-14 15:46:32 -04:00
fa398a2cf7 go: finish Go node-type 2022-03-14 15:32:20 -04:00
db67c468bc go: add first version of Golang node-type support 2022-03-07 08:37:14 -05:00
a856f1801f node: minor cleanups 2022-03-07 08:37:14 -05:00
b207bbf673 add C-API to libvillas 2022-03-07 08:08:29 -05:00
b98f455752 node: align Node::getPollFDs() with Node::getNetemFDs() 2022-03-07 08:08:29 -05:00
dfcafed20a several fixes for new opal format 2022-02-24 08:02:19 -05:00
d4f74a5a51 add new format-type for OPAL-RT's AsyncIP example 2022-02-24 08:02:19 -05:00