Skip to content

IoT Core Gateway Messaging

jeno96 edited this page Dec 21, 2018 · 1 revision

First visit Structure overview.
Gateway collects incoming messages, from several topics. Format is JSON.

Incoming topics uses the same channel raw/#

Acc sensor:         raw/acc
Camera:      raw/cameradata
Rail sensor:       raw/rail

Acc message:

{"SensorID":"mySensor1","Type":"Acc","MicroTimeStamp":"11111","AccX":"1","AccY":"1","AccZ":"1"}

Camera message:

{"SensorID":"mySensorCamera", "Type":"Camera", "MicroTimeStamp":"11111", "LabelText":"person", "BoxLeft":"0.4", "BoxTop":"0.4", "BoxRight":"0.4","BoxBottom":"0.4", "LowerBound":"0.2", "UpperBound":"0.8"}

Rail message:

{"SensorID":"mySensor1", "Type":"Rail", "MicroTimeStamp":"11111", "AccX":"1", "AccY":"1", "AccZ":"1", "Infra1":"1", "Infra2":"1"}
Clone this wiki locally