- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我尝试通过这些命令在树莓派中编译和安装 bluez 5.19:
./配置
结果:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for C/C++ restrict keyword... __restrict
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether gcc accepts -fPIE... yes
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for signalfd... yes
checking for clock_gettime in -lrt... yes
checking for pthread_create in -lpthread... yes
checking for dlopen in -ldl... yes
checking for GLIB... yes
checking for DBUS... yes
checking D-Bus configuration directory... /usr/local/etc
checking D-Bus system bus services dir... /usr/local/share/dbus-1/system-services
checking D-Bus session bus services dir... /usr/local/share/dbus-1/services
checking for UDEV... yes
checking for udev_hwdb_new in -ludev... no
checking udev directory... /lib/udev
checking for ICAL... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking systemd system unit dir... /lib/systemd/system
checking systemd user unit dir... /usr/lib/systemd/user
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/bluetoothd.8
config.status: creating lib/bluez.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
须藤制作
结果:
GEN lib/bluetooth/bluetooth.h
GEN lib/bluetooth/hci.h
GEN lib/bluetooth/hci_lib.h
GEN lib/bluetooth/sco.h
GEN lib/bluetooth/l2cap.h
GEN lib/bluetooth/sdp.h
GEN lib/bluetooth/sdp_lib.h
GEN lib/bluetooth/rfcomm.h
GEN lib/bluetooth/bnep.h
GEN lib/bluetooth/cmtp.h
GEN lib/bluetooth/hidp.h
GEN src/builtin.h
GEN obexd/src/builtin.h
make --no-print-directory all-am
CC lib/bluetooth.lo
CC lib/hci.lo
CC lib/sdp.lo
CC lib/uuid.lo
CCLD lib/libbluetooth-internal.la
CC gdbus/mainloop.lo
CC gdbus/watch.lo
CC gdbus/object.lo
CC gdbus/client.lo
CC gdbus/polkit.lo
CCLD gdbus/libgdbus-internal.la
CC client/main.o
CC client/display.o
CC client/agent.o
CC monitor/uuid.o
CCLD client/bluetoothctl
CC monitor/main.o
CC monitor/mainloop.o
CC monitor/display.o
CC monitor/hcidump.o
CC monitor/ellisys.o
CC monitor/control.o
CC monitor/packet.o
CC monitor/vendor.o
CC monitor/lmp.o
CC monitor/crc.o
CC monitor/ll.o
CC monitor/l2cap.o
CC monitor/sdp.o
CC monitor/hwdb.o
CC monitor/keys.o
CC monitor/analyze.o
CC src/shared/util.o
CC src/shared/queue.o
CC src/shared/crypto.o
CC src/shared/btsnoop.o
CCLD monitor/btmon
CC tools/hciattach.o
CC tools/hciattach_st.o
CC tools/hciattach_ti.o
CC tools/hciattach_tialt.o
CC tools/hciattach_ath3k.o
CC tools/hciattach_qualcomm.o
CC tools/hciattach_intel.o
CC tools/hciattach_bcm43xx.o
CCLD tools/hciattach
CC tools/hciconfig.o
CC tools/csr.o
CCLD tools/hciconfig
CC tools/hcitool.o
CC src/oui.o
CCLD tools/hcitool
CC tools/hcidump.o
CC tools/parser/parser.o
CC tools/parser/lmp.o
CC tools/parser/hci.o
CC tools/parser/l2cap.o
CC tools/parser/amp.o
CC tools/parser/smp.o
CC tools/parser/att.o
CC tools/parser/sdp.o
CC tools/parser/rfcomm.o
CC tools/parser/bnep.o
CC tools/parser/cmtp.o
CC tools/parser/hidp.o
CC tools/parser/hcrp.o
CC tools/parser/avdtp.o
CC tools/parser/avctp.o
CC tools/parser/avrcp.o
CC tools/parser/sap.o
CC tools/parser/obex.o
CC tools/parser/capi.o
CC tools/parser/ppp.o
CC tools/parser/tcpip.o
CC tools/parser/ericsson.o
CC tools/parser/csr.o
CC tools/parser/bpa.o
CCLD tools/hcidump
CC tools/rfcomm.o
CCLD tools/rfcomm
CC tools/rctest.o
CCLD tools/rctest
CC tools/l2test.o
CCLD tools/l2test
CC tools/l2ping.o
CCLD tools/l2ping
CC tools/sdptool.o
CC src/sdp-xml.o
CCLD tools/sdptool
CC tools/ciptool.o
CCLD tools/ciptool
CC tools/bccmd.o
CC tools/csr_hci.o
CC tools/csr_usb.o
CC tools/csr_h4.o
CC tools/csr_3wire.o
CC tools/csr_bcsp.o
CC tools/ubcsp.o
CCLD tools/bccmd
CC tools/bluemoon.o
CC src/shared/io-mainloop.o
CC src/shared/hci.o
CC src/shared/ringbuf.o
CCLD tools/bluemoon
CC profiles/cups/main.o
CC profiles/cups/sdp.o
CC profiles/cups/spp.o
CC profiles/cups/hcrp.o
CCLD profiles/cups/bluetooth
CC plugins/bluetoothd-hostname.o
CC plugins/bluetoothd-wiimote.o
CC plugins/bluetoothd-autopair.o
CC plugins/bluetoothd-policy.o
CC profiles/audio/bluetoothd-source.o
CC profiles/audio/bluetoothd-sink.o
CC profiles/audio/bluetoothd-a2dp.o
CC profiles/audio/bluetoothd-avdtp.o
CC profiles/audio/bluetoothd-media.o
CC profiles/audio/bluetoothd-transport.o
CC profiles/audio/bluetoothd-control.o
CC profiles/audio/bluetoothd-avctp.o
CC profiles/audio/bluetoothd-avrcp.o
CC profiles/audio/bluetoothd-player.o
CC profiles/network/bluetoothd-manager.o
CC profiles/network/bluetoothd-bnep.o
CC profiles/network/bluetoothd-server.o
CC profiles/network/bluetoothd-connection.o
CC profiles/input/bluetoothd-manager.o
CC profiles/input/bluetoothd-server.o
CC profiles/input/bluetoothd-device.o
CC profiles/input/bluetoothd-hog.o
CC profiles/input/bluetoothd-suspend-dummy.o
CC profiles/gatt/bluetoothd-gas.o
CC profiles/scanparam/bluetoothd-scan.o
CC profiles/deviceinfo/bluetoothd-deviceinfo.o
CC attrib/bluetoothd-att.o
CC attrib/bluetoothd-gatt.o
CC attrib/bluetoothd-gattrib.o
CC attrib/bluetoothd-gatt-service.o
CC btio/bluetoothd-btio.o
CC src/bluetoothd-main.o
CC src/bluetoothd-log.o
CC src/bluetoothd-systemd.o
CC src/bluetoothd-rfkill.o
CC src/bluetoothd-sdpd-server.o
CC src/bluetoothd-sdpd-request.o
CC src/bluetoothd-sdpd-service.o
CC src/bluetoothd-sdpd-database.o
CC src/bluetoothd-attrib-server.o
CC src/bluetoothd-sdp-xml.o
CC src/bluetoothd-sdp-client.o
CC src/bluetoothd-textfile.o
CC src/bluetoothd-uuid-helper.o
CC src/bluetoothd-plugin.o
CC src/bluetoothd-storage.o
CC src/bluetoothd-agent.o
CC src/bluetoothd-error.o
CC src/bluetoothd-adapter.o
CC src/bluetoothd-profile.o
CC src/bluetoothd-service.o
CC src/bluetoothd-gatt-dbus.o
CC src/bluetoothd-gatt.o
CC src/bluetoothd-device.o
CC src/bluetoothd-dbus-common.o
CC src/bluetoothd-eir.o
CC src/shared/bluetoothd-io-glib.o
CC src/shared/bluetoothd-timeout-glib.o
CC src/shared/bluetoothd-queue.o
CC src/shared/bluetoothd-util.o
CC src/shared/bluetoothd-mgmt.o
GEN src/bluetooth.service
CCLD src/bluetoothd
CC btio/obexd-btio.o
CC gobex/obexd-gobex.o
CC gobex/obexd-gobex-defs.o
CC gobex/obexd-gobex-packet.o
CC gobex/obexd-gobex-header.o
CC gobex/obexd-gobex-transfer.o
CC gobex/obexd-gobex-apparam.o
CC obexd/plugins/obexd-filesystem.o
CC obexd/plugins/obexd-bluetooth.o
CC obexd/plugins/obexd-opp.o
CC obexd/plugins/obexd-ftp.o
CC obexd/plugins/obexd-irmc.o
CC obexd/plugins/obexd-pbap.o
CC obexd/plugins/obexd-vcard.o
CC obexd/plugins/obexd-phonebook-dummy.o
CC obexd/plugins/obexd-mas.o
CC obexd/plugins/obexd-messages-dummy.o
CC obexd/client/obexd-mns.o
CC obexd/src/obexd-main.o
CC obexd/src/obexd-plugin.o
CC obexd/src/obexd-log.o
CC obexd/src/obexd-manager.o
CC obexd/src/obexd-obex.o
CC obexd/src/obexd-mimetype.o
CC obexd/src/obexd-service.o
CC obexd/src/obexd-transport.o
CC obexd/src/obexd-server.o
CC obexd/client/obexd-manager.o
CC obexd/client/obexd-session.o
CC obexd/client/obexd-bluetooth.o
CC obexd/client/obexd-sync.o
CC obexd/client/obexd-pbap.o
CC obexd/client/obexd-ftp.o
CC obexd/client/obexd-opp.o
CC obexd/client/obexd-map.o
CC obexd/client/obexd-map-event.o
CC obexd/client/obexd-transfer.o
CC obexd/client/obexd-transport.o
CC obexd/client/obexd-dbus.o
CC obexd/client/obexd-driver.o
CCLD obexd/src/obexd
CC attrib/gatttool.o
CC attrib/att.o
CC attrib/gatt.o
CC attrib/gattrib.o
CC btio/btio.o
CC attrib/interactive.o
CC attrib/utils.o
CC src/log.o
CCLD attrib/gatttool
CC gobex/gobex.o
CC gobex/gobex-defs.o
CC gobex/gobex-packet.o
CC gobex/gobex-header.o
CC gobex/gobex-transfer.o
CC gobex/gobex-apparam.o
CC tools/obex-client-tool.o
CCLD tools/obex-client-tool
CC tools/obex-server-tool.o
CCLD tools/obex-server-tool
CC tools/bluetooth-player.o
CCLD tools/bluetooth-player
CC tools/obexctl.o
CCLD tools/obexctl
CC unit/test-eir.o
CC src/eir.o
CC src/uuid-helper.o
CCLD unit/test-eir
CC unit/test-uuid.o
CCLD unit/test-uuid
CC unit/test-textfile.o
CC src/textfile.o
CCLD unit/test-textfile
CC unit/test-crc.o
CCLD unit/test-crc
CC unit/test-ringbuf.o
CCLD unit/test-ringbuf
CC unit/test-queue.o
CCLD unit/test-queue
CC unit/test-mgmt.o
CC src/shared/io-glib.o
CC src/shared/mgmt.o
CCLD unit/test-mgmt
CC unit/test-sdp.o
CC src/sdpd-database.o
CC src/sdpd-service.o
CC src/sdpd-request.o
CCLD unit/test-sdp
CC unit/test-avdtp.o
CC android/avdtp.o
CCLD unit/test-avdtp
CC unit/test-avctp.o
CC android/avctp.o
CCLD unit/test-avctp
CC unit/test-avrcp.o
CC android/avrcp-lib.o
CCLD unit/test-avrcp
CC unit/test-hfp.o
CC src/shared/hfp.o
CCLD unit/test-hfp
CC unit/test-gdbus-client.o
CCLD unit/test-gdbus-client
CC unit/util.o
CC unit/test-gobex-header.o
CCLD unit/test-gobex-header
CC unit/test-gobex-packet.o
CCLD unit/test-gobex-packet
CC unit/test-gobex.o
CCLD unit/test-gobex
CC unit/test-gobex-transfer.o
CCLD unit/test-gobex-transfer
CC unit/test-gobex-apparam.o
CCLD unit/test-gobex-apparam
CC unit/test-lib.o
CCLD unit/test-lib
CC tools/hid2hci.o
CCLD tools/hid2hci
GEN tools/97-hid2hci.rules
GEN obexd/src/obex.service
最后安装
结果:
make --no-print-directory install-am
/bin/mkdir -p '/usr/local/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c client/bluetoothctl monitor/btmon tools/hciattach tools/hciconfig tools/hcitool tools/hcidump tools/rfcomm tools/rctest tools/l2test tools/l2ping tools/sdptool tools/ciptool tools/bccmd tools/bluemoon '/usr/local/bin'
libtool: install: /usr/bin/install -c client/bluetoothctl /usr/local/bin/bluetoothctl
libtool: install: /usr/bin/install -c monitor/btmon /usr/local/bin/btmon
libtool: install: /usr/bin/install -c tools/hciattach /usr/local/bin/hciattach
libtool: install: /usr/bin/install -c tools/hciconfig /usr/local/bin/hciconfig
libtool: install: /usr/bin/install -c tools/hcitool /usr/local/bin/hcitool
libtool: install: /usr/bin/install -c tools/hcidump /usr/local/bin/hcidump
libtool: install: /usr/bin/install -c tools/rfcomm /usr/local/bin/rfcomm
libtool: install: /usr/bin/install -c tools/rctest /usr/local/bin/rctest
libtool: install: /usr/bin/install -c tools/l2test /usr/local/bin/l2test
libtool: install: /usr/bin/install -c tools/l2ping /usr/local/bin/l2ping
libtool: install: /usr/bin/install -c tools/sdptool /usr/local/bin/sdptool
libtool: install: /usr/bin/install -c tools/ciptool /usr/local/bin/ciptool
libtool: install: /usr/bin/install -c tools/bccmd /usr/local/bin/bccmd
libtool: install: /usr/bin/install -c tools/bluemoon /usr/local/bin/bluemoon
/bin/mkdir -p '/usr/local/libexec/bluetooth'
/bin/bash ./libtool --mode=install /usr/bin/install -c src/bluetoothd obexd/src/obexd '/usr/local/libexec/bluetooth'
libtool: install: /usr/bin/install -c src/bluetoothd /usr/local/libexec/bluetooth/bluetoothd
libtool: install: /usr/bin/install -c obexd/src/obexd /usr/local/libexec/bluetooth/obexd
/bin/mkdir -p '/usr/local/lib/cups/backend'
/bin/bash ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/usr/local/lib/cups/backend'
libtool: install: /usr/bin/install -c profiles/cups/bluetooth /usr/local/lib/cups/backend/bluetooth
/bin/mkdir -p '/usr/local/etc/dbus-1/system.d'
/usr/bin/install -c -m 644 src/bluetooth.conf '/usr/local/etc/dbus-1/system.d'
/bin/mkdir -p '/usr/local/share/dbus-1/services'
/usr/bin/install -c -m 644 obexd/src/org.bluez.obex.service '/usr/local/share/dbus-1/services'
/bin/mkdir -p '/usr/local/share/dbus-1/system-services'
/usr/bin/install -c -m 644 src/org.bluez.service '/usr/local/share/dbus-1/system-services'
/bin/mkdir -p '/usr/local/share/man/man1'
/usr/bin/install -c -m 644 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1 tools/hid2hci.1 '/usr/local/share/man/man1'
/bin/mkdir -p '/usr/local/share/man/man8'
/usr/bin/install -c -m 644 src/bluetoothd.8 '/usr/local/share/man/man8'
/bin/mkdir -p '/lib/udev/rules.d'
/usr/bin/install -c -m 644 tools/97-hid2hci.rules '/lib/udev/rules.d'
/bin/mkdir -p '/lib/systemd/system'
/usr/bin/install -c -m 644 src/bluetooth.service '/lib/systemd/system'
/bin/mkdir -p '/usr/lib/systemd/user'
/usr/bin/install -c -m 644 obexd/src/obex.service '/usr/lib/systemd/user'
/bin/mkdir -p '/lib/udev'
/bin/bash ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/lib/udev'
libtool: install: /usr/bin/install -c tools/hid2hci /lib/udev/hid2hci
但 bluez 命令未在终端中定义,在 python 蓝牙库中将无法工作...我的衣服是什么?
请帮忙
最佳答案
OK 看起来安装成功了,但是你仍然需要将可执行文件添加到 PATH 环境变量中的目录之一,以便它可以从任何地方直接执行。首先,要查看 PATH 变量中的目录,请尝试以下命令:
#echo $PATH
你应该看到这样的东西:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
现在将您要使用的可执行文件(例如 hcitool、hciconfig、bluetoothd)添加到这些目录之一,最好添加到/usr/bin 或/usr/sbin,因为这是原始 bluez 可执行文件所在的位置。示例
cp tools/hcitool /usr/bin/
但是,请确保您将原始 bluez 可执行文件(已位于 PATH 变量目录之一中的文件)移至其他位置以避免冲突。
希望对您有所帮助。
关于python - 如何在树莓派中安装 bluez 5.19,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24153585/
我正在尝试使用 BlueZ 4.X DBus 接口(interface)在 Linux 上建立与蓝牙 4.0 LE 设备的连接。 为了测试这一点,我使用以下命令: dbus-send --system
我有一个连接到 Linux 设备的蓝牙耳机。我想以编程方式接收播放/暂停/下一个/上一个/volUp/volDown 按钮按下。 经过一些研究,我发现我可以使用 dbus 与 Bluez 交互。我尝试
我正在使用 BlueZ 3.x.我有一个 linux 嵌入式设备,我需要使用蓝牙技术发送和接收文件,使用 Obex . (注意:BlueZ 4.x 甚至无法在我们的特定平台上编译。) 我不需要 PIN
Linux下的bluez是否可以同时连接多个经典和低能耗设备? bluez 网站提供这样的信息不是很有帮助。 最佳答案 是的,我已成功同时连接到 7 个低能耗设备。最大值因您使用的硬件而异。您还可以连
我有一个自定义 GATT 服务器,作为插件在 Linux 上使用 BlueZ 4.101。我现在正在尝试设置自定义扫描响应广告数据。我在 iOS 上使用 LightBlue 来调试我的 GATT 服务
我想在测试设置中实现的是: 运行: hcitool -i hci0 lescan --duplicates --passive 在一个外壳上 并联在另一个via上 hcitool -i hci0 le
我正在使用 Fedora 24。对于我的论文,我必须从源代码构建 BlueZ,因为我需要实验性功能。现在,最佳做法是什么?在从源代码重新安装之前,我是否必须从操作系统中删除 BlueZ?当我尝试使用
传输端点未连接 #include #include #include #include #include int main(int argc, char **argv) { struct s
用例 Ubuntu 机器正在模拟键盘 Ubuntu 机器(虚拟键盘)模拟连接到要控制的远程设备 问题 在正常情况下,HID 描述是通过 SDP 报告的,因此,当设备连接到键盘时,它已经知道要使用的 H
我正在用 C 为 Bluez 5.18 编写插件代码,我想创建自己的 BLE GATT 配置文件作为插件(共享库)。我需要从主代码调用函数,当我编译它时,没有错误,但是在加载插件时,它因 undefi
我正在使用 Raspberry Pi(运行 Jessie)、Bluez 和 iBeacons(10 个 iBeacons)。我的应用程序(用 Python 编写)嗅探 iBeacons 并报告 MAC
在一天的大部分时间里,我一直在努力让 BlueZ 在我的 Ubuntu 桌面上运行。它只是行不通。我可以通过系统对话成功地将我的设备与我的计算机配对,但 BlueZ 扫描从未发现任何东西。有没有 Bl
我正在浏览 Device API在 BlueZ 5.44 中,我对连接和配对设备之间的区别有点困惑。我看到连接是基于配置文件的,而配对似乎独立于配置文件。配对似乎更多地与 SDP 和身份验证有关。 但
如何重建 bluez?是否可以?例如,我想更改 avctp.c 中的某些内容。我从他们的网站下载了最新的 bluez 版本并进行了我需要的更改。现在,我如何使更改生效;即我需要做什么来重建 bluet
我在 linux 中使用内核版本 3.0.35 和 bluez-4.98。有了这个,我就可以根据其中一个 SO 问题中给出的 hcitool 命令来宣传 ibeacon。我也能够连接到其他 ble 设
我正在用 C/C++ 为低功耗蓝牙设备编写一个库。到目前为止,我一直在使用 Bluez 公开的 D-Bus 接口(interface),并且能够发现、连接设备并与之通信。 但是,当设备由于链接故障或超
我编写了一个 Python 程序,它通过蓝牙套接字(参见下面的示例)读取和写入 L2CAP 连接以与某些硬件通信。然而,代码可能想要为蓝牙适配器做太多的 IO 处理,所以我通过在需要时放慢 bar 循
说明: 我有一个带有蓝牙功能的小型内部设备。 目前,其他设备连接到该盒子。 需求: 现在我们必须使它成为奴隶,以便它与其他设备连接。我想知道该怎么做?我不需要源代码或任何只是你的意见。 附加信息: 该
我在我的 Linux 板上使用 bluez 附带的 example-gatt-server.py 脚本。我想向我的自定义特征之一添加通知。为此,我需要定义客户端特征配置描述符并将其添加到我的自定义特征
使用 BlueZ 蓝牙堆栈,如何以编程方式枚举已配对但不一定连接的设备? 最佳答案 更新:下面的内容并不像我最初想象的那么简单。 adapter_get_devices 只是起点。如果您可以发布其中的
我是一名优秀的程序员,十分优秀!