'wpa_supplicant WIFI-Direct list connected devices

Is there a way to list the devices connected through WIFI-Direct with wpa_supplicant?

This answer suggest checking for connected devices with nmap however on my device I encounter a bug with nmap hanging and unfortunately could not get the timeout to work with nmap either. Maybe I also observe this bug.

So the question I ask is whether there are other means, ideally directly with wpa_cli, to get a list of devices connected through WIFI-Direct?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source