Return-Path: From: Marcel Holtmann To: amateur , BlueZ development In-Reply-To: <20061209014807.GC3119@163.com> References: <20061207183707.GA15790@163.com> <1165573434.5529.22.camel@aeonflux.holtmann.net> <20061209014807.GC3119@163.com> Date: Sun, 10 Dec 2006 13:41:11 +0100 Message-Id: <1165754471.22251.17.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] on which level does hcidump work? 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, > > > I'm encountering a problem that the data I sent through a L2CAP socket > > > on my local machine doesn't appear in the output of hcidump on the > > > remote machine. But it does appear in the output of hcidump on my > > > local machine. > > > > > > So I'm wondering on which level does hcidump work. Does it work on the > > > host-dongle interface? What should I do if I want to monitor all the > > > information pass through the host-dongle interface(HCI_USB?). Or can I > > > make such an assumption that all the data showed in the output of > > > hcidump were sent out through the radio? Can I make such a assumption > > > that all the data received was showed up in the output of hcidump? > > > > you see only HCI packets (hence the name). There is no real way to make > > sure the packet went over the air. In some cases you can make this > > assumption from other stuff that is going on. > > > Then how can I make sure that the HCI ACL Packet sent by the Host is > *really* received correctly by Host Controller? It seems like there > doesn't exist any packet acknowlegment sent from the Host Controller. > And there isn't a Command-Complete or Command-Status Event for HCI > ACL Packet. So should I ensure that the HCI Transport Layer is reliable? > I just want to make sure that the Packet I sent through HCI actually > reached the Host Controller. that is the job of the HCI transport layer and not the job of the host stack. The host stack simply assumes that the transport is reliable and handles packet loss etc. However ACL packets are bound to the HCI flow control and you will see the number of packets acknowledgment. Regards Marcel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel