Expand description
The layers above the link layer: ELL, AFL and TPL (EN 13757-3, EN 13757-7, OMS Vol. 2), and the data records they carry.
[ELL 8C–8F] [AFL 90] TPL (CI + header) records| CI | Layer | Header |
|---|---|---|
8C, 8E | extended link layer: CC, access number (8E: + receiver address) | |
8D, 8F | the same + session number and payload CRC; AES-CTR encrypted | |
90 | authentication and fragmentation layer: message counter, CMAC | |
72, 5B, 6F, 75, 8B, 80 | transport layer | long (12 bytes) |
7A, 5A, 6E, 74, 8A | transport layer | short (4 bytes) |
78, 51, 70, 71 | transport layer | none |
Application::parse reads every layer without a key and stops at the first
encrypted one: Body::Encrypted then says how it is encrypted, and (feature oms)
Encrypted::decrypt opens it. Application::authenticity says what, if
anything, was cryptographically verified: radio data is not evidence until it is
(constitution V).
Modules§
- ci
- CI values.
Structs§
- Address
- A meter’s address: manufacturer, identification number, version and device type.
- Afl
- The authentication and fragmentation layer (CI
90, OMS Vol. 2 §6, EN 13757-7). - Application
- A parsed telegram above the link layer.
- Ell
- The extended link layer (CI
8C–8F). - Encrypted
- An encrypted layer and everything needed to open it.
- Long
Header - The long header: the meter’s address plus the short header.
- Manufacturer
- A manufacturer code: three letters packed into 15 bits (the FLAG association ID).
- Medium
- The medium (device type) a meter measures.
- Security
Mode - The security mode from a transport header’s configuration field (OMS Vol. 2 §7.2.4, Tables 19 and 20).
- Short
Header - The short header: access number, status and configuration.
Enums§
- Authenticity
- What was cryptographically verified about a telegram. Only
Authenticity::Authenticatedmakes a radio reading evidence. - Body
- The payload after the transport header.
- Header
- The transport-layer header.
- Security
- How an encrypted layer is protected.