Re: Bluetooth keyboard emulation
Re: Bluetooth keyboard emulation
- Subject: Re: Bluetooth keyboard emulation
- From: Jeff Johnson <email@hidden>
- Date: Tue, 28 Jul 2009 14:05:41 -0400
Fantastic information! Thanks. I wanted to try making an iPhone app
that would emulate a bluetooth number pad I could use with a laptop or
in conjunction with one of the compact iMac keyboards. I know there's
an app that lets you use the iPhone as a number pad, but it's WiFi and
requires the installation of software... I thought it would be neat if
you didn't have to do that.
-Jeff
On Jul 28, 2009, at 13:50 PM, Matthias Ringwald wrote:
On Jul 25, 2009, at 2:45 AM, Jeff Johnson wrote:
I've been looking around trying to see whether it's possible to use
a iPhone to emulate a bluetooth keyboard (no real reason, just
think it would be a fun exercise). I can't find any information
either way; could someone point me in the right direction?
Hi Jeff,
whether this is possible depends on your "setup". Using Apple's
iPhone SDK and any OS up till 3.0, it is impossible - mainly
because Apple only provides an API for "Made for iPhone" BT
accessories and for Bluetooth Gaming between multiple iPhones.
However, the iPhone does contains a popular Cambridge Silicon Radio
(CSR) chipset with a standard Bluetooth HCI interface. So in theory,
you could run any standard user-space Bluetooth stack you can find
and do whatever you want, including sending key events as standard
HID events over an L2CAP channel.
So far, people successfully used at least the following 3 open-
source Bluetooth stacks on the iPhone to get some Bluetooth
functionality:
* the lwBT stack: http://www.sm.luth.se/~conny/lwbt/
* the stack that comes as part of the BTnode research platform: http://www.btnode.ethz.ch
* the new BTstack project: http://code.google.com/p/btstack
None of these will allow you to sent your key events right away, but
it might be interesting to have a look. To summaries the answer to
your question: yes, it is possible, but sadly only on a jailbroken
iPhone.
What use case did you have in mind, when asking for BT keyboard
support (even though for a fun excercise) ?
Cheers
Matthias Ringwald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden