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
Philipp Jungkamp
81ca448d8a
add example config for iec60870-5-104-slave node
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
Philipp Jungkamp
ba6c810956
Add new lib60870 dependency to deps.sh and CMakeLists.txt
2022-07-27 11:14:48 +00:00
277424b274
cmake: add new WITHOUT_GPL flag in order to build VILLASnode without any GPL licensed dependencies
2022-07-14 15:05:24 +00:00
Manuel Pitz
6622cc8431
fix: correct time alignment for phasor rate calculation
2022-07-06 19:20:55 +02: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
69c70d17bc
api: be more foregiving in regard to parsing payloads
2022-05-19 17:20:23 +02:00
c499b28473
webrtc: create unreliable/unordered data-channels by default
2022-05-19 12:24:27 +02:00
dce51b2d52
fix parsing of signals in vector and object notation
2022-05-19 11:49:30 +02:00
e9761907ae
add missing settings to path documentation
2022-05-16 14:35:19 +02:00
a31666809f
Update etc/examples/nodes/ngsi.conf, doc/openapi/components/schemas/config/nodes/ngsi.yaml
2022-05-09 13:45:35 +02:00
Philipp Jungkamp
43965e3584
Add a non-root "villas" user to the dev container for VS Code
...
This allow proper translation of file permissions on a Linux machine.
See https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user
2022-04-20 11:29:36 +00:00
544b40899c
typhoon: fix handling of complex signals
2022-04-20 10:11:53 +02:00
Manuel Pitz
17c7ff7ede
add power hook
2022-04-08 18:16:01 +02:00
Manuel Pitz
376ff12d08
fix auto merge error
2022-04-08 17:38:10 +02:00
Manuel Pitz
f9c2c1e343
cleanup
2022-04-08 17:38:10 +02:00
Manuel Pitz
0e6bf3f20d
fix pmu_dft
2022-04-08 17:38:10 +02:00
Manuel Pitz
39c96feecb
add lpdft as estimation algorithm and update estimation function
2022-04-08 17:38:10 +02:00
6ab0fbdf13
hook-pmu_dft: fix timetagging of phasor
2022-04-08 17:38:10 +02:00
849876a349
hook-rms: fix integration error. previously using the next value to
...
update accumulator
2022-04-08 17:02:29 +02:00
Iris Marie Köster
32aadb3a5e
convert data blob into ArrayBuffer
2022-04-07 13:16:18 +02:00
77748475c5
openapi: fix typos
2022-04-07 08:49:20 +00:00
10b4d4f42e
openapi: fix typos
2022-04-07 09:22:25 +02:00
1dd1fefd73
openapi: harmonize structure across hooks, formats and node-types
2022-04-07 08:52:19 +02:00