Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 3.02.00

...

\Micrium\Software\uC-TCPIP
\Micrium\Software\uC-TCPIP\Dev\WiFi\<device_name>
\Micrium\Software\uC-TCPIP\Dev\WiFi\Manager\Generic

...

Since that, in this section, the sample example project we want to run is with a WiFi device, the configuration that interests us is beneath the section "EXAMPLE WIFI DEVICE CONFIGURATION".

...

The net_cfg.c file includes the three network task configurations. You will need to defined the priority of each of those tasks. The priorities will depend on the other tasks already present in your applicaiton. Refer to section Network Tasks Configuration for all the details on configuring the network tasks and their priority. 

...

Example Project Setup

The purpose of this sample example project is to setup a network host on the target board to allow it to communicate with other hosts on the network. Figure - Sample Example Application Setup shows the project test setup for a target board with a WiFi interface. The target board has WiFi interface that allows the board to connect to a WiFi access point. In this example, a router  acts as the access point and allows the PC to be on the same network as the board. The PC’s IP address is set to 10.10.10.111 and the target’s addresses wil be configure to 10.10.10.64 as it will be shown in the next section Running the Sample Example Application.

This sample example project contains enough code to be able to ping the board. Therefore, after successfully running the project, You will be able to issue the following command form a command-promt:

...

After you have successfully completed and run the sample example project, you can use it as a starting point to run other µC/TCP-IP demos you may have purchased.

...

Since the µC/TCP-IP module was added to the sample example project, the following include must be added to the app.c file :

...

Adding µC/TCP-IP application function

Before running the sample example application, you will need to add the new funtion, AppInit_TCPIP(), in your app.c file to initialize and setup the µC/TCP-IP stack. Section Tasks and Objects Initialization gives an example of the main application task inside which the AppInit_TCPIP() function will be called. Section WiFi Sample Example Application gives an AppInit_TCPIP() example for a WiFi interface. 

...