Expand description
Loopback meter and gateway roles for the commissioned simulation channel, over DLMS/COSEM or SML.
Structs§
- Meter
- Read-only object store for the commissioned simulation profile.
Enums§
- History
- Choose which source records the simulated meter reports.
- Protocol
- The protocol on the simulated meter link. Both sides must be commissioned alike.
Constants§
- ID
- Commissioned simulator meter identifier.
- PROFILE
- Profile Generic logical name for the three-slot fixture.
- SERVER_
ID - The fixture meter’s SML server ID: electricity, manufacturer
IMS, serial 1. - SML_
SOURCE - The fixture meter as an SML source.
- SOURCE
- Meter metadata shared by the fixture and its reader.
Functions§
- new_
profile - Start the simulator’s three-slot import-energy history at the selected reference second.
- read_
meter - Import the destination’s three quarter-hour slots over a new, four-second loopback session. An error, including a failed DLMS release or an SML refusal, preserves the entire destination.
- serve_
meter - Serve one loopback session for up to four seconds: a public-client DLMS association or one SML request. The caller owns the listener. The callback observes a selected profile read and receives the session deadline.
Type Aliases§
- Virtual
Meter - One day of quarter-hour observations, including the latest register.