iphone bluetooth getting an event or data from a device - iphone

I'm new to bluetooth. Is there a way through an API call or callback to get some event from a device that's connected via BT to the iphone? That is, without using the apple authentication chip?
A simple example would be an accessory that acts as a doorbell. My device would send "something" to the iphone to tell it someone pressed the doorbell button.

No - your accessory has to be MFi compliant

Related

Interfacing a Bluetooth 2.0 device with iOS 7

I would like to ask you just some initial directions on how to send/receive (essentially receive) some data to/from a bluetooth 2.0 device. I'm trying CoreBluetooth Framework api with no success.
At the same time, I'm sure the connection can be done due to the fact the the device is already paired within iphone 5s and it works correctly (when an incoming call arrived, by pressing the button on the device the call is opened on the iphone).
Then in particular I need to programmatically intercept (on my app) the button pressing on the device. Could you send me some helps on that?
Thank you very much.

Get GPS from iPhone to wifi iPad via bluetooth?

Is it possible to transmit GPS data from a GPS-enabled iPhone to a wifi-only iPad? Does anyone have sample code to share that would do this?
How about getting GPS data from an Android via bluetooth, over to a wifi iPad?
Yes, but you would need to create an application for both devices that would communicate with each other. You cannot get the location over wifi without a custom application sending the data.
Have a look at the WiTap sample app. This app allows two devices to find each other and send data to each other using WiFi. You can adapt this code so one device sends location data it obtains to the other device instead of info about which rectangle was tapped.
I have no info for doing this with Android.

is it possible to use External Fingerprint scanner to be attached with iPhone?

Is it possible to connect or deal with external device to be attached with iPhone and work as Fingerprint reader , to get finger print and store on server and the process further for the same?
If so then what are the SDK or API (if any available) please let me know.
As long as the fingerprint reader is "Made for iPhone" - thus an official external accessory you can access the data it serves you via the External Accessory Framework
I have done so with a barcode scanner that was specifically made for iOS devices. Other devices which are not "Made for iPhone" probably won't be accessible via the dock connector or Bluetooth.

Detect non MFI register card reader to iPhone

I want to create a one application for communication of card reader with iPhone via dock connector. but problem is there my card reader accessory is not a MFI registered. so i cant get any kind of notification when i connect or disconnect device so please can any one tell me how can i connect or detect Non MFI registered accessory tot iPhone
Thanks.
As you say in your comment, it sounds a little strange(but not impossible) that the reader has the 30-pin-dock interface if it is not "Made for iPhone".
However if you are interested take a look at these refs(only for jailbreak device):
iPhone Serial Port Tutorial and iPhone Serial Communication
Let me know if you want a little more detail, once you figure out what kind of interface you have.

How to determine whether iOS device is connected to desktop computer (and iTunes)

Is there way to determine whether an iOS device is connected to a desktop computer using USB cable and it is listed on iTunes.
Yes you can be notified of such events using The External Accessory framework.
"It is capable of sending notifications whenever a hardware accessory is connected or disconnected. Although it is capable, it does not do so automatically. Your application must specifically request that notifications be generated by calling the registerForLocalNotifications method of the EAAccessoryManager class. When an accessory is connected, authenticated, and ready to interact with your application, the framework sends an EAAccessoryDidConnectNotification notification. When an accessory is disconnected, it sends an EAAccessoryDidDisconnectNotification notification. You can register to receive these notifications using the default NSNotificationCenter, and both notifications include information about which accessory was affected."