From: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
To: John Tobias <john.tobias.ph@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Dropping connection (bit off-topic)
Date: Mon, 10 Sep 2012 20:58:38 -0300 [thread overview]
Message-ID: <20120910235838.GA26986@samus> (raw)
In-Reply-To: <CACUGKYPwTxRS8JN78J-oPSwz0mhnKvxHg=ybm5vyiKivEpM03A@mail.gmail.com>
Hi John,
On 16:34 Mon 10 Sep, John Tobias wrote:
> Just to follow up, I used hcidump and found out an interesting info:
>
> bdaddr 5C:35:3C:72:B2:AF type 1
> > HCI Event: Command Status (0x0f) plen 4
> LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
> > HCI Event: LE Meta Event (0x3e) plen 19
> LE Connection Complete
> status 0x00 handle 77, role master
> bdaddr 5C:35:3C:72:B2:AF (Random)
> > ACL data: handle 77 flags 0x02 dlen 11
> ATT: Read By Type req (0x08)
> start 0x0001, end 0xffff
> type-uuid 0x2a00
> > HCI Event: Disconn Complete (0x05) plen 4
> status 0x00 handle 77 reason 0x13
> Reason: Remote User Terminated Connection
>
>
> The iPhone was requesting for "ATT: Read By Type req (0x08)" and the
> gatttool seems not reponding. So, after 30 secs the iPhone dropped the
> connection.
>
> Any idea how the gatttool could respond to the said request?.
The problem is that gatttool still hasn't any support for sending
responses. bluetoothd has, if you enable GATT support, 'EnableGatt' in
'/etc/bluetooth/main.conf' (usual location).
But using 'bluetoothd' means that will need to use the D-Bus API, which
makes me wonder that having a simple GATT server inside gatttool makes
some sense, for some use cases.
>
> Regards,
>
> john
>
>
> On Mon, Sep 10, 2012 at 2:35 PM, John Tobias <john.tobias.ph@gmail.com> wrote:
> > Hello Guys,
> >
> > I am using pandaboard with USB BLE dongle and an apps in iPhone that
> > do the advertising. I was able to connect to the said device from my
> > pandaboard using the following commands:
> >
> > gatttool -i hci1 -m 27 -I -b 74:xx:xx:xx:xx:xx
> > connect
> >
> > But, I've noticed that after 30 secs, the iPhone dropped off the
> > connection. I am just wondering if anyone here have tried playing with
> > the iPhone using the ble connection?.
> >
> > Regards,
> >
> > John
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Cheers,
--
Vinicius
next prev parent reply other threads:[~2012-09-10 23:58 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 21:35 Dropping connection (bit off-topic) John Tobias
2012-09-10 21:39 ` John Tobias
2012-09-10 23:34 ` John Tobias
2012-09-10 23:58 ` Vinicius Costa Gomes [this message]
2012-09-11 0:45 ` John Tobias
2012-09-13 2:52 ` John Tobias
2012-09-13 10:53 ` Anderson Lizardo
2012-09-13 17:50 ` John Tobias
2012-09-13 18:07 ` Anderson Lizardo
2012-09-13 18:18 ` John Tobias
2012-09-13 18:36 ` Anderson Lizardo
2012-09-13 18:44 ` John Tobias
2012-09-13 20:11 ` John Tobias
2012-09-13 20:18 ` Anderson Lizardo
2012-09-13 21:59 ` John Tobias
2012-09-14 19:04 ` John Tobias
2012-09-17 20:30 ` Anderson Lizardo
2012-09-17 21:21 ` John Tobias
2012-09-13 20:11 ` Anderson Lizardo
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=20120910235838.GA26986@samus \
--to=vinicius.gomes@openbossa.org \
--cc=john.tobias.ph@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