locked
How does metro app use Wi-Fi direct? RRS feed

  • Question

  • I found that there are several APIs for Wi-Fi direct: 1) WFDOpenHandle; 2) WFDCloseHandle; 3) WFDStartOpenSession; 4) WFDCloseSession, etc. However, in metro app, how to use the Wi-Fi direct APIs to communicate with other app in nearby device? It seems proximity is about Wi-Fi direct, but users must tap & go to pairing. If I want to discover the device, and connect it, transfer the file to nearby apps. What should I do? Thanks!

    Wednesday, February 22, 2012 3:39 AM

Answers

  • Hi Dongjjing,

    Take a look at the //build/ session Understanding Wi-Fi Direct in Windows 8.  Yatharth answers this directly at timecode 42:50. For Metro style apps Wi-Fi Direct connections are available through application centric API such as Proximity and PlayTo. For low level control of the connection you would need a Desktop app to use the Win32 API.

    --Rob

    Thursday, February 23, 2012 1:56 AM
    Moderator

All replies