驱动Driver-蓝牙-命令工具

成为渐进主义的改良派 / 2024-03-15 / 原文

BlueZ

  • (BlueZ与D-Bus简介)[https://blog.csdn.net/hesuping/article/details/131708132]
  • (蓝牙bluez5的开发方法及入门教程)[https://blog.csdn.net/huohongpeng/article/details/115786953]

DBus编程

  • (英文文档)[https://dbus.freedesktop.org/doc/dbus-tutorial.html]
  • (D-Bus学习(六):Method的收发小例子)[https://blog.csdn.net/flowingflying/article/details/5455327]
  • (官方API)[https://dbus.freedesktop.org/doc/api/html/group__DBusMessage.html#ga98ddc82450d818138ef326a284201ee0]
  • (DBus method_call的使用以及signal)[https://blog.csdn.net/qq_48089436/article/details/115112496]
  • (嵌入式Bluetooth应用开发笔记)[https://blog.csdn.net/qq_34719807/article/details/129422579]

hcitool工具

  • (hcitool命令详解)[https://blog.csdn.net/u010764600/article/details/119684001]
  • (hciconfig命令 – 配置蓝牙设备)[https://www.linuxcool.com/hciconfig]
  • (hcitool命令详解)[https://blog.csdn.net/u010764600/article/details/119684001]

【BUG】hciconfig: Can't init device hci0: Connection timed out (110)

  • (archLinux)[https://bbs.archlinux.org/viewtopic.php?id=171357]
  • (无法插入设备hci0:连接超时)[https://cloud.tencent.com/developer/ask/sof/116587098]

[BUG]hciconfig: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

  • 在已经移植改库的情况下,运行程序报错,可能是库路径没有告知系统环境变量PATH,所以使用export lib的路径即可
  • export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH