Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4293029iog; Tue, 21 Jun 2022 16:42:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uh1styy/phPEcSTxLMvkl9yCBcqqBybBPNP29Nxkiv4L5/YXEyHE5nEFk2Tt4fqit/VfZw X-Received: by 2002:a05:6402:28a2:b0:435:798e:2988 with SMTP id eg34-20020a05640228a200b00435798e2988mr709406edb.217.1655854975203; Tue, 21 Jun 2022 16:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655854975; cv=none; d=google.com; s=arc-20160816; b=cTkntJWDrCmpO6lDBCCtjfUVkDTjQrd07Yg8j1CJFlHtksjz76nSoJEqTTGvMURoCw TtsyFdUuAMMhN51QxBKdQuVta0E9WAZJV9tnXkCxXEwG2TF2151EUqHy5nLU/cLS75cP I8Q2mZjrTju0tXaKtaINk3WIO4/JAy0+s9ZffKQLptu9ukjHZiBVTU/n0QTjOyxsrcUu iVNKpE1ZnmVc1GH2rgyLQeRF3H2hVm7/Jsh0C28+8FqaMQ/LooW+kjHSB9bHznckLGk/ iTyuGacM2/OvK0OUTMLP+Dj5qy3yOCgOpYR9xMHZ5XiP9tgB1eJWfXP3Pr6l2fywamOl Hauw== 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=FUD+UjyD/NSD9D/g3plwiCtj21dUlFc91dHWmSM+r7U=; b=eFgui9bOVNWGFLsW+Y5Es/2i5nfseaOjlk2c7J2UsWDyHU+NGvWKyfH2c38R0l0F72 xYJKouuXrhUw3Vct1J8N9soTZb764icw5/jgt3LrdkCOiQSLMKeohWSlzt9noEX9uOpF x9iPQ7G2m1GsXQQUqpKWDi/N41ICANTqLXmqdYS0mhNYU5XdXbZFGVJAjjY12c/WQBwe yJi4wnMgjfhsZI0ouWPDUgTxq7m+e+oaPZecwkXWfPgKXt7CP8Cglc9h5oayUAahvcCO r9KnHxPmaJsdFyGnqkrLNA8EY4fbMIXqbxHD2mfGMy/kbQv2bGOIz9VESx7c/NdYSoJD pMGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aEBX6wXE; 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 e12-20020a170906748c00b00711c8445670si15608327ejl.277.2022.06.21.16.42.14; Tue, 21 Jun 2022 16:42:55 -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=aEBX6wXE; 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 S232552AbiFUXk4 (ORCPT + 99 others); Tue, 21 Jun 2022 19:40:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229982AbiFUXkz (ORCPT ); Tue, 21 Jun 2022 19:40:55 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA3703121A for ; Tue, 21 Jun 2022 16:40:54 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id a11so8515681ljb.5 for ; Tue, 21 Jun 2022 16:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FUD+UjyD/NSD9D/g3plwiCtj21dUlFc91dHWmSM+r7U=; b=aEBX6wXE+Eq5LNfh7Mozw5ZI0xV1Gr9rEeuD0PU8zHDk5qDZnFEibS+vPJdOY7kCd9 RI6HjjPUuUKbSqQvpy6onOg4PTFtfK34GvW6IJkViXWV73IEortCk+yINKEZz10JfP2D kkXN7TLb57JkKAcanCAmr0UjW8HMeUAFJWwdX2cV4DrS7QroFOvXVxcktjGWkBNOdYS+ LI1TVjuNRhXQ3lf5Bsy4DDqUrHnCNoxUbksBSX2luVTgW11aRgAauLktunBI0z8CZVaW kuipd6nAGqayJvkpmv813pja+7oOqzIXMQ7Viii+NhK9CGcuujBFwaGpc1HTASG1I9w7 l/dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FUD+UjyD/NSD9D/g3plwiCtj21dUlFc91dHWmSM+r7U=; b=bxPMOqvS49rfo5dNNdBOmFWjulPI0xdoXRrpAs43f3fsEyI0hKfn/ApnCvQeOMckLA nZVnlTwyhEsopUvdSYWPRRFwITyr54F+YFlXEtegQYjbDiypmX6rrTlEbCzE7y7Aqme9 gukqUdtxq9PjXA6+Yw+Fq16G+hRklrnQWgW/7+ghLlNHaS3HcUwUFEaX2bk4LNWE58pW /Nz34PdSgU5Vw8Z+FJAtB1+Mw9nqmSmkYD2VgYYdvC5kB7AiFn26wEpz306cIj8Y07Bg Tt1XU2S/4EtCGXD60og6yJrKDcMrDT8/qZVTpEnsJ+GIlcoOYGaG6CjfkjLlrKZnFD/2 tkNQ== X-Gm-Message-State: AJIora8JOxyWMcfukwDcVRnnBF/Thlvn4knEoXaVDZ4aaWUIF/JaAu5m D4cmOEtSab9melqVa09qB40j/9wqeuPYV8FwVDp5eTmDhkg= X-Received: by 2002:a2e:9191:0:b0:25a:8858:f60d with SMTP id f17-20020a2e9191000000b0025a8858f60dmr297757ljg.423.1655854852964; Tue, 21 Jun 2022 16:40:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Tue, 21 Jun 2022 16:40:41 -0700 Message-ID: Subject: Re: Is there an attribute for the name field in bluetoothctl? 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 Tue, Jun 21, 2022 at 4:05 PM John Klug wrote: > > Gatttool Example: > > [CC:78:AB:7E:87:07][LE]> char-read-uuid 2a00 > handle: 0x0003 value: 53 65 6e 73 6f 72 54 61 67 20 32 2e 30 > [CC:78:AB:7E:87:07][LE]> char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb > handle: 0x0003 value: 53 65 6e 73 6f 72 54 61 67 20 32 2e 30 > > From Bluetoothctl: > > [CC2650 SensorTag]# attribute-info 2a00 > Attribute 2a00 not available > [CC2650 SensorTag]# attribute-info 00002a00-0000-1000-8000-00805f9b34fb > Attribute 00002a00-0000-1000-8000-00805f9b34fb not available Certain attributes are controlled by the daemon so they are not exposed over D-Bus, this is not unique to BlueZ since I remember saying that on iOS it also don't allow applications to access some attributes directly. Anyway the name is actually parsed and you can even see it on your prompt and you can also give it an alias with set-alias command. > John Klug -- Luiz Augusto von Dentz