Dose bluez 4.101 can work BLE good ?

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

 



Hi all.

There is a question. I did not find an answer and no any idea.

My goal is create bluetooth peripheral and services on a board. And then my iOS App can discover that peripheral and services.My app will write some data to board via bluetooth.

I use Bluez4.101. It run in an embedded ubuntu, the kernel version is 3.10. I know the Bluez version is too old. but Bluez5.x needs kernel 3.15+. it's impossible to upgrade kernel , It’s a long story.

this problem is.

While I run this below command

hciconfig hci0 leadv

My iOS App can found my peripheral and it's connectable. but when peripheral connected I have call discoverServices. I can not discover any service. I have tried run bluez's test script simple-service and I run sdptool browse local, it list a lot of services. for example:

Service Name: AVRCP TG Service RecHandle: 0x10002 Service Class ID List: "AV Remote Target" (0x110c) Protocol Descriptor List:
"L2CAP" (0x0100) PSM: 23 "AVCTP" (0x0017) uint16: 0x103 Profile Descriptor List: "AV Remote" (0x110e) Version: 0x0104

Service Name: AVRCP CT Service RecHandle: 0x10003 Service Class ID List: "AV Remote" (0x110e) Protocol Descriptor List: "L2CAP" (0x0100) PSM: 23 "AVCTP" (0x0017) uint16: 0x103 Profile Descriptor List: "AV Remote" (0x110e) Version: 0x0100
I'm not sure whether I did wrong thing.
Some one can tell me how to do? Or the bluez 4.101 whether can work to satisfy my requirement?

Thanks.

--
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