lukasjapan/bt-speaker

Auto reconnect

Opened this issue · 1 comments

Is there a function to connect to a device?

I rewrote the handler and after no device is connected it try's to reconnect to the last connected device but the method to connect to a device using the uuid seems to not exist?

Well, the short answer is: No, I didn't implement such feature.

I guess to achieve a reconnect, one must remember the uuids of the devices that connected in the past (like you did) and then watch/poll for these.
Such feature probably means more porting of the bt-admin library to Bluez5.

I'll keep it in mind for now as a feature request.
Pull requests are welcome.