RE: bluez5 pairing devices

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

 



Hi Marcel,

>>
>> maybe the backport has some issues that got fixed. The latest stable kernel is 3.19.2.
>>
>>> Is it true we cannot pair LE devices in bluez4.101 ?
>>
>> LE support with BlueZ 4 is limited to not really working at all. So if want to work on LE, then you need mgmt API support and a recent Bluetooth subsystem and BlueZ 5.
>>
> With gattool and hcitool lecc I am able to pair.  But I am not sure How to get the data from le device ?
> Any pointers on doing this ?
>
$ # hcitool  lecc 54:4A:16:5E:1B:9D
Connection handle 1025

Does it create a fd ? so that me C app can access ?

# gatttool  -b 54:4A:16:5E:1B:9D -I
[   ][54:4A:16:5E:1B:9D][LE]> connect
[CON][54:4A:16:5E:1B:9D][LE]> char-desc
[CON][54:4A:16:5E:1B:9D][LE]> 
handle: 0x0001, uuid: 2800
handle: 0x0002, uuid: 2803
handle: 0x0003, uuid: 2a00
handle: 0x0004, uuid: 2803
handle: 0x0005, uuid: 2a01

I am not sure how to get events, how to hook for my application and get the packets.
 
Regards,
Sagar
 		 	   		  --
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