Re: Bluetooth keyboard emulation
Re: Bluetooth keyboard emulation
- Subject: Re: Bluetooth keyboard emulation
- From: Matthias Ringwald <email@hidden>
- Date: Tue, 28 Jul 2009 19:50:31 +0200
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