Closed GoogleCodeExporter closed 8 years ago
Original comment by matthias.ringwald@gmail.com
on 15 Feb 2010 at 9:33
Do you need any coding help to make this feature possible? Do I need
low-level
Bluetoothk tinkering to do this, or are these simple changes I could do myself?
(I'm a coder myself, though mainly code for BlackBerry, Windows Mobile, and now
Android, but I'm also expanding to iPhone too.)
i.e.
- (easy?) Save MAC address of last keyboard to internal settings file
- (easy?) Re-autoconnect to that keyboard whenever it sees that MAC (even when
running in the background) whenever it sees that keyboard in discoverable mode.
- (easy?) Turn off the 15 minute timeout
- (harder?) Intermittently poll for that MAC address of the already-paired
keyboard,
whenever it'd disconnected and isn't 'discoverable' because it may stil be on
an
nearby.
Please feel free to reply to re-rank the bullets; and which bullets you think
can be
worked on the already pubicly available btstack source code; and which bullets
require modifying the proprietary app?
Any way to help out here?
Original comment by marky...@gmail.com
on 19 Feb 2010 at 1:46
Note -- this would be one of my first real Bluetooth project, although I have
lots
of experence with older serial protocols -- I'll have to do some studying on
the
necessary Bluetooth protocols (especially SDP, HID, etc) before I can even
attempt
to try and take upon this. If each bullet requires changes to the proprietary
app,
then I'm out of luck.
Original comment by marky...@gmail.com
on 19 Feb 2010 at 1:51
hi markybox
i think the best solution would be to handle incoming connections. I've added
the
missing pieces in BTstack beginning of this month, the rest (all your bullets)
is in
the "proprietary" code. It's not that much work, but I just lack enough time to
do
everything I could.
the one thing which is related is to prevent the iPhone from sleeping while BT
is on.
Currently this is done within the keyboard app, but it should be in the daemon.
If
you're interested in using/helping with BTstack, please join the dev list. :)
Original comment by matthias.ringwald@gmail.com
on 25 Feb 2010 at 7:05
Upon further research, I believe you are right. My keyboard evidently attempts
to
connect to the host when I press a keypress. So it's not a matter of polling
for
it, but a matter of ability to accept incoming connections. That would be
perfect,
I hope.
Less important is iPhone sleeping while BT is on, is to at least make it work
automagically:
1. Turn on iPod/iPhone (press button)
2. Turn on keyboard (which is usually just tap a key)
And the keyboard automatically connects. That's evidently how conveniently it
works
on other handheld devices including BlackBerry Curve 8300 (OS 4.2 only, using
old
ThinkOutside driver that doesn't work on OS 4.5), as well as on Windows Mobile
devices.
So basically, for now, perhaps some low lying apples (pun intended) can easily
be
done:
(1) Checkbox "[x] Alway keep Bluetooth on (May use more battery power)"
(not necessarily disable sleep mode, that can be a future checkbox "[x] Prevent
sleep when Bluetooth on")
(2) Checkbox "[X] Automatically reconnect to last keyboard upon startup of
BTStack"
Meaning, I just have to launch BTStack and it will automatically reconnect to
my
keyboard when I merely make discoverable.
(Your future rewrite will make this even more convenient, but at least this is
an
easy interim step?)
Original comment by marky...@gmail.com
on 25 Feb 2010 at 8:06
Addendum, when I say
1. Turn on iPod/iPhone (press button)
2. Turn on keyboard (which is usually just tap a key)
I mean, without launching a pairing app or launching BTStack. Meaning, I keep
working right away in the same application that was already running when the
iPod
last went to sleep (when I intentionally press the power button)
I want quick power-off and quick power-on convenient, for sudden nomadic starts
and
stops of the Bluetooth keyboard -- very important to me.
Original comment by marky...@gmail.com
on 25 Feb 2010 at 8:08
I also would like to express my appreciation for a feature like this to be
implemented. I also have the same bt keyboard and find that it has a very small
timeout and therefore I am constantly having to reboot my ipad to get the
btstack keyboard app to see the keyboard again. (For some reason once the
keyboard goes to sleep it has a tough time finding it again and the only
surefire way I've been able to solve this is by rebooting). I also echo that
this and the bt mouse are the only reasons why I jealbroke my ipad (to use with
logmein).
Keep up the great work!
Original comment by brian%sy...@gtempaccount.com
on 23 Nov 2010 at 4:18
hi. I never implemented incoming connections for BTstack Keyboard or Mouse, but
I've release BTC Mouse & Keyboard which integrates into iOS Bluetooth. I hope
this makes the BTstack Keyboard & Mouse combination obsolete and provides a
better user experience as the iOS stack supports re-connection out of the box.
Original comment by matthias.ringwald@gmail.com
on 2 Nov 2012 at 8:32
Original issue reported on code.google.com by
marky...@gmail.com
on 14 Feb 2010 at 10:15