简体   繁体   中英

BlueZ Compatible kernel version

I am using the kernel version 3.0.35 with bluez-4.98 in linux. With this I'm able to advertise the ibeacon as per the hcitool command given in one of the SO questions. I am also able to connect to the other ble device but not able to list its services using 'primary' in gatttool.

I want to use my device now as a peripheral to let other device to get its Device Information, and later in the Central mode to know the Device Information of other ble devices.

Will this kernel version and bluez version be compatible for the task?

EDIT: I want the device information like the Firmware Revision, Hardware Revision etc the other characteristics of the DIS service. And how can I update my database for these fields, is it through some xml or some config file?

I know there are bugs in LE functionality in versions before 4.101. You can't use Bluez 5.x in kernels that old, but you should be able to use the latest 4.x version which is 4.101 which may solve your problem.

Firmware Revision , Hardware Revision String , and such can all be requested by their UUID with gatttool . I know nothing about any database you're using.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM