Gateway Functions

Top  Previous  Next

The Gateway functions establish connectivity between RTCU devices and the RTCU Communication Hub. Functioning as a backbone between devices and back-end applications, the Hub ensures reliable and economical communication in any environment. It also supports the RTCU Deployment Server. For further details, please refer to the RTCU Communication Hub User's Manual.

 

These functions are fully compatible with the legacy RTCU Gateway 2.

 

These functions have been replaced by the RCH functions, which should be used for new projects.

 


gwOpen

Opens the connection to the RCH.


gwClose

Closes the connection to the RCH.


gwIsOpen

Queries if connection to the RCH.


gwConnected

Queries if connected to the RCH.


sockSetGWParm

Sets RCH parameters.


sockGetGWParm

Gets RCH parameters.


gwSuspend

Suspend the RCH connection.


gwResume

Resume the RCH connection.


gwPacketMode

Sets the mode for handling data packets.


gwPacketSize

Query the maximum packet size for a receiver.


gwReceivePacket

Receives a block of data over the RCH.


gwReceivePacketDone

Releases data buffer and sends reply to sender.


gwSendPacket

Sends a block of data over the RCH.


gwSetMedia

Changes the media used to connect to the RCH.


gwGetMedia

Get the media used to connect to the RCH.


gwTimeGet

Retrieves the current time from the RCH.


gwEnableLPS

Controls Large Packet Support (LPS).