iPhone SDK Bluetooth application test - iphone

I developed one Bluetooth application. I mean, I got it from Internet. Could I test this application in my simulator?
When I execute this application in simulator, it is showing only one message box:
LOOKING FOR OTHER iPHONE OR iPOD TOUCH
My computer is mini Mac. There is Bluetooth. If we test it in my iPhone, does it work fine? Please help me.

The simulator does not have bluetooth support.

Bluetooth networking is not supported on the original iPhone or the first-generation iPod touch. It is also not supported in Simulator.
please refer it
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html

Related

how to detect nearest BLE 4.0 ios devices using corebluetooth?

I worked on detecting nearest BLE 4.0 ios devices using corebluetooth by referring this link
http://olesitune.mine.nu/blelogg/?page_id=180
It's not detecting any ios device.can anyone provide some information regarding this.
Thanks in advance
Are you using iOS 6? Only iOS 6 has support for setting the iOS device as server/peripheral. Remember that you can not discover any BLE devices from iOS just using the standard bluetooth settings, you have to write an app for both sides of the communication.
That guide will not help you discover any iOS devices, only standard BLE devices like heart rate monitors, temperatur sensors and such if you don't have an iOS6 device which is configured as a peripheral device.
I see that you have also posted this question elsewhere, but please submit some of your project code, results, debug data before expecting any helpful answers

iPhone App to transfer message over bluetooth but device is not getting connected

I am working on this iPhone app with which you can send message to other connected device. I have gone through following tutorial
http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/
Everything seems to be fine. No memory leaks or anything like that. Now I installed this application on iPad and iTouch. iPad is running 4.3.5 and iTouch is running 4.2.1. I am using X Code 4.0 with iOS 4.3 as base sdk. I set my targets to 4.0 in X Code for above project (like Target->Messenger->summary->deployment target->4.0) similarly for project.
Now when I run application and try to connect it with other device, it shows only looking for nearby iOS devices and nothing happens further. But when I set deployment target to 4.3 and install same app on iPad, that iPad can detect iTouch but not able to connect it.
Can anyone tell me why is this happening and how to deal with it ?
Regards,
Sumit
Did u try using Xcode Simulator to connect your iPod Touch by Blue Tooth?
Then it can make more sure that your programming run correctly.

testing gamekit framework on a simulator

I'm trying to test whether I am using gamekit properly using a simulator. Is it possible for a simulator running my code to detect an external ipad or iphone if they are with in range using the gamekit?
A GameKit app in the simulator can connect to a version of it on the iPad/iPhone/iPad if both are on the same Wireless LAN.

Not able to connect iphone simulator to iphone device in bluetooth gamekit application (iPhone SDK)?

Not able to connect iphone simulator to iphone device in bluetooth gamekit application (iPhone SDK) ?
same bluetooth application is installed in both simulator and device, when i am trying to connect device with simulator (via bluetooth), in simulator side(mac system) i am able to get device, but when i select that device, app saying that "Waiting for ******* iphone.." and then after some time, message appear like "Connection Lost". I mean, i am not able to connect iphone simulator to iphone device (via bluetooth).
How to solve this issue ??
The iPhone Simulator cannot connect to a device through Bluetooth. From the Game Kit Programming Guide:
Bluetooth networking is not supported
on the original iPhone or the
first-generation iPod Touch. It is
also not supported in Simulator.

iPhone Bluetooth connection (2 questions)

I have two questions:
I want to trasfer data between iPhone and another Bluetooth device. It may be iPhone, iPod touch or any other mobile, like Nokia, Samsung or any PC. Is it possible in iPhone programming? If yes, please give me guidelines.
Can we test Bluetooth applications in iPhone simulator?
No we can't test bluetooth in simulator. for testing we need minimum ios 3.0 version
iPhone Bluetooth Does Nothing But Calls