A WebSockets and JSON based protocol specification implementing the EN50491-12-2 "S2" standard for home and building energy management
27
stars
2
forks
source link
ReceptionStatus.subject_message_id in case of INVALID_DATA #21
Open
lfse-slafleur opened 2 months ago
It is possible that a message cannot be read due to various reasons. The S2 standard defines that a
ReceptionStatus
should be send where thestatus
is set toINVALID_DATA
: https://github.com/flexiblepower/s2-ws-json/wiki/Common_messages#receptionstatusvalues In that case, amessage_id
is impossible to retrieve.However, in
ReceptionStatus
thesubject_message_id
field is required (https://github.com/flexiblepower/s2-ws-json/wiki/Common_messages#receptionstatus). What should we define as thesubject_message_id
if themessage_id
is not retrievable and theReceptionStatus.status
isINVALID_DATA
?