IDEAL Research Project: Creating P2P connections with Wi-Fi Direct

Wi-Fi Direct (also known as peer-to-peer or P2P) allows your application to quickly find and interact with nearby devices, at a range beyond the capabilities of Bluetooth.

Wi-Fi peer-to-peer (P2P) functionality allows applications to connect to nearby devices without needing to connect to a network or hotspot. If your app is designed to be a part of a secure, near-range network, Wi-Fi Direct is a more suitable option than traditional Wi-Fi ad-hoc networking for the following reasons:

  • Wi-Fi Direct supports WPA2 encryption. (Some ad-hoc networks support only WEP encryption.)
  • Devices can broadcast the services that they provide, which helps other devices discover suitable peers more easily.
  • When determining which device should be the group owner for the network, Wi-Fi Direct examines each device’s power management, UI, and service capabilities and uses this information to choose the device that can handle server responsibilities most effectively.
  • Android doesn’t support Wi-Fi ad-hoc mode.

Comments are closed.