From: Steven Singer <steven.singer@csr.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] sniff & pand
Date: Fri, 07 Apr 2006 16:02:06 +0100 [thread overview]
Message-ID: <44367EEE.708@csr.com> (raw)
In-Reply-To: <20060406200923.M10379@cos.ufrj.br>
Alexandre Coser Monteiro wrote:
> < HCI Command: ogf 0x02, ocf 0x0003, plen 9
> 06 10 00 00 10 FF F7 00 07
> > HCI Event: 0x0f plen 4
> 12 01 03 08
The Command Status event shows error code 0x12 = Invalid HCI Command
Parameters.
This means that the controller didn't like one of the parameters to the
sniff mode command.
The sniff mode command you gave had the parameters:
Connection handle: 0x1006
Sniff Max Interval: 0x0000
Sniff Min Interval: 0xff10
Sniff Attempts: 0x00f7
Sniff Timeout: 0x??07
Notes:
The connection handle is invalid. The valid range is 0x0000..0x0eff
The maximum interval is invalid. The valid range is 0x0002..0xfffe
The minimum interval is invalid. The valid range is 0x0002..max
interval.
The sniff attempts is highly unusual (but not actually invalid).
The sniff timeout field is truncated, it should be two bytes.
So, it's not surprising that the controller is rejecting it.
Where is the sniff mode command being generated? How is it getting
through the BlueZ APIs to generate such an invalid event? Are the
normal APIs being bypassed and is a raw command being sent.
- Steven
--
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2006-04-07 15:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.64.0603181246420.738@data.home>
2006-03-21 14:05 ` [Bluez-users] Re: [H-GEN] Bluetooth: pand: Connection failed. File exists(17) Geoff Shang
2006-04-01 18:45 ` [Bluez-users] Solved (was Re: Bluetooth: pand: Connection failed. File exists(17)) Geoff Shang
2006-04-06 20:22 ` [Bluez-users] sniff & pand Alexandre Coser Monteiro
2006-04-07 15:02 ` Steven Singer [this message]
2006-04-07 19:26 ` Alexandre Coser Monteiro
2006-04-07 19:07 Pering, Trevor
-- strict thread matches above, loose matches on Subject: below --
2006-04-07 20:46 Pering, Trevor
2006-04-07 21:12 ` Alexandre Coser Monteiro
2006-04-07 21:25 Pering, Trevor
2006-04-07 22:13 ` Alexandre Coser Monteiro
2006-04-18 20:42 ` Steven Singer
2006-04-18 21:27 ` Steven Singer
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=44367EEE.708@csr.com \
--to=steven.singer@csr.com \
--cc=bluez-users@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.