Re: How to use GattProfile1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Strange

I compiled bluetoothctl after the patch that should fix it.

Did you do the steps similar to my bluetoothctl logs? 

What device did you auto connect to ?


> On 16 Jun 2017, at 09:16, Boris Passerat de la chapelle <bpasserat@xxxxxxxx> wrote:
> 
> It is working on my system with a small patch on bluez 5.45.
> I got it working without patch up to bluez 5.41 .
> 
> 
> 
> 
> -----Message d'origine-----
> De : Krasi Georgiev [mailto:krasi.root@xxxxxxxxx] 
> Envoyé : jeudi 15 juin 2017 22:44
> À : Boris Passerat de la chapelle <bpasserat@xxxxxxxx>
> Cc : Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx>; Barry Byford <31baz66@xxxxxxxxx>; Bluez mailing list <linux-bluetooth@xxxxxxxxxxxxxxx>
> Objet : Re: How to use GattProfile1
> 
> Can someone else try if the auto connect works, or am I doing it incorrectly ?
> 
>> On 4 Jun 2017, at 16:15, Krasi Georgiev <krasi.root@xxxxxxxxx> wrote:
>> 
>> just tried with the latest master and I still can’t get it to auto 
>> connect
>> 
>> 
>> Here is what happens so let me know if I am doing in the correct 
>> sequence
>> 
>> 
>> [bluetooth]# devices
>> Device 34:31:11:00:CD:7A Samsung Galaxy S IV Device 04:52:C7:57:85:84 
>> Bose Mini II SoundLink Device FF:FF:50:00:53:B6 iTAG
>> 
>> [bluetooth]# power on
>> Changing power on succeeded
>> [CHG] Controller B8:27:EB:D5:54:1C Powered: yes [bluetooth]# connect 
>> FF:FF:50:00:53:B6 Attempting to connect to FF:FF:50:00:53:B6 [CHG] 
>> Device FF:FF:50:00:53:B6 Connected: yes Connection successful [NEW] 
>> Primary Service
>> 	/org/bluez/hci0/dev_FF_FF_50_00_53_B6/service0006
>> 	0000180f-0000-1000-8000-00805f9b34fb
>> 	Battery Service
>> [NEW] Characteristic
>> 	/org/bluez/hci0/dev_FF_FF_50_00_53_B6/service0006/char0007
>> 	00002a19-0000-1000-8000-00805f9b34fb
>> 	Battery Level
>> [NEW] Primary Service
>> 	/org/bluez/hci0/dev_FF_FF_50_00_53_B6/service0009
>> 	00001802-0000-1000-8000-00805f9b34fb
>> 	Immediate Alert
>> [NEW] Characteristic
>> 	/org/bluez/hci0/dev_FF_FF_50_00_53_B6/service0009/char000a
>> 	00002a06-0000-1000-8000-00805f9b34fb
>> 	Alert Level
>> [NEW] Primary Service
>> 	/org/bluez/hci0/dev_FF_FF_50_00_53_B6/service000c
>> 	0000ffe0-0000-1000-8000-00805f9b34fb
>> 	Unknown
>> [NEW] Characteristic
>> 	/org/bluez/hci0/dev_FF_FF_50_00_53_B6/service000c/char000d
>> 	0000ffe1-0000-1000-8000-00805f9b34fb
>> 	Unknown
>> [CHG] Device FF:FF:50:00:53:B6 UUIDs: 
>> 00001800-0000-1000-8000-00805f9b34fb
>> [CHG] Device FF:FF:50:00:53:B6 UUIDs: 
>> 00001802-0000-1000-8000-00805f9b34fb
>> [CHG] Device FF:FF:50:00:53:B6 UUIDs: 
>> 0000180f-0000-1000-8000-00805f9b34fb
>> [CHG] Device FF:FF:50:00:53:B6 UUIDs: 
>> 0000ffe0-0000-1000-8000-00805f9b34fb
>> [CHG] Device FF:FF:50:00:53:B6 ServicesResolved: yes [CHG] Device 
>> FF:FF:50:00:53:B6 Icon is nil [CHG] Device FF:FF:50:00:53:B6 
>> Appearance is nil
>> 
>> [iTAG            ]# register-application 0000180f-0000-1000-8000-00805f9b34fb
>> Application registered
>> [CHG] Device FF:FF:50:00:53:B6 ServicesResolved: no [CHG] Device 
>> FF:FF:50:00:53:B6 Connected: no
>> 
>> 
>> Here i power cycled the iTag and waited few minutes but bluetoothctl didn’t reconnect so I did it manually.
>> 
>> 
>> [bluetooth]# info FF:FF:50:00:53:B6
>> Device FF:FF:50:00:53:B6
>> 	Name: iTAG
>> 	Alias: iTAG
>> 	Paired: no
>> 	Trusted: yes
>> 	Blocked: no
>> 	Connected: no
>> 	LegacyPairing: no
>> 	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
>> 	UUID: Immediate Alert           (00001802-0000-1000-8000-00805f9b34fb)
>> 	UUID: Battery Service           (0000180f-0000-1000-8000-00805f9b34fb)
>> 	UUID: Unknown                   (0000ffe0-0000-1000-8000-00805f9b34fb)
>> [bluetooth]# connect FF:FF:50:00:53:B6 Attempting to connect to 
>> FF:FF:50:00:53:B6 [CHG] Device FF:FF:50:00:53:B6 Connected: yes 
>> Connection successful [CHG] Device FF:FF:50:00:53:B6 ServicesResolved: 
>> yes
>> [iTAG            ]#
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux