The default timeout when waiting to connect or disconnect.
The host name or ip address of the Elk M1 to connect to.
Number of milliseconds to kill a socket connection after it has been idle. We should receive an ethernet text response ("XK") every 30 seconds, so if we don't receive any responses for longer than that, likely there has been a problem.
The port number to connect to.
true
to use a secure connection; false
to use an insecure connection.
Additional options that can be overriden for secure connections.
These are passed directly to the tls.connect
call.
Generated using TypeDoc
The options that can be passed to an ElkSocketConnection.