conntype command

The
conntype
command is used to set the Sensor Seal Gateway connectivity type. The connectivity type is the
protocol
that will be used to send Sensor Seal measurements.
For example, if the SSGSCP option is chosen, the Sensor Seal Gateway will send all Sensor Seal measurements to the specified SSGSCP Server. This server can be specified with the
ssgscpsetup
command. Other connectivity types include UDPBroadcast and UDPUnicast among others.

Syntax

conntype <Type> [Format]
  • <Type>
    : The method used to send Sensor Seal measurements. See Connectivity Types below for a list of available options.
  • [Format]
    : The measurement format that the Sensor Seal measurement data should be sent in. See Formats below.

Connectivity Types

Note: Only SSRB format is supported on the
ssgs
npm package (SSGS-Node) on versions <
1.2.0
.
  • UDPBroadcast - Broadcasts measurements over UDP to all devices within the subnet. See command udpsetup.
  • UDPUnicast - Sends measurements over UDP to the configured device. See command udpsetup.
  • WebSocket Client - Only available on firmware versions >p0.2.0

Formats

See Measurement Formats for the specifications of the below:
  • SSRB - A compact binary format containing standard parameters of a Sensor Seal Measurement.
  • ASCII - An easily parseable, human readable format containing all the parameters of a Sensor Seal Measurement.
  • SSTLV - A compact binary format containing a configurable subset of Sensor Seal Measurement parameters.
  • JSON - A standard, human readable format containing a configurable subset of Sensor Seal Measurement parameters.

Example 1

conntype SSGSCP
Defaults to SSRB. SSGSCP needs to be configured using the ssgscpsetup command.

Example 2

conntype UDPUnicast ASCII
UDPUnicast and UDPBroadcast need to be configured using the udpsetup command.