I'll quote Apple. "Bluetooth networking is not supported on the original iPhone or the first-generation iPod Touch. It is also not supported in Simulator."
I'll quote Apple. "Bluetooth networking is not supported on the original iPhone or the first-generation iPod Touch. It is also not supported in Simulator."
ya i know but the problem is Simulator can detect iPhone,
but iPhone Cant detect Simulator
Need to see your network code, this could be a lot of things. Which device is acting as the sever? Which ports are being used? Are both devices getting a ip address that is on the same network? How are you doing discovery?
Need to see your network code, this could be a lot of things. Which device is acting as the sever? Which ports are being used? Are both devices getting a ip address that is on the same network? How are you doing discovery?
There is no such thing like IP address and port.The application developed using GAMEKIT takes care of everything.It automatically detect the IP Address of all iPhone devices in WiFi network and looks for the application key if it matches then proceeds futher.
There is no such thing like IP address and port.The application developed using GAMEKIT takes care of everything.It automatically detect the IP Address of all iPhone devices in WiFi network and looks for the application key if it matches then proceeds futher.
Sorry I see Gamekit added wifi support with 3.1 (But no picker). Previously it was only bluetooth.
IP's and ports do still exist, though as you said they are abstracted away. This could also still be a ip or router type issue. I'd recommend downloading something like the WiTap sample, and trying to run one on the device, and one on the simulator and see if they can detect each other. If that works than you know the network configuration should be fine, since thats using sockets and bonjour which is what gamekit abstracts away.
It is exactly like having a device (phone or pad) which is using wifi.
If you have, say, three macs, three pads and three phones, you can use that as nine devices all using wifi.
Again there is absolutely no difference using a Wifi app in the simulator, or a wifi app in a device (pad/phone).
In other words, the simulator works "perfectly" regarding wifi. (Assuming of course that your Mac has wifi !!)
There is absolutely no difference between testing a Wifi app on your device (pad/phone) or on the simulator. Hope it helps.
(Of course the simulator DOES NOT do bluetooth, and that's that. Yes, it will sometimes sort of weirdly apparently do the notifcation but nothing else. The simulator does not do bluetooth and there is no way to hack it, end of story. If you are developing a *bluetooth* network app you need a large number of devices, pad or phone.)
Just to repeat the simulator works absolutely perfectly with Wifi - no difference in any detail from using a device.