mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
bluez-utils: Add GATT support
This allows to compile gatttool which can help use Bluetooth Low Energy devices. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
cbb6cdc69c
commit
9dc1bbe5ea
@ -36,6 +36,13 @@ config BR2_PACKAGE_BLUEZ_UTILS_USB
|
|||||||
help
|
help
|
||||||
USB support
|
USB support
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BLUEZ_UTILS_GATT
|
||||||
|
bool "GATT support"
|
||||||
|
select BR2_PACKAGE_READLINE
|
||||||
|
help
|
||||||
|
Generic Attribute Profile (GATT) support. This provides profile
|
||||||
|
discovery and description services for Bluetooth Low Energy.
|
||||||
|
This will install the gatttool utility.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "bluez-utils needs a toolchain w/ wchar, threads"
|
comment "bluez-utils needs a toolchain w/ wchar, threads"
|
||||||
|
@ -37,6 +37,13 @@ BLUEZ_UTILS_CONF_OPT += \
|
|||||||
--disable-audio
|
--disable-audio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_GATT),y)
|
||||||
|
BLUEZ_UTILS_DEPENDENCIES += readline
|
||||||
|
BLUEZ_UTILS_CONF_OPT += --enable-gatt
|
||||||
|
else
|
||||||
|
BLUEZ_UTILS_CONF_OPT += --disable-gatt
|
||||||
|
endif
|
||||||
|
|
||||||
# USB support
|
# USB support
|
||||||
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_USB),y)
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_USB),y)
|
||||||
BLUEZ_UTILS_DEPENDENCIES += libusb
|
BLUEZ_UTILS_DEPENDENCIES += libusb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user