The TCPIP library allows you to use the W3100A internet chip from www.iinchip.com
There are also libraries for W5100, W5200 and W5300.
MCS has developed a special development board that can get you started quickly with TCP/IP communication. Look at http://www.mcselec.com for more info.
All tcpip lbx files areshipped with BASCOM-AVR
The following functions are provided:
Configures the W3100 chip. |
|
Creates a socket for TCP/IP communication. |
|
Establishes a connection to a TCP/IP server. |
|
Returns information of a socket. |
|
Write data to a socket. |
|
Sends a string to an open socket connection. |
|
Reads data from an open socket connection. |
|
Closes a socket connection. |
|
Opens a socket in server(listen) mode. |
|
Returns the IP address of the peer. |
|
Returns the port number of the peer. |
|
Converts Base-64 data into the original data. |
|
Convert a string into a BASE64 encoded string. |
|
Encodes a constant or 4 byte constant/variables into an IP number |
|
Write UDP data to a socket. |
|
Sends a string via UDP. |
|
Reads data via UDP protocol. |
The MCS webshop offers the WIZ810MJ ethernet module, and a special converter board so it has few connections.