Skip to main content

Module wakeup

Module wakeup 

Source
Expand description

Offline inspection of a gateway administrator (GWA) wake-up message addressed to a smart meter gateway (SMGW).

The layout follows BSI TR-03109-1 Detailspecification v2.0, §2.1, tables 2.1–2.2. The timestamp follows the table’s explicit least-significant-byte-first rule. Its displayed hex example uses the opposite order.

Parsing returns borrowed, unauthenticated fields. The gateway host verifies the configured recipient, signature, freshness and replay history before accepting a wake-up.

Structs§

UnverifiedWakeUp
Structurally parsed, unauthenticated fields borrowed from one complete datagram.
WakeUpPrefix
The exact 32 octets signed by the GWA in a version-one wake-up.

Enums§

ParseError
The structural check that failed. All inputs are treated as untrusted.
SignatureWidth
Width of one plain ECDSA signature component, selected from the trusted signing key’s curve. Selecting a width makes no algorithm-policy decision.

Constants§

ECDSA_PLAIN_SHA256_OID
DER OID contents for plain ECDSA with SHA-256 (0.4.0.127.0.7.1.1.4.1.3).

Functions§

parse
Inspect a complete version-one message with fixed space and bounded work.
valid_recipient
Check the structural constraints of a nine-octet wake-up recipient identifier. An application can use this when commissioning its own gateway ID.