Template:WIFI DIRECT: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Wi-Fi Direct''' is a standard that enables devices to connect with each other without the need for a wireless access point or network infrastructure. It allows two devices to create a direct, peer-to-peer connection using a Wi-Fi protocol for data transfer, media sharing, or other types of communication.
<includeonly>
'''Wi-Fi Direct''' is a standard that allows devices to connect with each other without a wireless access point or network infrastructure. It facilitates a direct, peer-to-peer connection between two devices using Wi-Fi for data transfer, media sharing, and other communication types.


'''Variscite SOMs''' with the '''Murata LBES5PL2xx (NXP IW61x)''' modules support WiFi Direct. You may verify your SOM supports WiFi Direct by checking for the wfd0 interface:
'''Variscite SOMs''' with the '''Murata LBES5PL2xx (NXP IW61x)''' modules support WiFi Direct. Verify if your SOM supports WiFi Direct by checking for the wfd0 interface:


<pre>
<pre>
# ifconfig wfd0
# ifconfig wfd0
wfd0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
wfd0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.9.2  netmask 255.255.255.0  broadcast 192.168.9.255
        ether f6:b2:ba:f8:49:59 txqueuelen 1000  (Ethernet)
        ether a2:cd:f3:78:23:82 txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
</pre>
</pre>
The following process describes how to connect two Variscite SOMs (Device A and Device B) using WiFi Direct:
The following process describes how to connect two Variscite SOMs (Device A and Device B) using WiFi Direct:


<pre>
<pre>
Device A (WiFi Direct)  <================>  Device B (WiFi Direct)
Device A (WiFi Direct)  <================>  Device B (WiFi Direct)
</pre>
</pre>
'''Device A Configuration:'''
'''Device A Configuration:'''
Line 43: Line 43:


<pre>
<pre>
  wpa_supplicant -i wfd0 -c /etc/wpa_supplicant/wfd0_A.conf -D nl80211,wext -B
  # wpa_supplicant -i wfd0 -c /etc/wpa_supplicant/wfd0_A.conf -D nl80211,wext -B
</pre>
</pre>
'''Device B Configuration:'''
'''Device B Configuration:'''
Line 116: Line 116:
  # ping 192.168.10.1 # From Device B
  # ping 192.168.10.1 # From Device B
</pre>
</pre>
</includeonly>

Latest revision as of 22:52, 14 August 2023