Return-Path: MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 12 Aug 2015 18:10:28 +0300 Message-ID: Subject: Re: Inconsistent behavior while getting manufacture data through dbus-api From: Luiz Augusto von Dentz To: Nazmul Alam Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, On Wed, Aug 12, 2015 at 3:14 PM, Nazmul Alam wrote: > Hello everybody. > I am seeing inconsistent behavior while fetching manufacture data > through dbus-api. > > I have a mobile device reporting adv data and scan response. Both > having manufacture data. which I am trying to get from another device > running bluez-5.31. > > The api is working as expected when I am using ubuntu. I can see > manufacture data from adv data and scan response in an interleaved > manner. > > But when I change to raspberry pi I can only see scan response. And > seldom get adv data. After checking the issue with btmgmt, I see that > "find -l" command is reporting eir length of 62 (probably they are > aggregated). But dbus-api is reporting only one manufacture data. > > What might be the cause of this inconsistency? Also is there any way > to make bluez to not aggregate those two into a single eir? > > My kernel version for ubuntu is 3.13.0 and 4.1.4 for raspberry pi > (running raspbian). There have been some fixes recently to AD and manufacturer data, please first check if 5.33 had fix the issue. -- Luiz Augusto von Dentz