
Invocation counter
Invocation counter a.k.a Frame counter is a counter value that is increased every time when a message is ciphered. Increasing invocation counter causes that messages are encrypted differently, even the content is the same.
The invocation counter is not used non-ciphered messages. Invocation counter value is usually saved to the data-object.
If invocation counter is not correct, the meter will not accept the message. There might be several invocation counters on the meter. There is usually one invocation counter for each secured association. With some meters, there might be own invocation counter for optical port connection and own invocation counter for TCP/IP connection.
Client side
Before starting the ciphered connection client must establish a normal connection (usually this is done without authentication) and read the invocation counter from the meter. After reading the counter value connection is closed.