Communication Design

<< Click to Display Table of Contents >>

Navigation:  The API > Simple API >

Communication Design

Overview

The Simple API consists of one single connection where client and gateway talk to each other in full duplex on a TCP Socket connection.

See also: https://en.wikipedia.org/wiki/Transmission_Control_Protocol

 

One Connection

After a client has connected and successfully logged in, the gateway will immediately start a streaming state in which first all the last states of the devices are transmitted followed by the actual ongoing events.

This, together with the “send” command is the main function of the SimpleApi.