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§
- Profile
Window - 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§
- Read
Outcome - 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/gwaormanagement/smgwcredential 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 returnInvalidData. - 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§
- Secure
Stream - A mutually authenticated simulator TLS connection.