Open hh opened 9 years ago
I've been looking at reconnects here:
https://github.com/hh/btk/commit/9595a46f16368a794cebc3beb13c1648996dea53
But I'm not sure how to reach NewConnection https://github.com/lvht/btk/blob/master/btk.py#L104
Seems it only get's called when devices connect to us, not when we connect out.
What documentation did you refer to when working on this? It's been difficult to find good bluez docs.
http://www.bluez.org/bluez-5-api-introduction-and-porting-guide/ . Most material on the internet is about bluez 4 api.
And,
I've looked at these, still trying to figure out to do get the keyboard to connect. (I've trusted both directions, but I'm still not sure how to plumb the python code to jump into NewConnection correctly.
Instead of a command line parameter, this could work so that the the most recent connection is retried. This address could be stored (/var/lib
?) so it is remembered between restarts.
From https://github.com/lkundrak/btkbdd/blob/master/btkbdd.pod#options