WiFiDirect example can't discovery my android WifiDirect

Author: XbathyCreated Sep 3, 2024Updated Aug 18, 2026
Labelsbug

Which sample are you reporting a bug in?

Example: WifiDirect

Describe the bug I want to connect HoloLens2 and Android pad by WiFiDirect, Android Pad create a group, and HoloLens2 discovery and connect to the
Pad, but sometime succeed, sometime HoloLens2 can't discovery the pad , only restart the hololens2 device ,can discovery again.

To Reproduce Steps to reproduce the behavior:

  1. repeat to connect. discovery
  2. after sveral times. will not disovery the pad

Expected behavior still discovery the pad

Screenshots If applicable, add screenshots to help explain your problem.

Configuration

  • Language/architecture/flavor: (example: C++/WinRT x64 Debug) Hololens2 Android Pad

Additional context Add any other context about the problem here.

Source: microsoft/Windows-universal-samples