Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp853837rdf; Fri, 3 Nov 2023 18:39:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJ95g/emgliGzKhyNJWJndHnKa0q/htWoUtETopqDnF69BgPBXY+FjG+jcogcwotaRNqko X-Received: by 2002:a17:902:e54b:b0:1cc:6a09:a495 with SMTP id n11-20020a170902e54b00b001cc6a09a495mr12850535plf.44.1699061997311; Fri, 03 Nov 2023 18:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699061997; cv=none; d=google.com; s=arc-20160816; b=iRXhVSYGPH9vtS1l4FPqKF6ujqVGI41gPxLAjdRsr2e2yMAuec0YfOu8FwG105P6BD C7+drcHn0sIx5uuVqluqiBeWQW3SVBgrgAgWUNxZCmQe6P7mxY0h9jkwQuZQJGhyzfNs gI6kbsXjI6d2tE5VXLC6JRl8oaiTsbNWeenNL9WUOj6sO7g8DLtJYvdeOJAu2YLtjKkk 756AiCs/AENEVa0fk6EV5CfGxYxzYLpsTGaWR0IKAvi0jBYcoYa89FKcJ+AH2D1Bszri P2OXjY0zVSAldkemLVooyU07egR/Y5+xHVY/ALtt8NHzZiyKhNvVmRgiyJTPZLFpciB/ zWqg== 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:cc:to:from :dkim-signature; bh=c3Yhy9Hf5+nnSUNmSBL33gHvI8iid5vFUHfOckgKkt8=; fh=jLBcaJtQTMa0ItG/AGLhY9DZigBGY3yssKrbm4MG2iY=; b=TyhvKNH3lbMiYFB0VZZ/vxJWIahEMus8i7dejnFX8RjPEXkImVcayVlEcpfOv5xtmV Ng4o24+FfUzHcEC1TvCHNtrXZjWyVHqo0Gf/XghGpRVNklrgRRnm3vSxqv72fNp8nqBy rGRj+BbRXFd+wTzI0mb8/Ijt12KtJdxed23tDakz3uXPHURsCS1m1B6ic6yYukMK0VAW FW09cIs/mBD6PIxiAvt/jtDioZ80DvBHLTOcJsMpJ6u2OZUOxWO7+laXJ/Kv/x5Ts9VP uoUg79IcZkCurAV7AK6jpqY0YP9sFqamTf33ebhIySE6icpxUOptBtFfty8C7XvU7Rdl +J9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vt-edu.20230601.gappssmtp.com header.s=20230601 header.b=XYBGqBcd; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b1-20020a170903228100b001bf1a9dbcc9si2759626plh.549.2023.11.03.18.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 18:39:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@vt-edu.20230601.gappssmtp.com header.s=20230601 header.b=XYBGqBcd; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 677FA81C7091; Fri, 3 Nov 2023 18:39:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229557AbjKDBjy (ORCPT + 99 others); Fri, 3 Nov 2023 21:39:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231749AbjKDBjx (ORCPT ); Fri, 3 Nov 2023 21:39:53 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63A7AD5F for ; Fri, 3 Nov 2023 18:39:50 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-670237ba9b1so5713486d6.0 for ; Fri, 03 Nov 2023 18:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20230601.gappssmtp.com; s=20230601; t=1699061989; x=1699666789; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=c3Yhy9Hf5+nnSUNmSBL33gHvI8iid5vFUHfOckgKkt8=; b=XYBGqBcdjqxWKxQhRzZdm7F/jWdSrupHEcne3YsUywa+B7XWXPTTSrr+oY/hBnbBjW 1Rf+gCG5W6SaLRqePWKxnEc8AyAeoIOPeQgCtsCMo1Vg26473xAG3lB1CSytyOr3aux5 fwEpyMHRiZgDjU+1cXq3LAtVXp7zO7iEb30YoYrDTZzdlwkdF0xl3zxYz0J/RiIfcO2y UXl6y3lKtdjJep50zjbPExyXywEkejazJugxJ3ZWO6ahIzJp1WioXgVv+Iuw5WA0+h83 c6FjsHUgdEmNaF976czqcCgTTLzPZ/THB3yIdrWHHhVtVnB/W1sx2EDKwKzHRnFJLA5i 0yMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699061989; x=1699666789; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c3Yhy9Hf5+nnSUNmSBL33gHvI8iid5vFUHfOckgKkt8=; b=KMgR2GYZ05JsDFxw++v1eBfOHr9H+t8n0/SiIG4gLzqOuI2+wEsPnH5qcvlPybSJv5 M6ri+MAgHbAax7ZZj3gbEvwsZpKPU+gX/AeYB/cQa+UNrlCL0O6wZ9xY/P9q8+zScAKH +/lcUiwyrXF7x+NP8NANNU4hxS3sPVTcNcfbbx2/712ByE/1iXNtDZeMKlk851/zJdRz jexdZ0Oy9GT3JuNDjiRPtvHcgwk7t4inTQ7IXRNSENwb+4q2DDo4SpG7YVNXal4IeATf FlutyMoL6EHGAnuzve++8i3BDOYC54Fose4I4QHn90wqBdRcuucA4ULT0YaVg5xB5sA5 zY4Q== X-Gm-Message-State: AOJu0Yx5W588Z+MafMXLN50Qcvv8B9yfnZyogZiDVu5Bu7hAYvJ1Iir9 r+jFc0XHkq4oZfbNRXOprKm3u2fJt+rwZdhwB8Kwar+BsqA7jcturm7of0XHVPWOTm0/4vJaKrr abgYX7Owkgg6DDjfzX7va9ki9E9RgeuBV3IvZ16d6Yz+syuxp0O5Wv5JwISM0jlZI40q6KZdxc4 Rq X-Received: by 2002:a05:620a:24c3:b0:76f:27af:2797 with SMTP id m3-20020a05620a24c300b0076f27af2797mr26864388qkn.0.1699061988678; Fri, 03 Nov 2023 18:39:48 -0700 (PDT) Received: from debian.localdomain (c-73-177-243-39.hsd1.va.comcast.net. [73.177.243.39]) by smtp.gmail.com with ESMTPSA id l17-20020a05620a28d100b007770d47c621sm1216955qkp.66.2023.11.03.18.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 18:39:48 -0700 (PDT) From: Paul Otto To: linux-bluetooth@vger.kernel.org Cc: Paul Otto Subject: [PATCH BlueZ 1/7] update doc for bluetoothctl-admin.rst Date: Fri, 3 Nov 2023 21:38:44 -0400 Message-Id: <20231104013850.24182-2-potto@vt.edu> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231104013850.24182-1-potto@vt.edu> References: <20231104013850.24182-1-potto@vt.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 03 Nov 2023 18:39:54 -0700 (PDT) From: Paul Otto --- client/bluetoothctl-admin.rst | 98 +++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 client/bluetoothctl-admin.rst diff --git a/client/bluetoothctl-admin.rst b/client/bluetoothctl-admin.rst new file mode 100644 index 000000000..7084bdad0 --- /dev/null +++ b/client/bluetoothctl-admin.rst @@ -0,0 +1,98 @@ +================== +bluetoothctl-admin +================== + +-------------------- +Admin Policy Submenu +-------------------- + +:Version: BlueZ +:Copyright: Free use of this software is granted under ther terms of the GNU + Lesser General Public Licenses (LGPL). +:Date: November 2022 +:Manual section: 1 +:Manual group: Linux System Administration + +SYNOPSIS +======== + +**bluetoothctl** [**-a** *capability*] [**-e**] [**-m**] [**-t** *seconds*] [**-v**] [**-h**] + +DESCRIPTION +=========== + +**bluetoothctl(1)** interactive bluetooth control tool. The tool works with Bluetooth Classic (BR/EDR) and Bluetooth Low Energy (LE) controllers. + +OPTIONS +======= + +-a capability, --agent capability Register agent handler: +-e, --endpoints Register Media endpoints +-m, --monitor Enable monitor output +-t seconds, --timeout seconds Timeout in seconds for non-interactive mode +-v, --version Display version +-h, --help Display help + +Admin Policy Commands +===================== + We divide bluetoothctl into main menu commands and submenu commands. The submenu commands control options + numbers for the commands can be hex (0x0F) or decimal (10) + +allow +----- + Allow service UUIDs and block rest of them + Syntax: allow [clear/uuid1 uuid2 ...] + Example: allow 0x1101 0x1102 0x1103 + Example: allow clear + +:Usage: **#allow [clear/uuid1 uuid2 ...]** + +back +---- + Return to main menu + +:Usage: **#back** + +version +------- + Display version + +:Usage: **#version** + +quit +---- + Quit program + +:Usage: **#quit** + +exit +---- + Quit program + +:Usage: **#exit** + +help +---- + Display help about this program + +:Usage: **#help** + +export +------ + Print environment variables + +:Usage: **#export** + +EXAMPLES +======== + + +RESOURCES +========= + +http://www.bluez.org + +REPORTING BUGS +============== + +linux-bluetooth@vger.kernel.org -- 2.30.2