If a sensor publishes a DataEvent with more than one DataBlock record, then a websocket client subscribed to SOS JSON will receive messages that have multiple JSON objects concatenated together (no separator, and no wrapping array). Currently the osh-js toolkit fails to parse this.
Perhaps the server should send each DataBlock as a separate websocket message.
If a sensor publishes a
DataEvent
with more than oneDataBlock
record, then a websocket client subscribed to SOS JSON will receive messages that have multiple JSON objects concatenated together (no separator, and no wrapping array). Currently theosh-js
toolkit fails to parse this.Perhaps the server should send each
DataBlock
as a separate websocket message.