Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hostp2pd-0.1.7.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

hostp2pd-0.1.7-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file hostp2pd-0.1.7.tar.gz.

File metadata

  • Download URL: hostp2pd-0.1.7.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for hostp2pd-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4797807650bb77381068a57a9e898eb4276b491d67f09b7a3d542e1012fe5988
MD5 7e316343c4c57ff661a7604b7cea05f1
BLAKE2b-256 708f5dbe63bb4012bf1ae3ba687ca1f6a2b16914dc1aeb94883e0d6ce5238d7d

See more details on using hashes here.

File details

Details for the file hostp2pd-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: hostp2pd-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for hostp2pd-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8352e9b204868d4a86eb23d253640968f1eb743ae794711ae5c74ea9d815046e
MD5 93aadc1ac6f3c8548c83cf4cd6b7ef61
BLAKE2b-256 f36a74da3ba4d0920beb751d49dc27a195ab4a0ec341d203cdc18ff5806da7b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page