0

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 ?

Viktor Apoyan
  • 10,655
  • 22
  • 85
  • 147

1 Answers1

4

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

enter image description here

  • 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 !

Dan D.
  • 73,243
  • 15
  • 104
  • 123
Viktor Apoyan
  • 10,655
  • 22
  • 85
  • 147