Can we programmatically create a iPhone AdHoc Network? - iphone

Is it possible to create adhoc network programmatically in the iPhone, So that other device can connect to it?

Without jailbreaking it; no. If your phone is jailbroken and you want to know how to, Google has lots on it, but if that doesn't work out, update your question and be more specific.

GameKit uses either Bluetooth or Bonjour (WiFi but not adhoc), so it is not WiFi adhoc network.

You can not setup a standard WiFi adhoc network on the iPhone. However the GameKit allows for setting of peer-to-peer networks between iPhones.

Related

Is it possible to wirelessly transfer HD video from iPhone to iPhone without wifi and without 4G or 3G?

I'm guessing bluetooth.
What are the transfer speeds?
It would have to work on iPhones which are not jailbroken, although I'm still curious about how it could work better on jailbroken ones.
The GameKit GKSession class supports connecting to nearby instances of the same app using both Wi-Fi and Bluetooth. The choice of transport is completely automatic and hidden by the API. So you could use that to transfer data between nearby devices. I don't know what the transfer speed is like though. Probably not very good.
I guess, via "Bump Technology".

Connect multiple (3+) iPads/iPhones over bluetooth ad-hoc network?

I'm curious if it's possible to have more than two iPads/iPhones connected to one another over a bluetooth network simultaneously. I'd like to design a network game that supports more than two players but I can't find any information to determine if this is even possible.
Bluetooth only supports Device-to-Device not AdHoc. As "pst" suggests, WiFi is the only way to go.
if... you want to try.... first they would have to be jailbroken.
on cydia, try out the wywi app >> bluetooth tether with the pc
it has other functions like usb tethering, its the best tethering app if you dont care about revealing your connection to your carrier, but that doesnt suit the case
i know for a fact that you can tether as ad hoc via usb tethering, i believe the bt tethering should work the same

Does iPhone support WiFi ad-hoc mode?

Does the iPhone support ad-hoc network mode? Can iPhones connect to one another without requiring an existing network? If so, how can I create an Ad Hoc network in my app?
Updated Answer:
Have a look at the MultiPeer Connectivity Framework (documentation link) introduced in iOS 7. NSHipster has a nice write-up on it (link). Although you don't get direct network access, you can easily pass data between devices, and even use other devices to act as middlemen to other devices nearby.
Legacy Answer:
iOS devices cannot make peer-to-peer networks using the built in Settings app or available APIs. However, if you want to send data between devices in your app you have three options.
You can use Game Kit, CoreBluetooth (in limited circumstances), or you can use something like CocoaHTTPServer.
Ad Hoc networking is supported on all iOS devices, but you can not create an ad hoc network from within your application. From the list of available networks, choose the ad hoc network you want to connect to, click the arrow and choose connect automatically. Now, your device will automatically connect to this network whenever it comes within range. After this you can use the connection using regular sockets or any other networking API.
As of iOS 7 you can use the Multipeer Connectivity Framework to connect two iPhones without an existing network. The framework will use Bluetooth, Wifi infrastructure mode, or Wifi Adhoc mode. Unfortunately, you don't have the ability to choose a transport, the framework decides on what is best.
No, stock iPhones do not support ad-hoc Wifi communication.
Yes, iPhones can connect to one another without an existing network, using Bluetooth (via the Gamekit API).
IOS 6.1.3 on an iPad mini will connect to an ad-hoc network
What you are describing is called Wifi peer-to-peer which iOS devices do not support at the moment.

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 UDP ad hoc datas transfert

I'm trying to make an iPhone application to communicate with an other wireless device.
The other device can send datas via UDP sockets. I just want to know if it is possible to receive the informations on the iPhone, without access point on the network (just an iPhone and the wireless device), and how if it is.
I was looking at UDPecho, by apple, and I think it could be useful.
If anyone had some idea, just let me know what you're thinking about
iPhone 4 with iOS 4.3 can create a Wi-Fi network using the Personal Hotspot feature, which your "other device" could join.
A Verizon iPhone with 4.2.6 may also be able to do this.
Earlier iPhone models can't use the Personal Hotspot feature, regardless of the version of iOS.