Bonjour data sending multiple devices - iphone

Does Bonjour allows one iOS device to send data or image to multiple iOS devices at a same time?
I am able to detect number of iOS devices over a wifi network. But the problem is coming in sending data or image to more than 1 iOS device at the same time.
Should i go for gamekit bluetooth approch for the above problem? Sample code for the question will be appreciated, and help is always welcome.

Yeah I think you should use Bluetooth to do the thing mentioned in your question.
Here are some of the samples. Please have a look:-
http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/
http://mobile.tutsplus.com/tutorials/iphone/bluetooth-connectivity-with-gamekit/
It may help you, Thanks!

Related

Detect iPhone device which using same wifi

how can i detect other iPhone devices in my wifi. After i found other iPhone devices, I want to send some values to them from my App. If i find 3 devices , i send any values that should go to all the three devices. In which way, i can achieve this.
Can anyone help me to find this.
Thanks
I believe you can achieve it by detecting whether the SSID is the same, with the answer in this question . Also, you can double confirm by checking their IP. They suppose to be in subnet.

how to get ios devices' information nearby with Bluetooth

How could I set the ios devices' (iphone & ipad) bluetooth visible for other ios devices when turn the bluetooth on?
I just want to get and show all the ios devices' name (MFI devices include) nearby in my app when all devices' bluetooth on, and I also want to get devices' deviceID.
I have succed using GameKit.framework to connect two ios devices by using bluetooth, but this requires the two devices run that app together.
Could some one provide me suggest on how to implement it? Thank you very much!
i my self have not worked on it, i know its not good to give link here.But hope these links will get u to start on your-self:
http://www.touchthatfruit.com/ios-bluetooth-development-tutorial-using-game
http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/
http://www.devx.com/wireless/Article/43502/0/page/1
http://developer.apple.com/library/ios/#DOCUMENTATION/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html
happy to help
I'm not exactly sure what you are asking. Setting a device's bluetooth on is not enough. A device needs to be advertising for peers to detected it. I think this might be related to what you are trying to do: http://www.ralfebert.de/tutorials/ios-swift-multipeer-connectivity/.
I tried this tutorial and it was very helpful. It uses Multipeer Connectivity to advertise and browse for peers around. It also displays the deviceID of devices around you.

iOS bluetooth without GameKit

I already know that using GameKit, I can only connect to other iOS devices running the same app.
But I want to connect to a Parallaz EasyBluetooth chip to send and receive commands, so I need a different solution. I suppose there are some libraries for jailbroken devices, but I don't know any. Can you give me some names or hints to look for?
Is this maby what you need?
http://code.google.com/p/btstack/

iOS and Infrared

Is it possible to communicate with an Infrared device (USB Infrared, TV, Mobile Phone, etc) using iOS (iPhone or iPad)?
Well, i know it's possible, since there are many remote/universal remote applications in the AppStore. I basically want to know how?
What are the limitations and
requirements?
What kind of additional hardware is
required? If it's available in the
market?
Which protocols should i know about?
Which iOS libraries can help me in
the process.
Can anyone point me in the right direction. Thanks.
Any devices using IR for controllers are either wifi or have custom hardware that outputs IR signals based off of output from the device. So without using your own hardware, I don't believe this is possible
Infrared isn't unbuilt in iPhone. All those remote apps are wifi based.
The hardware isn't available but there is a hack you can make to the headphone socket.
http://arstechnica.com/apple/news/2011/01/project-hijack-uses-iphone-audio-jack-to-make-cheap-sensors.ars?utm_source=Ars+Technica+Newsletter&utm_campaign=05bfd22285-January_21_2011_Newsletter&utm_medium=email
There is no infrared connectivity within iOS.However there are bluetooth and wifi.Generally you can use bluetooth functionality by importing GameKit framework.Thanks

iPhone to iPhone communication

I have been looking into communication methods between two iPhone devices and as I understand it there are two main methods to do this: Bluetooth and WiFi. However I wanted to know if anyone knows of any other way of sharing information between two iPhones? If I were in an area with no WiFi or mobile signal, and couldn't use Bluetooth for whatever reason, is there anything that could be done to broadcast data from one iPhone to another?
I'm sure its a bit of a silly question, but if you don't ask, you don't get; and if someone knows of anything I might be able to look into with regards to this, I would be very appreciative.
Thanks,
Dan
AFAIK Wifi and Bluetooth are your only options for direct phone-to-phone communication.
Offcourse, there is still cellular data network because you are talking about the iPhone ;)