turn on bluetooth device from iphone - iphone

in my application i'm trying to turn on a bluetooth device from the iphone. The bluetooth device is one of those you put in your ear to talk without holding the phone. I wonder if it's possible to turn on the bluetooth wirelessly from my application.

No, because the bluetooth device would have to be ON to receive the signal to turn ON.
The user manages paired bluetooth devices. If you just need input, see: Can the iPhone 3.0 SDK provide full access to Bluetooth devices (headsets)?.

Related

Bluetooth Connection with Handheld and iPhone

I am trying to establish a bluetooth connection between a Windows CE handheld device(A bank card reader) and iPhone. I want to make data transfer betweeen the two. I have read that prior to IOS 6.0 this was not possible. But with IOS 6.0 I can use core bluetooth to establish a connection.
I would like to know whether the handheld devices bluetooth should be of certain spec to make it work with IOS devices? Or are there any restriction fro any bluetooth device to communicate with an IOS device?
I have read here that the device should be Bluetooth LE. How can I detect whether my handheld device is bluetooth LE?
Thanks
It would be nice if you would provide more information about this Windows CE device.
Just search for the specs of it. If it supports Bluetooth 4.0 LE you have to look if it specifies any of the known profiles. If not the manufacturer may have implemented an own profile to provide certain services and characteristics.
If this is not the case, there is no possibility to establish a connection over CoreBluetooth.
But if its a bank card reader I can't imagine, that it supports BLE.
If the device just supports Bluetooth 2.x you can only connect via the External Accessories Framework. But this only works if the manufacturer bought the MFi (Made for iPod) license and implemented the required specs into the hardware (only then the device is "MFi approved").

Detect paired bluetooth devices from application

How to discover non-apple compliant Bluetooth devices with iPhone..???
I have made an app where i need to detect non- apple compliant Bluetooth car kit with my iPhone.i have to detect Bluetooth devices paired with my iPhone when car kit comes in range i have to call a method. Unable to detect device using external accessory framework. so any help regarding this will be appreciable.Thanks in advance
I am not from iPhone but i think Bluetooth communication to external devices for non-jailbroken iOS devices is restricted to MFi-compliant Bluetooth hardware.

How can I connect an iOS device to non iOS device (Arduino devices) via Bluetooth?

After searching on Google, I found that people say it's only possible to connect an iOS device with a non iOS device with the 'MFi program'. Is that true?
My project is mainly focused on sending and receiving information with the Arduino device via Bluetooth directly.
Is communication between iOS and non iOS devices without jailbreak possible? If yes, is there a reference?
(I viewed Stack Overflow question How can an iPhone access another non-iPhone device over wireless or Bluetooth?.)
As I stated in the above-linked question, general Bluetooth communication to external devices on non-jailbroken iOS devices is restricted to MFi-compliant Bluetooth hardware.
However, newer iOS devices (iPhone 4S, new iPad) are capable of Bluetooth 4.0 LE communication with external devices without the need for those devices to be MFi-compliant. This interaction is done through the new Core Bluetooth framework, which lets you send and receive arbitrary data to and from Bluetooth LE devices. This only works with those listed newer iOS devices, though.
Tim points out an interesting hack that you might be able to get away with in making your device appear like a Bluetooth HID keyboard. Devices like this barcode scanner have special modes to appear as HID devices to iOS. You might be able to pull something together based on this, but all data transfer will be one-way from your device, and it looks like this will require entering that data into text fields as if you had a keyboard connected.
Alasdair Alan's "iOS Sensor Apps with Arduino" is a good resource to look at. I've used Wifi with another microprocessor (mbed) but not sure about bluetooth. Alasdair is active on Twitter and he usually is kind enough to answer questions.

Can iPhone app connect to a bluetooth transmitter ( non iOs Device ) with A2DP Profile?

I want to create an iOS Application which will be listening to a streamed audio from a non iOS bluetooth hardware. This hardware will be transmitting the audio and iPhone App should play it. Is it possible to do this on iPhone ? Does iOs provides any support do do this with A2DP Profile. As far as I read Its not possible to connect iPhone to any non iOs device.
This is not possible
Because the iOS device supports only the A2DP source (i,e it can stream A2DP) and not A2DP Sink (i.e it cannot be listening to the stream)
Well its possible.If You want to connect that device to iPhone you should register your device through apple. they will authenticate your device. Go through apple site for more details.

iPhone - Possible to detect bluetooth id from non-mfi bluetooth device?

I want to place bluetooth devices in different locations and record when the phone gets into each's range. I realize iphone can only connect to mfi devices but can it find out a device id for non-mfi??
If there is a way, would this pass apples app review? I need this app to be able to get into the app store.
Yup, if you have Bluetooth enabled on the iPhone other devices can connect to it. In particular they could do SDP queries (or Remote Name Requests or even a RFCOMM connect).
Or if the phone is in Bluetooth discoverable mode the other devices could do device discovery (inquiry) to find it. (Does the phone stay in discoverable mode when locked?)
It's not entirely clear from your question whether you want an iPhone app to detect the devices, or the devices to detect the phone.
If you have the former in mind, your requirement is exactly what BtLE's (Bluetooth 4.0/Smart/LE) advertising capability is for. Apple's iBeacon technology is such an implementation, or you might roll your own. It'll allow you to do fine grained location in an iOS6+ app running on 4S, 5, and recent iPads. BtLE advertisement detecting apps will easily pass App store guidelines.
From the other direction, devices with BT 2.x - 4.x radios, or with wifi radios, or with various scanners and software radios, will be able to detect mobile phones, tablets, and other radio equipped devices. How much can be discovered is wildly variable.