Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-08-13 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Zanetti wrote on 13/08/15 13:07: > > On 03.08.2015 11:30, Matthew Paul Thomas wrote: > > ... >> >> That incoming calls and wi-fi password entry are handled through >> the notification system is a mistake. It means that without >> changing

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-08-13 Thread Michael Zanetti
Hi, On 03.08.2015 11:30, Matthew Paul Thomas wrote: > Michael Zanetti wrote on 28/07/15 18:12: >> ... > >> The incoming call and the wifi password entry are handled through >> the notification system. Seems like the Bluetooth case would be >> just the same, no? > >> ... > > That incoming call

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-08-04 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon Busch wrote on 03/08/15 10:45: > > On 03.08.2015 11:30, Matthew Paul Thomas wrote: ... >> >> That incoming calls and wi-fi password entry are handled through >> the notification system is a mistake. It means that without >> changing the notific

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-08-03 Thread Simon Busch
On 03.08.2015 11:30, Matthew Paul Thomas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Zanetti wrote on 28/07/15 18:12: ... The incoming call and the wifi password entry are handled through the notification system. Seems like the Bluetooth case would be just the same, no? ...

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-08-03 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Zanetti wrote on 28/07/15 18:12: > ... > > The incoming call and the wifi password entry are handled through > the notification system. Seems like the Bluetooth case would be > just the same, no? > > ... That incoming calls and wi-fi passw

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-30 Thread Simon Busch
On 30.07.2015 10:48, Sebastien Bacher wrote: Le 30/07/2015 10:30, Simon Busch a écrit : From what it looks in the ubuntu-system-settings code we nowadays don't support the DisplayPinCode call from BlueZ which is relevant for Bluetooth devices not supporting SSP (those using Bluetooth < 2.1). Wi

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-30 Thread Simon Busch
On 30.07.2015 10:48, Sebastien Bacher wrote: Le 30/07/2015 10:30, Simon Busch a écrit : From what it looks in the ubuntu-system-settings code we nowadays don't support the DisplayPinCode call from BlueZ which is relevant for Bluetooth devices not supporting SSP (those using Bluetooth < 2.1). Wi

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-30 Thread Sebastien Bacher
Le 30/07/2015 10:30, Simon Busch a écrit : > From what it looks in the ubuntu-system-settings code we nowadays > don't support the DisplayPinCode call from BlueZ which is relevant for > Bluetooth devices not supporting SSP (those using Bluetooth < 2.1). > Will file a bug for this. Indeed it's not

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-30 Thread Simon Busch
On 29.07.2015 17:52, Tony Espy wrote: On 07/28/2015 11:28 AM, Simon Busch wrote: On 28.07.2015 17:20, Tony Espy wrote: On 07/28/2015 10:14 AM, Sebastien Bacher wrote: Hey there, Currently the only bluetooth agent available in ubuntu touch is implemented in system settings. Which means the set

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Simon Busch
On 29.07.2015 18:32, Tony Espy wrote: On 07/29/2015 12:30 PM, Simon Busch wrote: On 29.07.2015 17:52, Tony Espy wrote: On 07/28/2015 11:28 AM, Simon Busch wrote: On 28.07.2015 17:20, Tony Espy wrote: On 07/28/2015 10:14 AM, Sebastien Bacher wrote: Hey there, Currently the only bluetooth age

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Tony Espy
On 07/29/2015 12:30 PM, Simon Busch wrote: On 29.07.2015 17:52, Tony Espy wrote: On 07/28/2015 11:28 AM, Simon Busch wrote: On 28.07.2015 17:20, Tony Espy wrote: On 07/28/2015 10:14 AM, Sebastien Bacher wrote: Hey there, Currently the only bluetooth agent available in ubuntu touch is impleme

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Simon Busch
On 29.07.2015 17:52, Tony Espy wrote: On 07/28/2015 11:28 AM, Simon Busch wrote: On 28.07.2015 17:20, Tony Espy wrote: On 07/28/2015 10:14 AM, Sebastien Bacher wrote: Hey there, Currently the only bluetooth agent available in ubuntu touch is implemented in system settings. Which means the set

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Tony Espy
On 07/28/2015 11:28 AM, Simon Busch wrote: On 28.07.2015 17:20, Tony Espy wrote: On 07/28/2015 10:14 AM, Sebastien Bacher wrote: Hey there, Currently the only bluetooth agent available in ubuntu touch is implemented in system settings. Which means the settings application need to be open for b

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Michael Zanetti
On 29.07.2015 15:38, Tony Espy wrote: > On 07/28/2015 01:12 PM, Michael Zanetti wrote: >> >> >> On 28.07.2015 18:06, Simon Busch wrote: >>> On 28.07.2015 17:57, Sebastien Bacher wrote: Le 28/07/2015 17:37, Simon Busch a écrit : > > So the service would show the UI or is this then off

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Tony Espy
On 07/29/2015 09:57 AM, Simon Busch wrote: On 29.07.2015 15:38, Tony Espy wrote: On 07/28/2015 01:12 PM, Michael Zanetti wrote: On 28.07.2015 18:06, Simon Busch wrote: On 28.07.2015 17:57, Sebastien Bacher wrote: Le 28/07/2015 17:37, Simon Busch a écrit : So the service would show the UI

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Simon Busch
On 29.07.2015 15:38, Tony Espy wrote: On 07/28/2015 01:12 PM, Michael Zanetti wrote: On 28.07.2015 18:06, Simon Busch wrote: On 28.07.2015 17:57, Sebastien Bacher wrote: Le 28/07/2015 17:37, Simon Busch a écrit : So the service would show the UI or is this then offloaded to the bluetooth i

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Tony Espy
On 07/28/2015 01:12 PM, Michael Zanetti wrote: On 28.07.2015 18:06, Simon Busch wrote: On 28.07.2015 17:57, Sebastien Bacher wrote: Le 28/07/2015 17:37, Simon Busch a écrit : So the service would show the UI or is this then offloaded to the bluetooth indicator? regards, Simon Good questi

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Nathan Haines
On 07/29/2015 02:04 AM, Alberto Mardegan wrote: BTW, anyone wants to become a hero and solve this? :-) Ooh! The easiest way to solve this is to disable the preference and force Bluetooth to always be on! ;) -- Nathan Haines Ubuntu - http://www.ubuntu.com/ -- Mailing list: https://launchpa

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-29 Thread Alberto Mardegan
On 07/28/2015 05:14 PM, Sebastien Bacher wrote: > To address this issue we are thinking about moving the auth agent out > from system settings to be a standalone service. We are going to start > working on that but wanted to check first if anyone feeling strongly > against it. The service might lea

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Simon Busch
On 28.07.2015 19:12, Michael Zanetti wrote: On 28.07.2015 18:06, Simon Busch wrote: On 28.07.2015 17:57, Sebastien Bacher wrote: Le 28/07/2015 17:37, Simon Busch a écrit : So the service would show the UI or is this then offloaded to the bluetooth indicator? regards, Simon Good question,

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Michael Zanetti
On 28.07.2015 18:06, Simon Busch wrote: > On 28.07.2015 17:57, Sebastien Bacher wrote: >> Le 28/07/2015 17:37, Simon Busch a écrit : >>> >>> So the service would show the UI or is this then offloaded to the >>> bluetooth indicator? >>> >>> regards, >>> Simon >> >> Good question, I've no idea abou

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Simon Busch
On 28.07.2015 17:57, Sebastien Bacher wrote: Le 28/07/2015 17:37, Simon Busch a écrit : So the service would show the UI or is this then offloaded to the bluetooth indicator? regards, Simon Good question, I've no idea about at the moment. I guess random services can't pop a dialog under Mir

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Sebastien Bacher
Le 28/07/2015 17:37, Simon Busch a écrit : > > So the service would show the UI or is this then offloaded to the > bluetooth indicator? > > regards, > Simon Good question, I've no idea about at the moment. I guess random services can't pop a dialog under Mir so the service would either need to be

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Simon Busch
On 28.07.2015 17:31, Sebastien Bacher wrote: Le 28/07/2015 17:28, Simon Busch a écrit : That works in a lot cases and is a good thing to have. However it tries to handle th common cases for keyboards but if one comes with a random pin set the autopair plugin can't do anything and will fail to p

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Tony Espy
On 07/28/2015 10:14 AM, Sebastien Bacher wrote: Hey there, Currently the only bluetooth agent available in ubuntu touch is implemented in system settings. Which means the settings application need to be open for bluetooth pairing to work. Is this the same on desktop ( ie. pairing only works wh

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Sebastien Bacher
Le 28/07/2015 17:28, Simon Busch a écrit : > > That works in a lot cases and is a good thing to have. However it > tries to handle th common cases for keyboards but if one comes with a > random pin set the autopair plugin can't do anything and will fail to > pair both devices. Also from what I unde

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Simon Busch
On 28.07.2015 17:20, Tony Espy wrote: On 07/28/2015 10:14 AM, Sebastien Bacher wrote: Hey there, Currently the only bluetooth agent available in ubuntu touch is implemented in system settings. Which means the settings application need to be open for bluetooth pairing to work. Is this the same

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Simon Busch
I don't see any problem with this just that this would be another component we have to port when switching to bluez5 soon. It would be great if the new service can be written with this in mind so it doesn't make our life harder when we introduce bluez5 later on. From what I remember of the blue

Re: [Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Michael Zanetti
Hi, thanks a lot for starting this topic. IMO this is very needed. At latest when we want to implement OBEX Object PUSH, MAP or PBAB, the BlueZ architecture would require some running service anyways. IMO that could be all part of the same Bluetooth service. Br, Michael On 28.07.2015 16:14, Seba

[Ubuntu-phone] RFC- Having a bluetooth service to handle pairing

2015-07-28 Thread Sebastien Bacher
Hey there, Currently the only bluetooth agent available in ubuntu touch is implemented in system settings. Which means the settings application need to be open for bluetooth pairing to work. We received some bugs reports suggesting that the is a need for having request handled at any time because