Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3952970pxu; Wed, 9 Dec 2020 05:01:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVZptGEnnhtKHKVLebiNVACdRDFho0vbQ3p56TFScVD5a1EH1n8K1hwcXFHcMdZzR0TImr X-Received: by 2002:a17:906:6713:: with SMTP id a19mr2034723ejp.468.1607518896898; Wed, 09 Dec 2020 05:01:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607518896; cv=none; d=google.com; s=arc-20160816; b=iE7bsxrr1f+zWDv3ejoJ6qXi2riGlkSVtULkXTSISJwNN251ZRq2t4RvXmcbHQQFBg v9pDr47iBvzPr59t2UnnQG0HYh4ITN2HAmjBQAHcaUljZkDf596wU65tmpTD2CsUB17h C6wabCX7FZsE3sw8h95aHHdDWUwJyrsiDBVCY5qvNRc+j9oxCUUFmE2Hk0KgEvhl3yT2 vwuXAkCJbKRFsETOrYH1Ty3wUtAW+pfrx3v3uyUNvAnl0ZHvb++AViwgHshZGA6MoEQ8 H0E/1agru5N1Qy0op8hfibIc1oRndIMbZzZQvukbHK8CkJbQFXBiuFl4LEHQZZ8vBnKf MKdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :mime-version:user-agent:date:message-id:subject:from:to; bh=DE3U21AeImlMSa+vE7IQhe+qw40fm6UgcGr0es5bOqE=; b=h0+IEmIh/9c8ldIJKfJ5vCbM3xczyW5s65WQG5D5DijJseDul1UuBKHa8vFQAmQgBy yuo1t9GdcKnBe0FATbg1HWfBr5fSQYL/CBag1P0bbNrSYdarujdBD36jbILWSI3A88gr qtSaK5Uq82hDWXnpGXL5CvfLy//jcoNNVJAmiu8a5Urkdajcg4ZzWznO93O5V6U5Ol3y eFFHySHPXzvdXHGZaqRki0y5qPpi5xcz4C8xdhvbAVqcF0XeyvyivQN4z+jR+k8t1KZ2 RWXoWuggc4W7f/QY83R9KdckZvbA3CGdx1fgSIeOMT2zpmfsPlwg9/SBBp+T/GnEAibx X5Lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t17si714368eji.269.2020.12.09.05.01.03; Wed, 09 Dec 2020 05:01:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728441AbgLIM7U (ORCPT + 99 others); Wed, 9 Dec 2020 07:59:20 -0500 Received: from 7.mo3.mail-out.ovh.net ([46.105.57.200]:51960 "EHLO 7.mo3.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731818AbgLIM7U (ORCPT ); Wed, 9 Dec 2020 07:59:20 -0500 X-Greylist: delayed 4601 seconds by postgrey-1.27 at vger.kernel.org; Wed, 09 Dec 2020 07:59:20 EST Received: from player694.ha.ovh.net (unknown [10.109.146.1]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id 72EFD26FB85 for ; Wed, 9 Dec 2020 12:41:58 +0100 (CET) Received: from labapart.com (host-88-217-174-125.customer.m-online.net [88.217.174.125]) (Authenticated sender: olivier@labapart.com) by player694.ha.ovh.net (Postfix) with ESMTPSA id 207A118EA271D for ; Wed, 9 Dec 2020 11:41:58 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R002bf34f9ec-c039-4b29-a749-55ee3851e5a8, 1AC18DC7F9FA5926FE91FF6DADBB0C28C81C5654) smtp.auth=olivier@labapart.com X-OVh-ClientIp: 88.217.174.125 To: "linux-bluetooth@vger.kernel.org" From: Olivier MARTIN Subject: Accessing RSSI during BLE connection through Bluez DBUS API Message-ID: Date: Wed, 9 Dec 2020 12:41:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Ovh-Tracer-Id: 13260286153969069644 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrudejkedgfedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefvhffukffffgggtgfgsehtjeertddtfeejnecuhfhrohhmpefqlhhivhhivghrucfoteftvffkpfcuoeholhhivhhivghrsehlrggsrghprghrthdrtghomheqnecuggftrfgrthhtvghrnhephedtjefgtdfhhfegtedvffeutedtjedtleduheehhfegleduheffieegiefflefhnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkpheptddrtddrtddrtddpkeekrddvudejrddujeegrdduvdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrieelgedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpeholhhivhhivghrsehlrggsrghprghrthdrtghomhdprhgtphhtthhopehlihhnuhigqdgslhhuvghtohhothhhsehvghgvrhdrkhgvrhhnvghlrdhorhhg Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Dear Bluez members, I was looking a accessing RSSI during a BLE connection using Bluez DBUS API. As mentioned in the documentation (https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/device-api.txt#n230), RSSI is only exposed during inquiry or advertising. I confirmed that trying to access it while in connection does not work. I managed to access it while in connection using the Bluetooth Management API (https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt) but I need root access. So my question, would it be possible to extend Bluez DBUS API to expose RSSI during BLE connection? Or is there any limitation? If there is no limitation, I do not mind to give a try extending bluez to add this support. Thanks, Olivier