Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

SOCKIO

Description

This command changes the settings of the socket I/O interface. Using the socket I/O interface, one can talk to the module over a TCP/IP connection. This works similar to a telnet session. The socket I/O interface is sometimes useful as a replacement for hardware interfaces such as IIC and RS232.

Parameters

The only setting currently can be made is the port number.

Return Value

ERR_OK (0) always. If the argument is greater than 65535, it is wrapped around to zero (mod 65536).

Example

SOCKIO 15524 

This command tells the socket I/O interface to listen on TCP port 15524

Remarks

Socket I/O can be enabled using the PROT command.

 


SOCKIO?

Description

This command can be used to query the actual SOCKIO settings. SOCKIO? simply prints out the port number.