Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2636084rwa; Mon, 22 Aug 2022 10:51:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR77xK2hxOLGEYjXUMjdQCH0uGvgVGL0lUIWvAe12egcMtoHdyf+3Rr1gNITOORkwDGT2ZMu X-Received: by 2002:a05:6402:14d5:b0:446:22b8:8da1 with SMTP id f21-20020a05640214d500b0044622b88da1mr281647edx.214.1661190675012; Mon, 22 Aug 2022 10:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661190675; cv=none; d=google.com; s=arc-20160816; b=E26aomI3kPpg7/BF4U3En4KbLWE4KrR91ovagv+DS6VH6TI1g1BgGSER7azXlfrBmC XVmEXuKlHYxmnGeZ+S8l6YmrFbKJktjFezxBtzOYkzLMcwP+R2ISpXrOAeYg5WQB8X3N 7AW2/Y9yq48qvghiNJZrhCSpQzOjhcOaBDdod1wfhshHPfWwpeGsuwJn0TDMG/Etr2XJ JO5yqnWyReTbMVxpKKIwg6PgxeLMgcpvJKCW4pvQg4Td3WH/JL/6eZ8i70eV+gsh1qgL kkJT1QZcxNfiOGCSHBBMSvPhR4UDBBq6h4gMPOUnysj8JG/lMOzEVrToQzd2NENp2WVe dPYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0QKNjSE840fw5c6vc1rwk9EqtsGXs/RkWczLiFUccxY=; b=YIIBUdOTRxJL2j7i7qqGg9LDFx1CsKi0ofGuQZ08R9yByWg8/w7CjcIU/6NhTbujHJ WmKwOJCEJkZ9dXFX3XUA72LTQfH/EB5pG9JI3gy5LnYZrz1bFROUfpXV6Jk4kKi53bBA eEvxCemwEbacq7yW0qa27mRlARLh1lY8uqAi6APkvKzXLNsUcmS01oWaew381F4DDzsh AVLJ9XfpefBvpXu1TJAalWqM3VVSml7xsbmdxyb/21x9CXZl3/cyqVmc7N++GwCqTIu0 ORsnmy3w8TSkHF6i7OpvaYntZfsdgR9Yt9zBg/LOQsAhC0VIK17vID1dn/Bm9oyjJlBw Sh3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Kiew+hXy; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a17090658c500b0072a92eb16b7si12336383ejs.5.2022.08.22.10.50.35; Mon, 22 Aug 2022 10:51:15 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Kiew+hXy; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235783AbiHVRtM (ORCPT + 99 others); Mon, 22 Aug 2022 13:49:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235394AbiHVRtL (ORCPT ); Mon, 22 Aug 2022 13:49:11 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CF98F590 for ; Mon, 22 Aug 2022 10:49:10 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id be9so8387502lfb.12 for ; Mon, 22 Aug 2022 10:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=0QKNjSE840fw5c6vc1rwk9EqtsGXs/RkWczLiFUccxY=; b=Kiew+hXydUNAdqnhjUmeSbBP61ABTE71JrelhBjpBY2lqb8Aj4+iwIxY87bullkPl4 WJVnrphhiUsDTVNULBeR6KAKTvpcN2rZJGSNWHrVNVQQ6IuSb0Kdjg1h5ggOj6ahqYA+ 0vytd4Y7UxcFn6sK9a2Somuh3/MsNcggzycVdZFau8Umslxq6FqSSAlcTJw9qE80kj/U 2EFPOt4Nn71gDrG1cgY+/HHNPP9FRdC6H9YOuXcbPT1HoetPCplDi51G6O+jjWW4BpgV +H+KK/rlwR3x6tGI8aSTnYwC/g+Wl6yoqB3QaCZ0b5GJxbTD2fUJ/mFHK5wHnGsK5QXc EjLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=0QKNjSE840fw5c6vc1rwk9EqtsGXs/RkWczLiFUccxY=; b=uACDOfg1YGgi6ZCrj/lfmBdbb7h82WoqhdELQFC578Ngj7CAmhAKQBKd0feKmFTrHX 2WhcedpiXBFgnQVyKTbKUkn+au6YLPxmJB2LkBSKBfrMOVu4TmnppK8dNnNPrC6ST1VD Gs72+Yi08D/A72KqwENPwHNZxaYZClcoHCf+iRySrKnEcZGL+H7Krh3I4tk2PsncFlb+ U1SyQ0XmDG1lAJcG1rlCkw+nw36Oekc2C0lzG0Toe6oRTlxITX0gUhnBkfHtfi8Iadno CngCVw2DYzO1X4cCWjZjo25iUDHH8f3nf86EOr3zgnMbpNA5v6gyvdzijEM27xnRtQdX lCEQ== X-Gm-Message-State: ACgBeo1MbcbzsuRRW/bmMnLb/NpnIT2QhlC1y5kk/depSTrIjRO0SJaD hr7E2F6pWtpZNshGM99Vpn7OsnhoFKtWO5LUbxG/2lqA X-Received: by 2002:a19:9108:0:b0:492:ea66:d05c with SMTP id t8-20020a199108000000b00492ea66d05cmr1315518lfd.106.1661190548528; Mon, 22 Aug 2022 10:49:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Mon, 22 Aug 2022 10:48:57 -0700 Message-ID: Subject: Re: Can BlueZ D-BUS API identify local Bluetooth hardware version? To: John Klug Cc: Linux-Bluetooth MailingList Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi John, On Mon, Aug 22, 2022 at 9:23 AM John Klug wrote: > > I did a diff of "bluetoothctl show [addr]" between Bluetooth 4.0 and 5.1. > > Address was random for 5.1 (will that always be the case)? > > SupportedIncludes: tx-power was additional for 5.1. > > What other API's could be used in a program to discern this? So you want to figure out via D-Bus or perhaps you can just use bluetoothctl --version if you want to know the tools version, in most cases the tools version shall match the daemon version. > > > > > John Klug > > -- Luiz Augusto von Dentz