Return-Path: Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Passive scanning of iBeacons results in a "Data Buffer Overflow" From: Adam Warski In-Reply-To: Date: Mon, 3 Mar 2014 22:25:02 +0100 Cc: BlueZ development Message-Id: References: <6E6C1573-4744-486B-B2E6-2D3DC45D024B@warski.org> <407CD6A9-AFA8-4A8A-BA2C-882D7A64EF40@warski.org> <0BA8DEFD-9E73-4A6A-A9E6-1957634CABF8@warski.org> To: Anderson Lizardo Sender: linux-bluetooth-owner@vger.kernel.org List-ID: > I didn't notice that you were using Raspberry PI... To rule out USB > power issues, can you try attaching a powered USB hub on the RPi, and > then attach your BT dongle on it? > > I always had strange/random problems on RPi with USB HW plugged > directly on the USB port (except for pen drives, which work fine), > even for devices which supposedly draw very little current. > > Given that you are disabling duplicate filtering, every single > Advertising packet is arriving at the host, so it is certainly using > more power. Just not sure if that is the cause. Same thing happens with a powered hub (with both WiFi and BT dongles plugged into the hub). But I guess even if it was a USB issue, it would be caught earlier? The advertisement packets have a certain preamble, and a CRC, so the shifted data would be discarded? Anyway, that doesn?t seem to be the cause. Adam -- Adam Warski http://twitter.com/#!/adamwarski http://www.softwaremill.com http://www.warski.org