linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] strange error--/drivers/bluetooth/hci_uart.c
@ 2005-05-28  8:37 peng zhihuai
  2005-05-28 13:43 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: peng zhihuai @ 2005-05-28  8:37 UTC (permalink / raw)
  To: Bluez-users

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-30 12:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-28  8:37 [Bluez-users] strange error--/drivers/bluetooth/hci_uart.c peng zhihuai
2005-05-28 13:43 ` Marcel Holtmann
2005-05-30  4:12   ` peng zhihuai
2005-05-30 12:00     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).