TCP Client

The WINC example application demonstrates as a conventional, open tcp client-server communication.

Description

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.

Downloading and building the application

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
 

Setting up SAMXXX Xplained Pro board

Running the Application

  1. 1.

    Open the project.

  2. 2.

    Build and program the generated code into the hardware using its IDE.

  3. 3.

    Refer "firmware update guide" and "WINC Driver Demonstrations" for information.