Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1412545iob; Thu, 5 May 2022 00:03:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3JsPNK+aZi2QZQVzLqAVr0QsiOgIljzveMybZ+q93ckoTU3w0p4eirj2vZDdJobK5fWBI X-Received: by 2002:a17:903:246:b0:153:87f0:a93e with SMTP id j6-20020a170903024600b0015387f0a93emr26292141plh.171.1651734233129; Thu, 05 May 2022 00:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651734233; cv=none; d=google.com; s=arc-20160816; b=Iyx/R8NiBjxTUXGTneT9bSIJXnkpBMbiKnGjIyUBbRYxnOXwfbPQLIJwi4iv9OnNLK x9QupFTSdq4QWcYpHPY3EA3j3uGlLFDJ/YJP6Uf77+/3jMpw4AkQZpLx6hwFtqC6caW6 lusQy2q4kGCbbf0daS4vgAuH4ihz2Xv7hK4g9+IldwgGt+DaaoFfV+9cgqH6zJhJUuVx HEKEqxGjeX9I+ciH6CGpnaU4lkYyURM+qDHptgJx93aQRbBHYSiuhSUy2t5JqHmIUoTS hfpBWM4RQ7Xyt7XooBNYXFdzOnWfG5Tya0D2N+cM7u91MuoPKWIUtwJp1BGE2NkyPbPQ +KBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=b7WsrvbnTgwzAHR5EeEDX6HG+quOXPNtvadvNCGL1M4=; b=Uf+J4Gpttpn1Ab8qLXRsAzLAdCuhEVx5KctBYR9UdcfttMhVdBkkOSiHpM67crlR2Z QA+bYZPWeWjeDGRWfmW8fWX40MTChM/9ERfYGivGScqF8CY4F2VV+YfIRKaEPbvdQP1v 0vjBgwqcM5xj/F27fofinXgC9cQC4URmdVPS/QqBesO3c9Dw+h2eqhab6AgfPBFcI0NS Bjp+yWb34ZHpAH0ymBs8GO6E/GjR2s6r3UT0qJm7dlN0yj/aCq+jOvuoAEtYiSkNDZw5 giWYIgQN1AwFvnzD9MdqMKn+XcXqUF6ieg6SkR3HJOb0r0juJxeqG8L+pVc1G98Fv6w3 K5qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Vdme2JIR; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oo12-20020a17090b1c8c00b001c654567133si7480055pjb.186.2022.05.05.00.03.20; Thu, 05 May 2022 00:03:53 -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=@google.com header.s=20210112 header.b=Vdme2JIR; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378509AbiEDVNn (ORCPT + 99 others); Wed, 4 May 2022 17:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378505AbiEDVNl (ORCPT ); Wed, 4 May 2022 17:13:41 -0400 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3D8651E47 for ; Wed, 4 May 2022 14:10:03 -0700 (PDT) Received: by mail-pf1-x449.google.com with SMTP id cw22-20020a056a00451600b0050e09a0c53aso803779pfb.2 for ; Wed, 04 May 2022 14:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=b7WsrvbnTgwzAHR5EeEDX6HG+quOXPNtvadvNCGL1M4=; b=Vdme2JIRo1IaQfIdB1wxmyDU9rYtEB/+Uq7pJE+Nr2QDO+PCd882/vZ5PWVl2QpPw0 c5W9ze6swmLRmlB3DPe5H+AKxAGb6mBWULP1NKvb2cq8BAe3MXDI2hOVYirnt9yrOVZr zz3KURqwx2zLgBfjYyTp4lMUXMKI3Yr7PqRPE1HI0UWLqdHO1mbqMSRAUpRbqQaoneq4 wz/3Ly4qSTOow4Cb89Mpac9in3CnODNhvhKYjfiUzJ1y8yTbTx8utvH5AZcdP+bSXab+ l2IqbvUVMC4VsDGXeRbgKPogaWfTCx7/zwVJaWC3k3vI4hLreJORGJuzK/WM5LUvXOSH ACYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=b7WsrvbnTgwzAHR5EeEDX6HG+quOXPNtvadvNCGL1M4=; b=2rDbAB/0GWoeAo9qA/BX8Pbu6Kvrr5KiYGEESVoUknxt7wGpYTwYTh2Ot243jYahIP U9FnSZe00HzjM36h/2jUqHafRErEYlSoESN66L3m/VZKuQfxOvMgkzs6aJwi3P5riyyE WGseJ2g9fHThIb/geZKSJVyLXh4aAGhguA1yCJCBo5fdkGAwblEsXL860Mm6tDTmTh32 xQz2EjesbPzRShqSsXleF/Bjivxa8SEoPH6A3oxeG98AkBlKCEW5gcwA8/mIY6WE2NPx /oeoFhyFXi6vAStbCeq0fbBEVWzfjIEGn1hfq2QAYBjqpE6zAIhlLalFnw9OVdXhakUg 4U7g== X-Gm-Message-State: AOAM5316Tkp9UkJMIk8Myrt7vBljSdx/IQ8V9qxOVWmjmLvTKeMwjxrp KSVUSQTHNjkmEk8gqAlP0DL4te4LcrXN2KiUqiG1A2PtBAZ82xNMxlXxcBP6lPvTYl3YbERVg6C FCosksjGmRGJj5CGJtxWlK80/fPh5MceNue9zjrqksbsCnz/xV1vXryE/DF4iOazqLaGee6EZUK vK X-Received: from jiangzp-glinux-dev.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:4c52]) (user=jiangzp job=sendgmr) by 2002:a17:90a:c986:b0:1d9:56e7:4e83 with SMTP id w6-20020a17090ac98600b001d956e74e83mr108697pjt.1.1651698602842; Wed, 04 May 2022 14:10:02 -0700 (PDT) Date: Wed, 4 May 2022 14:09:47 -0700 In-Reply-To: <20220504210948.2968827-1-jiangzp@google.com> Message-Id: <20220504140940.Bluez.v3.2.I52f3efc7576fd0048437f1419dd2e1e687f7ac65@changeid> Mime-Version: 1.0 References: <20220504210948.2968827-1-jiangzp@google.com> X-Mailer: git-send-email 2.36.0.464.gb9c8b46e94-goog Subject: [Bluez PATCH v3 2/3] doc: add "Bonded" flag to dbus property From: Zhengping Jiang To: linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com Cc: chromeos-bluetooth-upstreaming@chromium.org, Zhengping Jiang , Sonny Sasaka , Yun-Hao Chung Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL 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 Bonded flag is used to indicate the link key or ltk of the remote device has been stored. Reviewed-by: Sonny Sasaka Reviewed-by: Yun-Hao Chung Signed-off-by: Zhengping Jiang --- Changes in v3: - Move documentation update to a separate patch - Add description to bonded and paired doc/device-api.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/device-api.txt b/doc/device-api.txt index 1e8590b27d58..c7e217c07526 100644 --- a/doc/device-api.txt +++ b/doc/device-api.txt @@ -246,7 +246,17 @@ Properties string Address [readonly] boolean Paired [readonly] - Indicates if the remote device is paired. + Indicates if the remote device is paired. Pairing is + the process where devices exchange the information to + establish an encrypted connection. + + boolean Bonded [readonly] + + Indicates if the remote device is bonded. Bonded means + the link key or the ltk from the pairing process has + been stored. + A PropertiesChanged signal indicate changes to this + status. boolean Connected [readonly] -- 2.36.0.464.gb9c8b46e94-goog