External bluetooth devices to iphone? - iphone

is it possible to get data from external bluetooth device(not iphone) to iphone(bluetooth sensor to iphone)?because normally apple requires both end must open the application with same GKsessionID?any help please?will mFI provide special chip t0 install in external device?

This is related to the question about getting data from external device.
Se if this helps. I am trying to use the same in one of my project now.

I'm not sure what you mean about a special chip, but I can tell you that bluetooth can only be accessed via GameKit, which only works on Apple iOS devices. I'm sure there's some private api, but that would require jailbreaking, which would get your app rejected from Apple right away.

Related

I want an iOS app which communicates to another app in PC/MAC via USB

I want an iOS app which communicates to another app in PC/MAC via USB.,Is there any way to do it without jailbreaking the iOS device and without applying to Apple's MFI Program ?
I don't intend to submit the application to Appstore.
Thanks for any help in advance.
You need to use the External Accessory Framework

Bluetooth communication between Mac and iPhone

I want to write an app communicating between Mac and iPhone.
Specifically speaking, I want to write a mac app which translates the input from mac and sends it to mac.
For example, if I type 'a' on mac, the app changes it into 'ah' on iPhone.
Another example, if I type 'a' on mac, the app changes it into 'あ' in Japanese on iPhone.
To write this kind of app, What documentation should I refer?
Please let me know, what documentation should I read.
Thanks in advance.
There is no easy way to do this,
The iPhone supports standard bluetooth profiles and a general purpose app like what you have mentioned will require the mac to act like an iPhone Bluetooth accessory (which requires it be be as per Apple MFi requirements)
You can do it by connecting an external compatible Bluetooth hardware to the Mac which can make it act like an accessory then write your app for the required function.

iphone blutooth device connection

I have an app which has to connect to a medical bluetooth device to get data from that device. (Not to any iOS device).
Using which framework or class I can connect and receive data from?
Thanks.
After you get an MFi license, you then have to have an Apple supplied authentication chip on the bluetooth device. You must create custom protocols to transfer the data.
The BT on iOS is locked down and you can only access simple AVRCP events inside an app, no data transfer is allowed, except using GameKit (which only works between iOS devices).
UPDATE:
If you are using a BLE device then you can checkout this, it is iOS 5 only though.
http://developer.apple.com/library/ios/#documentation/CoreBluetooth/Reference/CoreBluetooth_Framework/_index.html
Are you planning to develop this app with a jailbreak device?
If not, you have to enroll the MFI(Made For iPhone) program, then you can define your custom protocol and use the ExternalAccessory framework to communicate with your device.
If yes, take a look at Btstack project.

Turn Wifi on/off for iphone from an application

I need to turn on or off the wifi in the iphone. Any ways of doing it? Or is it forbidden (private framework)
All applications written with the public SDK are sandboxed. They only have access to the properties and data which Apple deems feasible to use within that sandbox. I am afraid Wi-fi doesn't come in the list
Pls take a look at this SO question iPhone Wi-Fi Manager SDK and this discussion

iPhone Bluetooth SDK - discover Android / Windows phone 7 devices and background discovery

I am an Android developer and .Net developer and not yet have acquired the needed knowledge regarding iOS .
I did a search on-line but couldnt get conclusive answers to several questions I have which are the following :
1.iOS Bluetooth , do I have to use the Bonjour or Game Kit or can I access a lower level API.
2.Do currently I have an option to perform pairing between an iPhone device and an Android device ?
3.Can an application access the iPhones MAC ID and Friendly ID Bluetooth slots and change them while its in the background ? Or while the device is sleeping ?
4.Can an application set if the iPhone is discoverable or not discoverable to other devices - not iPhone ? Can it perform it while in the background ?
Regards !
Jessy85
This might be helpful to you: How can an iPhone access another non-iPhone device over wireless or Bluetooth?
Generally, there is NO option to communicate with non-iOS device via bluetooth in regular iOS API. GameKit is intended for using between only iOS devices. However I don't know the lower level API which open to only licensed accessory hardware developer except acquiring the license is incredibly hard differently with software license.
1) You can only get to the base API if you are developing specific hardware and are a MFi member. http://developer.apple.com/programs/mfi/
2) Don't think so. But Not really sure
3) You want to change the mac id in the background? Not that I know of. Also it seems like a really questionable idea.
4) Again don't think so. Maybe with MFi but I don't know.