与蓝牙在Android的内核开发的Linux工作 [英] Working with Bluetooth in android kernel development linux

查看:236
本文介绍了与蓝牙在Android的内核开发的Linux工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在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 !

这篇关于与蓝牙在Android的内核开发的Linux工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆