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