Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2250470rwb; Thu, 17 Nov 2022 08:20:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4zQYN0s6gVq6oOcgQ87ONHgpt9vhmYlbE94CUkBhlh+9ErrMBccjuIZsGz0DDM8FkMOIB2 X-Received: by 2002:a65:45c5:0:b0:46b:2753:2a60 with SMTP id m5-20020a6545c5000000b0046b27532a60mr2676405pgr.192.1668702041324; Thu, 17 Nov 2022 08:20:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668702041; cv=none; d=google.com; s=arc-20160816; b=j8YlaUh5Fuh0jwNxMl5Heh2i8+t1nK5e/L+eT+iQhRjKOhYlfCaZq9joqkgbbGVcIl ScoSls5PT7azkQfhklDiy3PkreNmi34kEKsg/w/YEt/cQqmG/nPgZqfsWRhgKsFh9nDt qfmyjWRotprNwFUerzXY1dlS5mby4ilCPKUtcRqsAx7nWSLOh3fxegvfirPBj6v6bIOM ypD293Snlq334QZErUwiKA5z0ccENItLetFlWMy9ZjcWehdMegI9P10TY+6B4O9xXgC8 isr6RDYxkyvxFw7oGRSlAkj2NWzjkE8PkFxU7t06+UtxTkgu1PwOlGhMPs68aXEfdDiP 0fQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :content-language:to:subject:from:user-agent:mime-version:date :message-id; bh=Q3EgM4aJRmMnyW/VuD3TkStCvfhp2EC6SMOXlkpLo+4=; b=ZR8q7NSqr/ZVDH1OgK3EhZ/bOoDWWDH7gsNxl5g21l/ifYih+KmTcYk7gZG5rObHpQ vYW74crOve6TAvNoqjmXc6r3CBcVJnRJyF9z4mX2OFht/MUoSqE/2GNBuUMMTwv1fKZy ri3bWg5mmqbjHJQZJhiYqhmzFJZG1d2q1Lk+1NlG4c9C2p6l1hgR3BKTBFOzNAtYM2Lq w4jnl4b9R+BKcgwRYTXWCpa0ekuvKo04W6dp2poXAgAe7YITXd0HLRfeFNMZw8ZGnTby UqWUs95qxj94OWyeF9YhrVYxtkGCFhQY4uzN+hYXRyXxsnyE95Dkb6MwnLHpz329c3VX PcQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a17090aa79000b00200e221e9a0si4288672pjq.149.2022.11.17.08.20.15; Thu, 17 Nov 2022 08:20:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240003AbiKQQS3 (ORCPT + 99 others); Thu, 17 Nov 2022 11:18:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234874AbiKQQS1 (ORCPT ); Thu, 17 Nov 2022 11:18:27 -0500 X-Greylist: delayed 523 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 17 Nov 2022 08:18:22 PST Received: from hmr112.pwrz.at (hmr112.pwrz.at [194.30.191.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62EBD786F9 for ; Thu, 17 Nov 2022 08:18:22 -0800 (PST) Received: from srv345.pwrz.at (unknown [10.10.30.15]) by hmr112.pwrz.at (Postfix) with ESMTP id 28C48402E4 for ; Thu, 17 Nov 2022 17:09:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by srv345.pwrz.at (Postfix) with ESMTP id 04048D21D5; Thu, 17 Nov 2022 17:09:37 +0100 (CET) X-Virus-Scanned: amavisd-new at pwrz.at Received: from srv345.pwrz.at ([127.0.0.1]) by localhost (srv345.pwrz.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UY85BUYg1-ZB; Thu, 17 Nov 2022 17:09:31 +0100 (CET) Received: from srv557.sprz.at (srv557.sprz.at [80.122.189.88]) by srv345.pwrz.at (Postfix) with ESMTP id 9C5A8D176D for ; Thu, 17 Nov 2022 17:09:31 +0100 (CET) Received: from [192.168.2.139] (unknown [80.243.174.92]) by srv557.sprz.at (Postfix) with ESMTPSA id 481F2E20605 for ; Thu, 17 Nov 2022 17:09:31 +0100 (CET) Message-ID: <92dfa5c7-90db-8100-b481-2bd4972a0ec1@voxel.at> Date: Thu, 17 Nov 2022 17:09:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 From: Simon Vogl Subject: Connecting to a BR/EDR+BLE device a via dbus? To: linux-bluetooth@vger.kernel.org Content-Language: it Organization: VoXel Interaction Design Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-PPP-Message-ID: <166870137165.43692.6116230956194055906@srv557.sprz.at> X-PPP-Vhost: voxel.at X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Dear all, we are communicating with a headset-ish device that offers classic bluetooth services and BLE characteristics in parallel. We have code to talk to the Bluetooth classic part via bluetoothd/dbus, and we have code for talking to the BLE parts based on the C-library / gatt-client code ; both run in parallel for some time but not super-stable, so I'd like to move the code over to a dbus version. As the device starts advertising BLE characteristics only after a classic connection has been established, it appears as a Bluetooth classic device on the system bus, and I did not find a way to start GATT discovery via the 'official' dbus-API. I don't fear to tweak bluetoothd nor ~ctl, but would like to know if someone already some development going in that direction? Simon -- VoXel Interaction Design |www.voxel.at DI Dr.techn. Simon Vogl |simon@voxel.at Tomaschekweg 46 | +43 650 2323 555 A-4040 Linz - Austria | Office address: Industriezeile 35, 4020 Linz (2nd floor)