문제

I implemented service discovery over wifi-direct and I am able to successfully discover the service using http://developer.android.com/training/connect-devices-wirelessly/nsd-wifi-direct.html . But I don't know what to do now? How do I connect to the service? the way I connect to other peers? how do I use a service over wifi-direct? thanks.

도움이 되었습니까?

해결책

After you've discovered the service you should be able to connect to it as if it were a regular WifiP2P client. From there, you can get the IP address of the group owner (which may be either device) and set up a connection (over a Socket, for example).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top