Datasheet
Microchip MRF24W Getting Started Guide for MRF24WB0MA/B, MRF24WG0MA/B for MLA v5
DS52108A-page 60 Preliminary 2013 Microchip Technology Inc.
4.7.3 Network Type: CFG_WF_P2P
WiFi Direct (peer-to-peer (P2P)) network type is only applicable for 802.11g hence spe-
cific to MRF24WG0MA/B modules. The Samsung Galaxy tablet is used in this demon-
stration. Figure 4-36 illustrates the WiFi Direct environment setup.
FIGURE 4-36: WIFI DIRECT ENVIRONMENT SETUP
The implementation is restricted to the role of group client (GC) only.
In the WF_Config.h file, perform these actions:
1. Define the MY_DEFAULT_NETWORK_TYPE as CFG_WF_P2P.
2. Allow the MY_DEFAULT_WIFI_SECURITY_MODE as default (that is,
WF_SECURITY_WPS_PUSH_BUTTON).
3. Allow the MY_DEFAULT_SSID_NAME as default (that is, DIRECT-), which is an
unique and specified identifier to identify a WiFi Direct network.
4. Allow the MY_DEFAULT_CHANNEL_LIST as default (that is, {1, 6, 11}), which
are the specified channels to be used in the WiFi Direct network.
5. After the development board is powered up and running, the serial output is
displayed as shown in Figure 4-37.
Note: Specific smart devices may have a de facto security mode such as WPS
Push button, and may not prompt for a push button entry.