Bluetooth SPP on iOS

6,226 views
Skip to first unread message

Scott T

unread,
Oct 28, 2011, 10:23:30 AM10/28/11
to rhomobile
Can rhomobile communicate via a bluetooth serial connection? We
currently use a bluetooth/IR device to read data from a simple IR
device on Blackberry and some other, older devices, but would like to
move into iOS development. Can we do BT SPP on iOS?

Jon Tara

unread,
Oct 28, 2011, 12:27:41 PM10/28/11
to rhom...@googlegroups.com
Not available in iOS, at least not for normal developers.

Perhaps through the Made for iPhone program, which is much more involved and expensive than the regular app developer program.

Jon Tara

unread,
Oct 28, 2011, 12:28:16 PM10/28/11
to rhom...@googlegroups.com
For MFI, I believe you need to incorporate a special Apple authentication chip in your device.

Jon Tara

unread,
Oct 28, 2011, 12:48:18 PM10/28/11
to rhom...@googlegroups.com
Apparently, you can buy boards with the Apple authentication chip present. You'd be out of luck, though, if you want to use an existing Bluetooth device:

http://www.connectblue.se/products/bluetooth-products/bluetooth-modules/bluetooth-iphone-ios-accessory-module-obs414/

I presume the manufacturer provides some library that provides SPP support. Not sure if you would still have to join the MFI program, or if that's covered by the manufacturer's participation.

Way back when I defined and implemented the Windows API for the Widcomm Bluetooth stack (the first Bluetooth stack for Windows), before they were bought by Broadcomm. So, since I am doing iOS development now, I've kept an eye on the (mostly nonexistent) Bluetooth application development support in iOS...


Jon Tara

unread,
Oct 28, 2011, 1:00:03 PM10/28/11
to rhom...@googlegroups.com

Jon Tara

unread,
Oct 28, 2011, 1:06:44 PM10/28/11
to rhom...@googlegroups.com
This was cited as the best place to get some feel for the costs, which are shrouded in mystery. It's apparently arbitrary and project-dependent. I know there is a $1 cost for the authentication chip, and a $4/device royalty. Beyond that, I dunno, and companies enrolled in the program are precluded from talking by NDA.

http://www.apress.com/9781430229315

Good luck! (I think you're gonna need it! :) )

Scott Trafford

unread,
Oct 28, 2011, 1:29:55 PM10/28/11
to rhom...@googlegroups.com
Actually we just do raw Ir over a serial port connection currently.  No device-specific library.

-Scott






--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhomobile/-/G17rvDS4bRgJ.

To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to rhomobile+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhomobile?hl=en.

Jon Tara

unread,
Oct 28, 2011, 2:02:27 PM10/28/11
to rhom...@googlegroups.com
To clarify, do you mean a physical serial port, or Bluetooth SPP?

iOS doesn't support SPP. It won't talk to a Bluetooth device outside of it's very limited profiles, which do NOT include SPP, unless the device has the special Apple ID chip.

If you can jailbreak, that's a different story. There are SPP drivers available for jailbreak, but you may need to disable the built-in Bluetooth stack.

Scott Trafford

unread,
Oct 28, 2011, 2:03:49 PM10/28/11
to rhom...@googlegroups.com
Bluetooth SPP.  Jailbreak is not an option, since we don't want to force customers to do that.

-Scott



--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhomobile/-/R4wyu14KvvEJ.

Jon Tara

unread,
Oct 28, 2011, 2:49:29 PM10/28/11
to rhom...@googlegroups.com
I think you are out of luck then, unless you are the device manufacturer, and are willing to incorporate the Apple ID chip and join the MFI program.

Scott Trafford

unread,
Oct 28, 2011, 2:51:10 PM10/28/11
to rhom...@googlegroups.com
No, we are not the mftr.  Thanks for your help.  Android it is!

-Scott



--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhomobile/-/rXqAFNB4LaMJ.

Jon Tara

unread,
Oct 28, 2011, 11:50:28 PM10/28/11
to rhom...@googlegroups.com
That out of the way... you can certainly write a Rhodes extension to interface to SPP. Shouldn't be terribly difficult.

On Friday, October 28, 2011 11:51:10 AM UTC-7, Scott Trafford wrote:
Android it is!


evgeny vovchenko

unread,
Dec 4, 2011, 4:13:24 PM12/4/11
to rhom...@googlegroups.com
http://docs.rhomobile.com/rhodes/device-caps#bluetooth

--

You received this message because you are subscribed to the Google Groups
"rhomobile" group.

Reply all
Reply to author
Forward
0 new messages