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 | <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. | '''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 | |||
wfd0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 | |||
ether f6:b2:ba:f8:49:59 txqueuelen 1000 (Ethernet) | |||
RX packets 0 bytes 0 (0.0 B) | |||
RX errors 0 dropped 0 overruns 0 frame 0 | |||
TX packets 0 bytes 0 (0.0 B) | |||
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) | |||
</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> |