I am looking for a step by step guide line regarding the following problem.
I want to connect more than 2 android devices via wifip2p/wifi-direct. For this I think we have to create a group and one of the devices has to be a group owner.
Then all other devices start sending images to each other and receiving images from all other devices. How to achieve that?
It seems broadcasting the image to all other devices is only possible for group owner but then how a device which is not a group owner, will tell the group owner to send images to all devices?
For Sending: How the group owner will send the images to all other connected devices?
For Receiving:
How will all other devices get images from the group owner?
Checkout this https://github.com/ahmontero/wifi-direct-demo This is an extension of the wifidriect demo by android documentation where both group owner and client can send files and receive files
To extend the network over 2 devices you can detect who is the group owner in existing 2 device network and make sure that all new incoming devices connect to the group owner.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.