Skip to main content

Module management

Module management 

Source
Expand description

One read-only HTTP resource for the GWA and its loopback gateway simulator.

The gateway initiates mutual TLS, then serves an HTTP request from its commissioned administrator. Both sides own the deadline for the entire connection. The local XML resource is a simulator contract, separate from the BSI management resources and their VDE-defined schemas.

Structs§

ProfileWindow
Three consecutive quarter-hour slots identified by their first UTC second.
TlsEndpoint
A mutual TLS endpoint with a dedicated trust anchor and an exact peer leaf pin.

Enums§

ReadOutcome
A complete, validated management response from a commissioned gateway.

Constants§

FIXTURE_RECIPIENT
Synthetic DIN 43849 equipment identifier used by the simulator.
PROFILE_PATH
HTTP target for the fixture meter’s registered 15-minute readings.

Functions§

callback_id
Correlates a callback to the exact signed wake-up accepted by the simulator.
connect_callback
Announce the attempt, authenticate the administrator and confirm the attempt inside TLS.
load_endpoint
Load one role’s TLS identity, dedicated management root and peer pin from its own management/gwa or management/smgw credential bundle.
parse_recipient
Parse a commissioned equipment identifier from 18 hexadecimal digits.
peer_fingerprint
Read the commissioned gateway leaf pin from its administrator’s bundle. This needs only the peer certificate. An executing worker must compare its loaded TLS endpoint’s pin with the saved value before sending a wake-up.
read_provisioned_pem
Read a regular PEM fixture file within the maximum provisioning input size.
read_request
Read a bodyless profile GET and validate its quarter-hour window.
request_profile
Request the fixture resource from a mutually authenticated gateway. A meter outage returns NotConnected; malformed frames or XML return InvalidData.
request_profile_outcome
Issue the read and distinguish a complete gateway report from transport errors. A response can be trusted only when the caller authenticated the stream.
write_profile
Send the registered readings for the single commissioned fixture channel.
write_unavailable
Return a bodyless HTTP 503 identifying the requested window.

Type Aliases§

SecureStream
A mutually authenticated simulator TLS connection.