与蓝牙在Android的内核开发的Linux工作蓝牙、内核、工作、Android

2023-09-04 06:10:37 作者:我一直很尊重金钱

我想知道在Android中使用蓝牙哪能工作中使用的 C / C ++ 不是 JAVA API 如果有人有有用的链接,或者可以给建议?

I want to know how can I work with Bluetooth in android using C/C++ not JAVA API if somebody have useful links or can give advice ?

我觉得 这 的文章,但我想知道如果我给出完整的信息?

I found this post but I want to know if i gives complete information ?

推荐答案

在我的研究,我发现了这一点,现在我希望有人告诉我什么是 hciattach 则hcid 哪里知道我怎么可以工作在用户空间

During my research I found this, and now I want somebody tell me what is hciattach, hcid and where to know how can I work in Userspace

的bluez:它提供了则hcid'守护进程,它是负责所有相关的蓝牙服务 DBUS守护:则hcid和系统服务器之间的桥梁 D-BUS是一种简单的进程间通信(IPC)系统,应用软件相互通讯。 在调试工具:D-英尺(一DBUS UI调试器),DBUS显示器(调试探针打印消息总线的消息),DBUS发送(发送消息到消息总线) 的bluez dbus的API文档:/mydroid/external/bluez/utils/hcid/dbus-api.txt 在一个示例如下 bluez: it provides 'hcid' daemon and it's responsible for all related bluetooth services dbus-daemon: the bridge between hcid and system server D-Bus is a simple inter-process communication (IPC) system for software applications to communicate with one another. debug utility: d-feet (a dbus UI debugger ), dbus-monitor (debug probe to print message bus messages), dbus-send (Send a message to a message bus) bluez dbus API document: /mydroid/external/bluez/utils/hcid/dbus-api.txt one example as below

下面是 文章 ,让所有的答案!

Here is article that gives all answers !