Socket
Socket
Sign inDemoInstall

hostp2pd

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Protect your apps from supply chain attacks

Install

hostp2pd

Wi-Fi Direct Session Manager, implementing a host AP daemon in Wi-Fi Direct mode, including P2P WPS enrollment

    0.1.7

Maintainers
1

Readme

hostp2pd

The Wi-Fi Direct Session Manager

hostp2pd implements a soft host Access Point (AP) software in Wi-Fi Direct mode, enabling a wireless network interface card to act as Ad hoc access point and Wi-Fi Protected Setup (WPS) authentication server. It features basic functionalities roughly similar to hostapd (with its hostapd.conf configuration file), which is the common AP software integrated with wpa_supplicant, generally used for infrastructure mode networking. When implementing a P2P persistent group, wpa_supplicant offers the P2P-GO features enabled by hostp2pd to connect P2P Clients like Android smartphones, as well as provide the standard infrastructure AP mode to the same P2P-GO group, without the need of hostapd.

In order to accept Wi-Fi Direct connections from P2P Clients, to activate a local P2P-GO (Wi-Fi Direct Group Owner) and to perform WPS authentication, hostp2pd fully relies on wpa_supplicant, interfacing it through the wpa_cli command-line interface (CLI): wpa_cli is run in background and p2p commands are piped via pseudo-tty communication, while events returned by wpa_cli are read and processed.

hostp2pd includes a command-line interface mode for monitoring and controlling; it can be executed as a batch or as a daemon and provides an API for integration into other Python programs.

Full information and usage details at the hostp2pd GitHub repository.

Keywords

FAQs


Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc