Handshake

Message sent to initialize an S2 session.

This page is generated from the crate itself, so it cannot disagree with the code.

Message sent to initialize an S2 session.

When starting a new S2 session, Handshake should be the first message sent from both sides. The CEM should then send a HandshakeResponse to establish the S2 protocol version used in the session. The handshaking process should always occur at the start of a session, even if the specific CEM and RM already have many succesfull S2 sessions behind them.

FieldTypeRequiredDescription
message_idIDyesID of this message.
message_typestringyesThe string "Handshake".
roleEnergyManagementRoleyesThe role of the sender of this message.
supported_protocol_versionsstring[]noProtocol versions supported by the sender of this message. This field is mandatory for the RM, but optional for the CEM.