Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Prabhu Chawandi <foss.chaws@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: andoid/bluetoothd IPC: command socket connect failed android bluetooth
Date: Thu, 26 Mar 2015 09:54:55 +0100	[thread overview]
Message-ID: <2215776.K1gUTklLIe@leonov> (raw)
In-Reply-To: <CAKafyqo7gj0uAOONe1Cf0HOXsKvEUC3mroD4A4xp8z0K9ECW6w@mail.gmail.com>

Hi Prabhu Chawandi,

On Thursday 26 of March 2015 11:54:32 Prabhu Chawandi wrote:
> Hi,
> 
>   When I started ths android daemon, I am getting above error.
> 
> Is there anything I am missing ??

On android bluetoothd is not suppose to be started directly. It is started as 
a service by init (check android/android/init.bluetooth.rc) when BT user 
(haltest or android framework) requests it. By BT user I mean process that 
loaded bluetooth.default.so via hw_get_module_by_class() call.

When bluetooth.default.so is initialized it creates listening socket and 
starts bluetoothd service so bluetoothd can then connect to it.

-- 
BR
Szymon Janc

      reply	other threads:[~2015-03-26  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26  6:24 andoid/bluetoothd IPC: command socket connect failed android bluetooth Prabhu Chawandi
2015-03-26  8:54 ` Szymon Janc [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2215776.K1gUTklLIe@leonov \
    --to=szymon.janc@tieto.com \
    --cc=foss.chaws@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox