From: peng zhihuai <pengzhihuai@gmail.com>
To: Bluez-users@lists.sourceforge.net
Subject: [Bluez-users] strange error--/drivers/bluetooth/hci_uart.c
Date: Sat, 28 May 2005 16:37:20 +0800 [thread overview]
Message-ID: <c43104b305052801374253576b@mail.gmail.com> (raw)
hi all:
h4_recv: Unknown HCI packet type 00
h4_recv: Unknown HCI packet type 34
these message offen appear
I find then in "/drivers/bluetooth/hci_uart.c",function n_hci_rx:
/* WAIT_PACKET_TYPE */
=09=09switch (*ptr) {
=09=09=09case HCI_EVENT_PKT:
=09=09=09=09DBG("Event packet");
=09=09=09=09n_hci->rx_state =3D WAIT_EVENT_HDR;
=09=09=09=09n_hci->rx_count =3D HCI_EVENT_HDR_SIZE;
=09=09=09=09type =3D HCI_EVENT_PKT;
=09=09=09=09break;
=09=09=09case HCI_ACLDATA_PKT:
=09=09=09=09DBG("ACL packet");
=09=09=09=09n_hci->rx_state =3D WAIT_ACL_HDR;
=09=09=09=09n_hci->rx_count =3D HCI_ACL_HDR_SIZE;
=09=09=09=09type =3D HCI_ACLDATA_PKT;
=09=09=09=09break;
=09=09=09case HCI_SCODATA_PKT:
=09=09=09=09DBG("SCO packet");
=09=09=09=09n_hci->rx_state =3D WAIT_SCO_HDR;
=09=09=09=09n_hci->rx_count =3D HCI_SCO_HDR_SIZE;
=09=09=09=09type =3D HCI_SCODATA_PKT;
=09=09=09=09break;
=09=09=09default:
=09=09=09=09ERR("Unknown HCI packet type %2.2x", (__u8)*ptr);
=09=09=09=09n_hci->hdev.stat.err_rx++;
=09=09=09=09ptr++; count--;
=09=09=09=09continue;
=09=09};
=09=09ptr++; count--;
why these message apper? how to treat it?
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2005-05-28 8:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-28 8:37 peng zhihuai [this message]
2005-05-28 13:43 ` [Bluez-users] strange error--/drivers/bluetooth/hci_uart.c Marcel Holtmann
2005-05-30 4:12 ` peng zhihuai
2005-05-30 12:00 ` Marcel Holtmann
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=c43104b305052801374253576b@mail.gmail.com \
--to=pengzhihuai@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox