2.1.11 Application Coding

Now, you have the MPLAB® Harmony components configured for a TCP/IP application. The Getting-Started demo implements a simple TCP/IP Client application. This application is written using the API's provided by the MPLAB® Harmony TCP/IP Stack.

The TCP/IP Client demo for SAME70 device is already available in net_apps_sam_e70_v71 repository. The application source files are available at net_apps_sam_e70_v71\apps\tcpip_tcp_client\firmware\src. Let's make use of those source files for the tcpip_client_getting_started demo.

  1. Copy the application files from net_apps_sam_e70_v71\apps\tcpip_tcp_client\firmware\src path.
    1. Copy app.c, app.h, app_commands.c, app_commands.h.
  2. Paste the application files to demo at ..\tcpip_client_getting_started\firmware\src.
  3. Add Header and Source files to the MPLAB project.