Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

i need to know what is the name of wireless interface for wifi direct at android platform.

it seems that wlan0 the most interface used, but how exactly do i know it ?

share|improve this question

closed as not constructive by t0mm13b, Izzy, roxan, Ryan Conrad, Liam W Mar 15 at 19:23

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

1 Answer

Issue netcfg in adb shell.It will show all interfaces. It depends on device What name it has.

  1. Turn off Wifi, Issue netcfg and check the interfaces.
  2. Then Turn ON Wifi/WiFi-Direct(depends on devices that enabling wifi enables p2p too), Issue netcfg again and check the newly enabled interfaces.

I hope you can figure out wifi and/or p2p interfaces.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.