USB and iPhone. In an iPhone app, USB is not connected to a computer? - iphone

I have this scenario where I have Windows Mobile smartphones that talk in low level to the USB port of a device that is not a computer. I now have to do this from an iPhone. Is that possible?

It is not currently supported with Apple's SDK. However, in the 3.0 release (June 2009) it will be supported.
Learn more here:
http://www.apple.com/iphone/preview-iphone-os/

This is a feature that will be supported by the upcoming 3.0 software. There are some caveats however. You will have to use the 30-pin connector provided by Apple and the protocols that accompany it.
For more info, check out: http://developer.apple.com/iphone/program/sdk.html

The iPhone 3.0 SDK supports this, through its External Accessory API.

Related

RxBluetoothKit with RxAndroidBle

I am currently developing a xplattform Android/iOS App and evaluating, if iOS devices using RxBluetoothKit can communicate with Android devices running RxAndroidBle from Polidea GitHub?
I already looked through the FAQ, Stackoverflow and Gitter questions, but could not find a precise answer.
I am quite sure, that a communication should be possible, but I'd love to have a confirmation from someone who is not a total noob in BLE like me.
BLE(Bluetooth Low Energy) is a network technology designed by Bluetooth SIG and adopted by many platforms (iOS, Android, Windows, etc). The technology is independent of the Reactive Extensions(Rx) frameworks you mentioned. The Rx frameworks just supply a FRP(Functional Reactive Programming) interface to the technology. So RxBluetoothKit is basically a wrapper around Apple's Core BlueTooth framework, providing the Rx features. According to Wikipedia, BLE is supported by iOS 5 and later as well as Android 4.3 and later. You can find the specification here Bluetooth Core Specification V4.0

bluetooth GATT over BLE for iOS and Android?

I have a project that needs iOS/Android APP to communicate with embedded side via Bluetooth Low Energy(BLE) to transfer small amount of data. My embedded side is CSR chip which supports the dual mode.
Does anyone know is that possible for both Android and iOS to support this GATT over BLE? Any fee like joining developer program?
I think Android side should be OK, but I am very new to iOS and don't know it is easy to do so.
thanks
Yes Android supports GATT over BLE. Yes iOS supports GATT over BLE. Yes Apple requires you to be an Apple Developer in order to develop iOS apps and it costs $99/year. You will also need an Apple computer to do the development.

Ibeacon app developing

Just started reading about this ibeacon that apple is selling out to retailers. If I wanted to created an app that connects to these beacons.. how can I do so? Cant seem to find any apis or any help for doing this, it is a relatively new technology. Also, can Android devices also utilize this technology?
Apple has an app called AirLocate that they released at WWDC this year. If you search on "AirLocate" you can find it online.
It is an app that lets you turn your BLE-capable iOS device (iPhone 4S or later, iPad mini/ iPad 3 or later, or 4" iPod) into either a beacon or a beacon detector.
With that source it's quite easy to figure out the basics of iBeacon programming.
As the other poster said, the newest Androids are able to detect beacons, but so far the firmware does not support sending as a beacon.
Yes, Android devices can interact with iBeacons using Radius Networks' Android iBeacon Library.
You can find a table that compares the APIs for both Android and iOS on this page. You may also want to Google for a tutorial.

Does the iPhone sdk support l2cap bluetooth sockets?

Does the iPhone sdk support l2cap bluetooth sockets? Any additional information about SDK classes, etc would be greatly appreciated.
The latest CoreBluetooth does expose L2Cap through CBL2CAPChannel: https://developer.apple.com/documentation/corebluetooth/cbl2capchannel
It can be opened from a CBPeripheral: https://developer.apple.com/documentation/corebluetooth/cbperipheral/2880151-openl2capchannel
No.
There are no direct support for Bluetooth APIs in the SDk,
REfer the game kit programming APIs for application development with Bluetooth for peer-to-peer gaming
Other than than you will have to join the Made for iPod/iPhone/iPad program to get access and develop bluetooth connected accessories
Bad news from MFI FAQ (2014):
Q: I want to develop an accessory that communicates with an Apple device using only Bluetooth Low Energy. Do I need to join the MFi Program?
A: No. Accessories which connect to an Apple device using only Bluetooth Low Energy/BTLE/Bluetooth 4.0 or standard Bluetooth profiles supported by iOS are not part of the MFi Program.
I'm developing an app to connect with a L2CAP device on Android, now I'm studying porting on IOS but I found this issue.
For enabling a device to talk by Bluetooth, it must integrate the Apple authentication chip into device and must be able to connect with built-in Apple's Bonjour discovery service.
No L2CAP for any device... Sorry!
Website: https://mfi.apple.com
Source: https://mfi.apple.com/MFiWeb/getFAQ.action#4-2

Does the iPhone SDK allow hardware access to the dock connector?

I haven't been able to find any documentation on hardware access via the iPhone SDK so far. I'd like to be able to send signals via the dock connector to an external hardware device but haven't seen any evidence that this is accessible via the SDK (not interested in possibilities on jailbroken iPhones).
Anyone have any pointers to docs for this or some idea of what deep dark corner i should look?
It will with the new SDK (3.0):
iPhone OS Accessories
Using iPhone SDK 3.0 your application can communicate with accessories attached to iPhone or iPod touch through either the 30-pin dock connector or wirelessly using Bluetooth.
Available in iPhone SDK 3.0 as External Accessory framework
http://developer.apple.com/iphone/program/sdk.html
To get the Hardware specs for the Doc connector you need to be part of the made for ipod/iphone program. But if you just want to talk to an already existing piece of hardware that supports it, the 3.0 SDK will let you access it.
I have tried applying to the made for ipod/iphone program as a individual/hobbyist, but have so far not heard anything past the "fill out the company information" stage.
chris.
This falls into the range of capabilities that requires working with Apple to get a special license. At, I presume, a special price.
This has changed to some extent with the 3.0 version of the iPhone firmware. If PyjamaSam is correct there is still some special activity required to get the connector specifications.