DisplayCasting

Differences between revisions 4 and 5
Revision 4 as of 2015-12-02 15:53:23
Size: 1890
Editor: 75-112-255-165
Comment:
Revision 5 as of 2015-12-02 16:37:04
Size: 1895
Editor: 1
Comment:
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
$ wpa_cli -p/var/run/p2p0_supplicant $ sudo wpa_cli -p/var/run/p2p0_supplicant

Overview

WARNING: THIS IS FOR DEVELOPERS ONLY FOR NOW. DON'T EXPECT ANYTHING TO JUST WORK OR BE USER FRIENDLY

This page describes how to setup the current in-development work for our display casting work also known as Miracast/WiFi Display.

Install necessary silos

Install silo 0

$ citrain device-upgrade 0 <your pin>

After the silo is installed install silo 40 for an update for wpa-supplicant

$ citrain device-upgrade 40 <your pin>

After your device has installed both silos you're ready to go.

Connect with a remote display

All necessary steps are documented here but we will describe this a bit more in detail here.

First of all you need a Miracast / WiFi display capable sink device. Most modern Smart TVs support this or you can buy a dongle from Amazon like the Microsoft Wireless Display one.

Search for available display devices:

$ gdbus call -y -d org.wds -o / -m org.wds.Manager.Scan

After the search is done you can connect to one of the found devices. As of right now there is no way to list available devices which will change soon. You have to know the MAC address of the remote device until we're able to list them. You can stop the miracast-service and start it manually to get some more verbose output also showing the MAC address of found devices or by running these commands

$ sudo wpa_cli -p/var/run/p2p0_supplicant
# p2p_peers

This will list all found WiFi Direct devices. Pick the one you want to connect to and run

$ gdbus call -y -d org.wds -o / -m org.wds.Manager.ConnectSink \
    'aa:bb:cc:dd:ee'

where you use the MAC address of your device.

Now the connection should be established and the screen output should appear on your remote display.

Touch/DisplayCasting (last edited 2016-08-23 08:25:41 by localhost)