Linux蓝牙编程
我正在制作一个桌面应用程序来连接嵌入式设备。我原本打算使用 Windows,但由于缺乏适当的示例和文档,我决定使用 Linux bluez 开发。有人可以推荐一个关于 bluez 编程的好资源吗?我找到了麻省理工学院的文档,但仅此而已。
I am making a desktop application to connect with an embedded device. I was going to use Windows but due to lack of proper examples and documentation I decided to go with Linux bluez development. Can someone suggest a good resource to go about programming for bluez. I found a MIT documentation but that was about it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
bluez 使用 D-Bus 进行通信。使用 D-Feet 检查
org.bluez
界面,以便您可以适当地针对 D-Bus API 进行编写。bluez uses D-Bus for communication. Use D-Feet to inspect the
org.bluez
interface so that you can write against the D-Bus API appropriately.我也一直在寻找有关 Linux 环境中蓝牙应用程序开发的信息,并发现了这个非常好的资源 http://people.csail.mit.edu/albert/bluez-intro/c404.html。
I've also been looking for info on Bluetooth application development in the Linux environment and came across this pretty good resource http://people.csail.mit.edu/albert/bluez-intro/c404.html.
有一本相当不错的书程序员的蓝牙要点。它有适用于 Windows 和 Linux 蓝牙堆栈的部分。至少您可以在书籍网站上查看章节示例的来源。
There is quite good book Bluetooth Essentials for Programmers. It has section for both Windows and Linux bluetooth stack. At least you can look at sources of chapter examples on the book site.