Skip to content

States

States are generated by the ChirpStack Gateway Bridge and forwarded to the configured integration as retained messages. Depending the marshaler configuration, these are sent as JSON or Protobuf. For the Protobuf definitions, please refer to gw.proto.

  • The Protocol Buffers JSON Mapping defines that bytes must be encoded as base64 strings. This also affects the gatewayID field. When re-encoding this filed to HEX encoding, you will find the expected gateway ID string.

conn - Gateway connection

Gateway connection state.

JSON

{
    "gatewayID": "cnb/AC4GLBg=",
    "state": "ONLINE"
}

Protobuf

This message is defined by the ConnState Protobuf message.