Linux bluetooth development
 help / color / mirror / Atom feed
From: Andrei Emeltchenko <andrei.emeltchenko.news@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Kurt McAlpine <kurt@linux.com>,
	Ivan Deviatkin <devyatkin.ivan@gmail.com>,
	"linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>
Subject: Re: GATT server example issues in BlueZ
Date: Thu, 3 Mar 2016 11:46:54 +0200	[thread overview]
Message-ID: <20160303094652.GG17563@comms.fi.intel.com> (raw)
In-Reply-To: <CABBYNZLnvwa5Xa=cg1eNdppJHynPj+HZChrmVAS52HCk49zmTw@mail.gmail.com>

Hi,

On Thu, Mar 03, 2016 at 11:34:04AM +0200, Luiz Augusto von Dentz wrote:
> > I do see this but my android device cannot discover the GATT service within the
> > app. It is possible to pair with it, but not discover the services or even the
> > device within the app.
> >
> > I've tired "Bluetooth LE Scanner" and nRF Master Control Panel"
> >
> > Ivan if you have any success with this could you let me know how you did it?
> 
> Do you guys remember that you have to advertise to be able to connect:

I do it with btmgmt:

[mgmt]# advertising on
hci0 Set Advertising complete, settings: powered bondable ssp br/edr le
advertising secure-conn 
[mgmt]# connectable on
hci0 Set Connectable complete, settings: powered connectable bondable
ssp br/edr le advertising secure-conn 

Best regards 
Andrei Emeltchenko 


  reply	other threads:[~2016-03-03  9:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAHrp-j-pSj5kymb95W7dKPgqcq8eyvf_QzuwK2zaziDcOErTaA@mail.gmail.com>
2016-03-02 11:16 ` Fwd: GATT server example issues in BlueZ Ivan Deviatkin
2016-03-02 13:50   ` Luiz Augusto von Dentz
2016-03-02 20:42     ` Kurt McAlpine
2016-03-03  9:34       ` Luiz Augusto von Dentz
2016-03-03  9:46         ` Andrei Emeltchenko [this message]
2016-03-03 11:20         ` Ivan Deviatkin
2016-03-03 11:24       ` Ivan Deviatkin
2016-03-03 16:31         ` Luiz Augusto von Dentz
2016-03-03 11:11     ` Ivan Deviatkin

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=20160303094652.GG17563@comms.fi.intel.com \
    --to=andrei.emeltchenko.news@gmail.com \
    --cc=devyatkin.ivan@gmail.com \
    --cc=kurt@linux.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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