labapart / gattlib

Library to access GATT information from BLE (Bluetooth Low Energy) devices
http://labapart.com/
436 stars 157 forks source link

When cmake -DBLUEZ_VERSION=4.xx,it will failed #260

Open joyopeng opened 7 months ago

joyopeng commented 7 months ago

When cmake -DBLUEZ_VERSION=4.xx,it will use bluez lib as the core gatttlib. 1.But the CMakeLists.txt ,target_compile_definitions(gattlib PUBLIC -DGATTLIB_LOG_LEVEL=${GATTLIB_LOG_LEVEL}) before add_library gattlib. 2.Also miss typedef struct _GAttrib GAttrib in gattrib.h 3.Miss gattlib_characteristic_free_value in bluez gattlib