1config BR2_PACKAGE_BLUEZ5_UTILS 2 bool "bluez-utils" 3 depends on BR2_USE_WCHAR # libglib2 4 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2 5 depends on BR2_USE_MMU # dbus 6 depends on !BR2_STATIC_LIBS # uses dlfcn 7 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 8 depends on BR2_TOOLCHAIN_HAS_SYNC_4 9 select BR2_PACKAGE_DBUS 10 select BR2_PACKAGE_LIBGLIB2 11 help 12 BlueZ utils 13 14 Provides Stack, Library and Tooling for Bluetooth Classic 15 and Bluetooth LE. 16 17 BlueZ utils will use systemd and/or udev if enabled. 18 19 http://www.bluez.org 20 http://www.kernel.org/pub/linux/bluetooth 21 22if BR2_PACKAGE_BLUEZ5_UTILS 23 24config BR2_PACKAGE_BLUEZ5_UTILS_OBEX 25 bool "build OBEX support" 26 depends on BR2_INSTALL_LIBSTDCPP 27 select BR2_PACKAGE_LIBICAL 28 help 29 Enable OBEX support. 30 31comment "OBEX support needs a toolchain w/ C++" 32 depends on !BR2_INSTALL_LIBSTDCPP 33 34config BR2_PACKAGE_BLUEZ5_UTILS_CLIENT 35 bool "build CLI client" 36 select BR2_PACKAGE_READLINE 37 help 38 Build the command line client "bluetoothctl". 39 40config BR2_PACKAGE_BLUEZ5_UTILS_MONITOR 41 bool "build monitor utility" 42 help 43 Build monitor utility btmon. 44 45config BR2_PACKAGE_BLUEZ5_UTILS_TOOLS 46 bool "build tools" 47 help 48 Build tools like bluemoon, btattach, hex2hcd, l2test, 49 l2ping, mpris-proxy, rctest. 50 51config BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED 52 bool "install deprecated tools" 53 depends on BR2_PACKAGE_BLUEZ5_UTILS_CLIENT || BR2_PACKAGE_BLUEZ5_UTILS_TOOLS 54 help 55 Build deprecated tools. 56 57 When "build tools" is selected these tools are installed: 58 hciattach, hciconfig, hcitool, hcidump, rfcomm, sdptool, 59 ciptool. 60 61 When CLI client is enabled "gatttool" is installed. 62 63config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL 64 bool "build experimental tools" 65 help 66 Build experimental tools. This is currently only the 67 "Nokia OBEX PC Suite tool". So, only if OBEX support is 68 enabled this option has an effect. 69 70config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO 71 bool "build audio plugins (a2dp and avrcp)" 72 help 73 Build plugins for audio profiles (for A2DP and AVRCP). 74 75config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH 76 bool "build health plugin" 77 help 78 Build plugin for health profiles. 79 80config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID 81 bool "build hid plugin" 82 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG 83 help 84 Build plugin for HID (input) profiles. 85 86config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG 87 bool "build hog plugin" 88 help 89 Build plugin for HoG (input) profiles. 90 91config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH 92 bool "build mesh plugin" 93 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell 94 select BR2_PACKAGE_ELL 95 select BR2_PACKAGE_JSON_C 96 select BR2_PACKAGE_READLINE 97 help 98 Build plugin for Mesh support. 99 100comment "mesh profile needs a toolchain w/ headers >= 4.12" 101 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 102 103config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI 104 bool "build midi plugin" 105 select BR2_PACKAGE_ALSA_LIB 106 select BR2_PACKAGE_ALSA_LIB_SEQ 107 help 108 Build MIDI support via ALSA sequencer. 109 110config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NETWORK 111 bool "build network plugin" 112 default y 113 help 114 Build plugin for PANU, NAP, GN profiles. 115 116config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC 117 bool "build nfc plugin" 118 help 119 Build plugin for NFC pairing. 120 121config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP 122 bool "build sap plugin" 123 help 124 Build plugin for SAP profile. 125 126config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS 127 bool "build sixaxis plugin" 128 depends on BR2_PACKAGE_HAS_UDEV 129 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime 130 help 131 Build sixaxis plugin (support Sony Dualshock 132 controller) 133 134comment "sixaxis plugin needs udev /dev management" 135 depends on !BR2_PACKAGE_HAS_UDEV 136 137config BR2_PACKAGE_BLUEZ5_UTILS_TEST 138 bool "install test scripts" 139 help 140 Install the python test scripts from the "test" directory. 141 142config BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI 143 bool "build hid2hci tool" 144 depends on BR2_PACKAGE_HAS_UDEV 145 select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime 146 select BR2_PACKAGE_BLUEZ5_UTILS_TOOLS 147 help 148 Build hid2hci tool 149 150comment "hid2hci tool needs udev /dev management" 151 depends on !BR2_PACKAGE_HAS_UDEV 152 153endif 154 155comment "bluez5-utils needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" 156 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ 157 !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS 158 depends on BR2_TOOLCHAIN_HAS_SYNC_4 159 depends on BR2_USE_MMU 160