Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8894758rwp; Wed, 19 Jul 2023 17:47:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlGzfmHkSo3sw31wGvoVYEjlnxcCtGj3rHb1V1F3kiQYvsdnNbThZ+qqVr8/aBeKS8XERJoz X-Received: by 2002:a05:6808:1b11:b0:3a1:dc0d:f32b with SMTP id bx17-20020a0568081b1100b003a1dc0df32bmr81772oib.40.1689814077580; Wed, 19 Jul 2023 17:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689814077; cv=none; d=google.com; s=arc-20160816; b=qx1/7uA17PET6luTai4JK7g7g8BQEOe7SfJBhjtTZYDd2oDAMPez0epIynIKxw845V LgkvWxvwyZbybXBlVHeNR/sh4BRDXM6FYqjNIOB6qrpk4Y6R+8ePXfct/BePq86Esf6k OTencTZdSNxm8f6qK395adOk0epTdcQ0BVT8hn6JAW7A05/XAZLTatvR4LfgkR7OKAxH ycUB2z8od4N53GBdslTJxKOVI8vs2IIFC18fre4tfvLBsg4j5AnngTFR8AXhi4AMaIgF neCdkpc7k9rDZYOZkTqjl46dkPS9qmQf514Kz622LliLInAkX6M+BSaK5R4Yn842cbKF v3pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=yA6UUXyFTO5GmXU2zsZoTlaLvLg/A1iycqt2aCfaztw=; fh=V2LL5OuZUBGeSu6TXDWykcThOoazTGUpkln19rrO2KM=; b=b30ZofEnf3ZMLq6ij8/eXl/vR+enh5VUQfycLeznJvUABgHz8SYxxWgHKspl8aiv7f bI60B5OY4DZQsuDT2Uxx0NIiu8D5T3WyOHeRqIkbyJhU25EFdbPGqk5Af4Z/xwgwmaZl FRlD6/EbgCilgzgENlc5O+9Se9eV/t8EXuu/9W+oMGDKw9PcIsqK8uuZySbW9etiN/AR vgbVebLhZDsIdkgGVN17x2jHCO+D+qsu7iqLlmCd1GMjypgjWjZ/kMuBEEDtfE1QoEuW hf2QTtk8lCBoCJw88XtgUO84P0zj9h1DFQKbkBbew+tQjnaLnImMIEFPA61lN3PzmpWd gmQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="HwrJ/CjO"; 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 na11-20020a17090b4c0b00b00263cfc9753csi2535093pjb.5.2023.07.19.17.47.31; Wed, 19 Jul 2023 17:47:57 -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=20221208 header.b="HwrJ/CjO"; 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 S229705AbjGTA3X (ORCPT + 99 others); Wed, 19 Jul 2023 20:29:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbjGTA3W (ORCPT ); Wed, 19 Jul 2023 20:29:22 -0400 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1AD91A8 for ; Wed, 19 Jul 2023 17:29:21 -0700 (PDT) Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-76731802203so24791185a.3 for ; Wed, 19 Jul 2023 17:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689812960; x=1692404960; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=yA6UUXyFTO5GmXU2zsZoTlaLvLg/A1iycqt2aCfaztw=; b=HwrJ/CjO5myzwDIpIsle4u+YBT5DbD/42kq8rssi5BncEnp374kaXEt7Mvm74dKYSb VaLGMi14kGyMdlNZwsSalk1iPxZcEHZb1EzvEQairGXuymVaggLe+ujFacG+iOmHsKXF YDrxfSYkB7mIMReyAQpPult9P3HPfcPU0avEos0RJUswByIi51kT38t5MZB5QNFeHgB9 frBqJO+rqb8O5RUZ9Cum5nIDl4LA0GJxaovWOULBnb7Hhs4AvYQQh+C84vzHUFFpS1+4 a0GJNRXl5KalQpmZP47loI+VHfMA1/tQymDSfuOfUO/EJyWa/JfCZfpd+b6N9CEwLdSN n66Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689812960; x=1692404960; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yA6UUXyFTO5GmXU2zsZoTlaLvLg/A1iycqt2aCfaztw=; b=aHsBm9jykV17wkZtR7YRYLZOYFKYEPMhZgEUj8yi0Yx3itfc66VaDDvro1wum6PtV9 MQ4AYNf620RAVl1H4rmq0hm21gy9Gj11SmIcuhVUV8XM4eDGVUQFUWNH28aQX8wHgXdK pUmwxeP/JKh34YgQz2oR+AaRPZYrBgKModYUXDfpZkxRC8N/DYBLlFtVNKegFjPgufw2 1nBSJ7QxbFPHU0zReZdfBaFhYz+J9LLFoCVgfAGe2qoE5uPIbGOWQ6K4oJs0XOaYzkvv qgNu66LDkMDi/RAz54VIbHM+0MTH5VSaPR8ieW0XX1PiTLxVgwbYZ5dnTlPViRDtmrqI 807Q== X-Gm-Message-State: ABy/qLYR7FGeeDiwN1M0LgLSsJgamstROMg2mQJy4J2RlY6xJ95U7XAs isaY0ZWfDAx0bCe+YiOuUfeTJnQXeCI= X-Received: by 2002:a05:620a:4707:b0:767:eb51:ac27 with SMTP id bs7-20020a05620a470700b00767eb51ac27mr24347225qkb.5.1689812959925; Wed, 19 Jul 2023 17:29:19 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-236-201-58.hsd1.or.comcast.net. [71.236.201.58]) by smtp.gmail.com with ESMTPSA id r25-20020a05620a03d900b007623c96430csm1619472qkm.111.2023.07.19.17.29.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 17:29:19 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [BlueZ PATCH v4 3/3] client: Add bluetoothctl-monitor.1 man page Date: Wed, 19 Jul 2023 17:29:13 -0700 Message-ID: <20230720002913.342733-3-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230720002913.342733-1-luiz.dentz@gmail.com> References: <20230720002913.342733-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_BLOCKED,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 From: Luiz Augusto von Dentz This adds bluetoothctl-monitor.rst which is then converted to bluetoothctl-mgmt.1 using rst2man. --- Makefile.tools | 3 +- client/bluetoothctl-monitor.rst | 89 +++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 client/bluetoothctl-monitor.rst diff --git a/Makefile.tools b/Makefile.tools index 6c5835bbd65d..09e41dd07469 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -348,7 +348,8 @@ profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS) if MANPAGES man_MANS += tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/isotest.1 \ - tools/btmgmt.1 client/bluetoothctl-mgmt.1 + tools/btmgmt.1 client/bluetoothctl-mgmt.1 \ + client/bluetoothctl-monitor.1 endif if MESH diff --git a/client/bluetoothctl-monitor.rst b/client/bluetoothctl-monitor.rst new file mode 100644 index 000000000000..2357a56ace36 --- /dev/null +++ b/client/bluetoothctl-monitor.rst @@ -0,0 +1,89 @@ +==================== +bluetoothctl-monitor +==================== + +--------------- +Monitor Submenu +--------------- + +:Version: BlueZ +:Copyright: Free use of this software is granted under ther terms of the GNU + Lesser General Public Licenses (LGPL). +:Date: July 2023 +:Manual section: 1 +:Manual group: Linux System Administration + +SYNOPSIS +======== + +**bluetoothctl** [--options] [monitor.commands] + +Monitor Commands +================ + +set-rssi-threshold +------------------ + +Set RSSI threshold parameter + +:Usage: **# set-rssi-threshold ** + +set-rssi-timeout +---------------- + +Set RSSI timeout parameter + +:Usage: **# set-rssi-timeout ** + +set-rssi-sampling-period +------------------------- + +Set RSSI sampling period parameter + +:Usage: **# set-rssi-timeout ** + +add-or-pattern +-------------- + +Register 'or pattern' type monitor with the specified RSSI parameters + +:Usage: **# add-or-pattern [patterns=pattern1 pattern2 ...]** + +get-pattern +----------- + +Get advertisement monitor + +:Usage: **# get-pattern ** + +remove-pattern +-------------- + +Remove advertisement monitor + +:Usage: **# remove-pattern ** + +get-supported-info +------------------ + +Get advertisement manager supported features and supported monitor types + +:Usage: **# get-supported-info** + +print-usage +----------- + +Print the command usage + +:Usage: **# print-usage ** + +RESOURCES +========= + +http://www.bluez.org + +REPORTING BUGS +============== + +linux-bluetooth@vger.kernel.org + -- 2.41.0