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
Related
In my iOS app, I want to detect all available wifi networks and then choose one network form the list and connect to it. The goal is to not open the Settings built in app to connect to a wifi, but to do it all in my app.
First, is this possible? If possible, please point me to what framework(s) and methods to use.
I have looked at the Reachability example, but that doesn't work for me because, I think, all it does is monitor the network state of the device.
I also looked at the Captive Network Support framework, and used the CNCopySupportedInterfaces function:
CFArrayRef allWifiNetworks = CNCopySupportedInterfaces();
NSLog(#"%#", allWifiNetworks);
but all I am seeing is the current wifi network that the device is connected to.
Thanks
I'm pretty sure you can't do this, at least not if you want to be able to publish on the App Store.
I'm developing an iPhone/iPad app that requires it communicate with another device. I'm actually more interested in receiving input from another device that the iPhone is connected to through USB. The solution needs to work with any iOS device and cannot require it to be jailbroken.
I've heard of apps that communicate with a piece of hardware that can be plugged to the iOS' serial connection, which is similar to what I'm going to develop except that the other device I'll be connecting to is a standalone music keyboard.
best regards,
fbr
If you are developing accessories that need to connect to iOS devices and want to use your own communication mechanism then you need to join the Apple MFi program.
Several options:
Forget MFi unless you have 1000s of $ backing up your product development. Apple won't even talk to you. I've tried.
Take a look at the Serial Cable from Redpark (http://redpark.com/c2db9.html)
I've got one of those and it's ideal for apps that you can deliver on your own, but you might also be able to get them into the App Store.
Another option is to use Wifi with a Wifi-to-Serial adapter on the other end. I've used the RN-174 and RN-134 from Roving Networks successfully.
However, these solutions only get you Serial connections, but can be quite fast, especially with the RN modules. There are also Serial-to-USB converters you can use on the device's end, but that would require the device to work as a USB host, usually. If you have a USB device that wants to act as a client, these common adapters won't do the trick.
So, unless you can actually afford the MFi program, and if you really need USB connectivity, you'll have to let someone create a small box containing a USB host adapter with a Wifi chip. I don't know of a ready-made solution for this yet, although I've seen quite a few area where people would like to have such a unit.
I have an embedded hardware device that currently broadcasts data via bluetooth. I don't want to go through the steps of the MFi program, so I'm thinking about using a different chip in my device to broadcast the same data via WiFi/UDP.
It is my understanding that in that case the only thing I need is sockets and bonjour for discovery.
My question is: do I need a third device in the equation (a wireless router where the two devices are connected)? Or can the two devices establish some sort of ad hoc network?
Pointers are greatly appreciated.
Have a look at WiFly from Roving Networks. It might be what you're looking for.
I need two iphones to communicate (send and receive messages) without being inside a LAN.
I read that Game Kit Framework makes this possibile but only via bluetooth (is that right?). The application that I have to create need a larger radius than bluetooth so I need wifi but I can't have a Laptop that create the network 'cause this application will run on the outside just between iphone (without internet connection).
Is that possibile?
In that case, where do I have to take a look? (Bonjour, Game Kit Framework..)
Thank you
Here's the deal ...
GameKit works with EITHER bluetooth or wifi. It's completely automatic. Annoyingly you CAN NOT choose between the paradigm.
From 2016, almost all iPhones / iPads can create a "hotspot" WiFi network, yes.
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.