The WINC example application demonstrates as a conventional, open tcp client-server communication.
In this demonstration, the WINC Driver will connect to a BSS and begin a TCP client socket connection to a remote server service. This demonstration can be configured in the following ways in the source code. • The BSS to connect to. • The TCP server address and port to connect to. • The receive buffer size. • The message which should be sent as the first data once connected to the server.
To download or clone this application from Github, go to the top level of the repository
Path of the application within the repository is apps/tcp_client/firmware .
To build the application, refer to the following table and open the project using its IDE.
Project Name | Description |
---|---|
sam_d21_xpro_winc1500.X | MPLABX project for SAMD21 and WINC1500 Xplained pro |
sam_e54_xpro_winc1500.X | MPLABX project for SAME54 and WINC1500 Xplained pro |
Connect the Debug USB port on the SAMXXX Xplained Pro board to the computer using a micro USB cable
Open the project.
Build and program the generated code into the hardware using its IDE.
Refer "firmware update guide" and "WINC Driver Demonstrations" for information.