commit | ece955a9947e8d5848223c849d2c0f3f928078d4 | [log] [tgz] |
---|---|---|
author | Andrei Laperie <andrei.laperie@intel.com> | Tue Nov 13 09:05:05 2018 |
committer | GitHub <noreply@github.com> | Tue Nov 13 09:05:05 2018 |
tree | ddf3fea37857c1a72ee59fd74de176276c88de38 | |
parent | a488b169d724d6b4cfcd7037dbab1f1c2bf04f3b [diff] | |
parent | 3ff097cd333cb8aa0ceb29571587ff0dd35e0e04 [diff] |
Merge pull request #164 from manoj23/add-WDS_INSTALL_TESTS Add WDS_INSTALL_TESTS option to install test programs
WDS is a set of libraries for developers who want to build Wi-Fi Display applications on linux.
WDS consists of:
The source code includes example implementations:
More information can be found on the mailing list and the wiki.
WDS test executables have runtime dependencies on just a few things (mostly GStreamer and GLib), but for successful Wi-Fi Display sessions the following are adviced:
CONFIG_P2P=y
, CONFIG_WIFI_DISPLAY=y
and CONFIG_CTRL_IFACE_DBUS_NEW=y
Test results with other Wifi adapters are very welcome but be warned that in many cases Wifi-P2P has not had the testing it needs on linux: you may run into problems in surprising places.
cmake . make
Make sure wpa_supplicant & connmand are running. Running both of them uninstalled is possible (but in that case make sure the system wpa_supplicant and system connection manager are not running):
$ sudo hostap/wpa_supplicant/wpa_supplicant -ddt -u $ sudo connman/src/connmand -n -d
Use connmanctl to enable Wi-Fi and Wi-Fi P2P:
$ connman/client/connmanctl connmanctl> enable wifi Enabled wifi connmanctl> enable p2p Enabled p2p
Check that Peer-to-peer functionality is working:
connmanctl> scan p2p Scan completed for p2p connmanctl> peers Nexus 5 (jku) idle peer_0c8bfd5f12fc_8ac9d0c0da67 Push2TV 75AEB2-PTV3000 idle peer_0c8bfd5f12fc_22e52a75aeb2
Enable agent:
connmanctl> agent on Agent registered
sink/sink-test
In a few seconds, a window should open and a audio/video stream should start playing.
desktop_source/desktop_source
scan
command will re-scan.connect N
(where N is number from scan result)In a few seconds, the sink should start showing a stream mirroring your desktop.