Direct Wifi Communication between android smartphone and other devices

故事扮演 提交于 2019-12-03 08:44:15

In order for this to work, you must have the computer'shardware properly configured and your software must be written to communicate with this hardware.

In the following guide, they suggest communicating with the hardware via the iwpriv application which handles the p2p information received directly from the Wifi adapter's driver. If you choose to do this, you will need to learn how iwpriv works and can interact with your application.

guide: http://dishingtech.blogspot.com/2012/01/realtek-wi-fi-direct-programming-guide.html

In order to get Wifi Direct working on an Android tablet, I suggest following the Wifi Direct sample which is available in /samples/android-/. This sample allows you to connect direct to other Wifi Direct devices and transfer an image. You can slightly alter this application for your needs, or completely rewrite it if your needs deviate too far from the sample.

accompanying guide (for Android) : http://developer.android.com/training/connect-devices-wirelessly/wifi-direct.html

NOTE: you will still need to have a wifi network in order for these devices to communicate

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!