Return-Path: From: Mayank BATRA To: "'BlueZ development'" Date: Fri, 18 Aug 2006 15:24:27 +0530 Message-ID: <000301c6c2ac$4f735600$9d0cc70a@dlh.st.com> MIME-Version: 1.0 In-Reply-To: <1155822351.4075.136.camel@aeonflux.holtmann.net> Subject: Re: [Bluez-devel] Host Controller to Host Flow Control Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Marcel, > it is not that complicated. We have to do this for a lot of commands > that you can use from userspace and the kernel has to detect its > execution. You might wanna do it anyway so you should have a > look at the > examples in hci_event.c inside the kernel code. I'm almost done with the implementation. I'm testing it currently, but there is a problem. According to the spec, for Host Number of Completed Packets command, no event is generated by the controller if there is no error. But, I think the BlueZ stack is expecting an event for this command. Can you suggest how can I prevent waiting for an event for this command? Dmesg shows the following: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: hci_cmd_task: hci0 command tx timeout Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: hci_cmd_task: hci0 command tx timeout Warning: null TTY for (d8:00) in tty_fasync hci_cmd_task: hci0 command tx timeout Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: hci_cmd_task: hci0 command tx timeout Sending Host No of Completed Packets: hci_cmd_task: hci0 command tx timeout Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: Sending Host No of Completed Packets: hci_cmd_task: hci0 command tx timeout Sending Host No of Completed Packets: ======================================= Note that "Sending Host No of Completed Packets:" has been added by me. Can you tell me the reason for "hci_cmd_task: hci0 command tx timeout" Regards, Mayank ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel