I can not find a working example for working with WIFI direct. All old WiFi examples and libraries do not work on new smartphones. You may need to make special entries in the manifest and comply with security requirements in new versions of android? I am a beginner and I can assume that you can’t use the B4X bridge to debug programs with Wifi direct, WiFi direct on the smartphone must be enabled but the Wi-Fi router is turned off?