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

4722 commits

Author SHA1 Message Date
10462cff96
Merge pull request #629 from VILLASframework/fix-submodule
fix VILLASfpga submodule
2022-12-17 00:53:14 +01:00
084f6dbff5 fix VILLASfpga submodule
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-17 00:52:22 +01:00
f9286ec54a
Merge pull request #628 from VILLASframework/node-api-fix-doc
api: fix OpenAPI docs
2022-12-16 23:59:05 +01:00
03c46448ef api: fix OpenAPI docs
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:58:43 +01:00
ca3981d2f0
Merge pull request #626 from VILLASframework/update-mail
Update Steffens mail address
2022-12-16 23:44:26 +01:00
7eec1bb753 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:44:07 +01:00
eeb1244cc4
Merge pull request #627 from VILLASframework/node-api-v2
implement v2 of the universal data-exchange API node-type
2022-12-16 23:42:55 +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
0d9ef5baca
Merge pull request #625 from VILLASframework/fix-build-badge
ci: fix build badge
2022-12-07 10:56:17 +01:00
3ae6da1066 ci: fix build badge
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-07 10:53:11 +01:00
7b36ebc098
Merge pull request #624 from VILLASframework/fix-ci
fix CI
2022-12-07 10:17:25 +01:00
b6e31f9b3e ci: disable build of VILLASfpga
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-07 10:07:33 +01:00
13c38abf36 fix CI
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-07 08:55:41 +01:00
977cd0f50a
Merge pull request #622 from VILLASframework/fix-kickstart-submodule
Fix broken submodule for Fedora kickstart files
2022-12-07 08:47:55 +01:00
cb7a2bcf40 fix remaining submodule URLs
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-07 08:45:32 +01:00
f6788d0361 fix url of VILLASfpga submodule
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-06 12:02:15 +01:00
0797c39acb fix broken submodule for Fedora kickstart files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-06 11:12:07 +01:00
3bb513282d ngsi: fix use after free in heap 2022-11-23 10:02:51 +01:00
576a63be9c introduce new macro for format buffer length 2022-11-07 10:13:57 -05:00
Philipp Jungkamp
8e09bbb3ad Use master lib60870 instead of fork
The main repository of lib60870 has merged the pkg-config file fork used
until now.

Use the main lib60870 instead of my fork for 'packaging/deps.sh'.
2022-08-13 16:58:32 +00: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
fb7ba7c52b iec60870: fix vectorize 2022-07-27 15:56:32 +02:00
4d27c63157 harmonize example configs 2022-07-27 15:55:45 +02:00
56e8918196 Final code-style tweaks 2022-07-27 15:46:17 +02:00
Philipp Jungkamp
f54ad3c6fa Remove superfluous empty line 2022-07-27 12:34:29 +00:00
Philipp Jungkamp
2bdf1fae8e Fix OpenAPI docs 2022-07-27 12:13:22 +00:00
Philipp Jungkamp
e82a8dde36 Update License headers 2022-07-27 11:31:35 +00:00
Philipp Jungkamp
f9d23fcd9e add OpenAPI documentation for the IEC104 node 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
6c117b812f Fix switch-case statement code style 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
73b42d85ab IEC104: Expose apci config options 2022-07-27 11:14:55 +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
5be220a857 remove unnecessary braces on short if statements 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
2bea88043d fix code formatting
Remove "this->" and add spaces behind commata.
2022-07-27 11:14:55 +00:00
1b253ad43c add initial OpenAPI schema for IEC 60870 node 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
d97beaf2d1 Wait for all messages to be send when stopping 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
58a9ed94f6 Change server mode to single redundancy
Single redundancy implies a single queue of messages which buffers
messages until a client connects. In contrast to the previous multiple
redundancy group mode, this mode can only accept one client at a time.
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
11b84bc2b9 Fix out of bounds vector access 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
19be7d8f4f minor fixes 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
8164ce7693 Remove wrong NodeFactory::Flags::SUPPORTS_READ from the iec60870 slave node 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
c635f112e3 some style improvements 2022-07-27 11:14:55 +00:00
Philipp Jungkamp
54037c89e5 use correct constant for matching the qualifier of interrogation
the cause of transmission and qualifier of interrogation share the numeric meanings,
e.g the QOI for "station" equals the COT for "interrogated by station".

Thus the previous code was not wrong, but still confusing to the reader.
2022-07-27 11:14:55 +00:00
Philipp Jungkamp
a019465109 move example to correct directory 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