Is multicasting possible with Wi-Fi Direct?

此生再无相见时 提交于 2019-12-30 04:50:08

问题


I'm a bit confused about the new Wi-Fi Direct feature in Android ICS. Is it possible to create a P2P group with multiple devices, and send multicast packets from a source peer to the other peers?

Unfortunately, I don't have any devices that are Wi-Fi Direct enabled, so I can only browse the examples that I find online. In these examples, I could only find peers establishing 1-on-1 connections. So, is multicasting possible?


回答1:


Is it possible to create a p2p group with multiple devices ?

Based on the Industry white paper and the technical specs, yes it is possible to create a group with multiple devices, you will have a one-to-many connection, one Group Owner (GO) and many clients.

Send multicast packets from a source peer to the other peers?

Based on the technical specs, the GO shall act as a DHCP server and provide an IP address to the connected clients (which should act as a DHCP client). Each device can easily know its own IP and the GO's IP, so it should be possible to do a broadcast using the address 255.255.255.255.

Regarding a proper multicast, I am not sure, I guess it depends on the capabilities of the DHCP server created.



来源:https://stackoverflow.com/questions/10095414/is-multicasting-possible-with-wi-fi-direct

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