1

wifi p2p connections example is given in android official website link

in that there is

WifiP2pConfig config = new WifiP2pConfig();
config.deviceAddress = device.deviceAddress;
config.wps.setup = WpsInfo.PBC;

but wps.setup and WpsInfo.PBC are all deprecated at API 28 so what alternates could be used for connecting using wifi p2p

Nick
  • 138,499
  • 22
  • 57
  • 95
pradhu
  • 11
  • 1

1 Answers1

0

It's changed from deprecated to undeprecated at API 29. https://developer.android.com/sdk/api_diff/29/changes/android.net.wifi.WpsInfo

Pheminist
  • 3
  • 3