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