VSCP over TCP/IP

Default Port: 9598

VSCP level II is designed for TCP/IP and other high-end network transport mechanisms which are able to handle a lot more data (487 bytes instead of 8) then Level I devices. With the additional bandwidth that normally is available it is ideal to always have a full addresses in packets for this type of media. That is the full GUID (node address) is available in the frame.

A telnet type client server protocol is used, see [sec:VSCP-TCP/IP-Protocol] for a full description of the available commands. The VSCP daemon has this command set implemented in it's own tcp/ip interface, but a client only needs to implement a subset called the VSCP tcp/ip link protocol.

The TCP/IP driver of the VSCP daemon can be used to connect one VSCP daemon to other remote VSCP daemons or to lighter clients that export the VSCP tcp/ip link protocol. A client and the VSCP daemon can have a connection that is persistent or the VSCP daemon can connect to the client on regular intervals to fetch and send events. It is of course also possible for a client to connect to a VSCP daemon through it's TCP/IP interface instead.

The VSCP helper library c interface can be used if you want to write code that connects to a remote client using the VSCP TCP/IP link protocol. This is includes connections to the VSCP daemon.

A RFC 854 (telnet) based protocol is supported over TCP/IP. The protocol is implemented in an extended form in the VSCP Daemon and is described here. The protocol is very easy to implement in low resource clients and a driver is available that make connecting to a client a turn-key experience. Source for this implementation on Arduino and others is available in the firmware repository. For high security SSL is available as an option together with other security measures.

The VSCP Link Interface implemented in a node is described here.


Very Simple Control Protocol
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author.

results matching ""

    No results matching ""