Datasheet
Microchip MRF24W Getting Started Guide for MRF24WB0MA/B, MRF24WG0MA/B for MLA v5
DS52108A-page 78 Preliminary 2013 Microchip Technology Inc.
4.9 RUNNING THE TCPIP – WIFI EZCONFIG
This demonstration supports the following network types:
• CFG_WF_ADHOC
• CFG_WF_SOFT_AP
4.9.1 Network Type: CFG_WF_ADHOC
In this demonstration, a computer with wireless network adapter is used. Smart
devices, such as iPhone can also be used. This demonstration will direct the user to
connect to another AP in infrastructure network type. Figure 4-61 shows the ad hoc
network environment setup.
FIGURE 4-61: AD HOC NETWORK ENVIRONMENT SETUP
In the WF_Config.h file, perform these actions:
1. Define MY_DEFAULT_NETWORK_TYPE as CFG_WF_ADHOC.
The demonstration will attempt to connect to the last known network.
Note: If the user wants to Reset the demonstration to startup in Ad hoc mode
again, press and hold S3 button on the Explorer 16 Development Board
four seconds.