Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1701392rwb; Thu, 15 Dec 2022 13:17:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Huo7aVKZyNCl+iOIQHV4rg0tDRAleVSQaQw2yWTvEipVIKDsacPdUVPd++TXtGiJj+4Pe X-Received: by 2002:a05:6a20:101d:b0:aa:23f9:7314 with SMTP id a29-20020a056a20101d00b000aa23f97314mr51575112pzd.46.1671139049519; Thu, 15 Dec 2022 13:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671139049; cv=none; d=google.com; s=arc-20160816; b=ZOdV6CiJCXI1Gqp3XPT7qryiS68ZfPo4RpsViX+2zHHNHZNWYpiRhdWXgX/hf6FZ0F dfFPuX9pcQ7OMHSVhMYCGMq2vmZYPoN739knIR7xhDurWy/tBphHxON1VE9GavnjAqj0 /X9lx9Dk3S3soeoQUEfDXzzV9KmWPjbcdosvtEMF+yF/el7wfbPW4u5tOKtT8JoUXw+M +sncXns5QuluZLLgJ0t3K3/J9hxnk2nx7W3nRP7FvjhvLk/DOvoZG7cIPiI959k9stC/ K/D7cqPKr3WyHU+yvvJjdpkccqqyBFuLoqOhfHeHCVun5R/JAvKJPE00hbefg42glWrd YUmg== 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=C3ZpecbXZ7MA8B74RHhsu6KPOaD9oS4NsyjOCiHMjQo=; b=K90dWgyM6SOIkKcrJiGkUsVOhlfkbNycogslEDDkPjSlbc58yzd3eW2EuH001N3o+A lPXDktGm/6NDXd0LqFAQEnXGrBjD+iF1Wsz0voDadSTlXB6BgHnWRD0/ZTqNIrCF7qsL ULBRqPSfKBDfdnkp9KYJPfO8bds3sAoGks56zWh0kLHQLtniMvAlXJufReq20iEjxnYG RTS0azafnXrU61ibEtdpB/Kk2ibGEk2Z/0vsX66qcAmYMv5afVMW+lWNeRyppJAgv5r9 tCZs4SpsdNklWDZ5Tvj+pJzesvdUAbj4BET6xGZL7sTwtvshdU9SXnmk5hbktwmvX4SL 1fkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=S+DorWfj; 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 v25-20020a637a19000000b00478f1d4badcsi607973pgc.365.2022.12.15.13.17.17; Thu, 15 Dec 2022 13:17:29 -0800 (PST) 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=S+DorWfj; 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 S229959AbiLOVLI (ORCPT + 99 others); Thu, 15 Dec 2022 16:11:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbiLOVKr (ORCPT ); Thu, 15 Dec 2022 16:10:47 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB98FD06 for ; Thu, 15 Dec 2022 13:10:45 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id 79so444153pgf.11 for ; Thu, 15 Dec 2022 13:10:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=C3ZpecbXZ7MA8B74RHhsu6KPOaD9oS4NsyjOCiHMjQo=; b=S+DorWfj6MGaIHeoeSn13MVS8+Gw2wMdHyj/LQy4moZeMm39Gklokaw+NdMDKGCt6M GEjxFhf6aBCgQaqoM6nGU3jp3jWj1jxXOnidwDKvBH5yQmpuoh3/zslWjCtAxrWSlFt8 Hkir2IucDYi7K+kmJD+/qw9zEfFSXYtXFbNRtCDzg1m4Gdmw1dKT2DFtrYFrSaJjHUnr hZTutCfGntiLHe2gFhfMnt6zjXUmKfQRiB+SJflHeQpwvPQl9vT7kYPiUiHA3zYYlmCp 5sl/VL4sB4vfA+nYwTgD4Ymw+HLXPwGjtW+ArqG7QbXJ3+mwkYRDZlbbtKcSApyn5U6q B3fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=C3ZpecbXZ7MA8B74RHhsu6KPOaD9oS4NsyjOCiHMjQo=; b=E8LBOvBHIlRqEZKo6N6EeOmd/KgI5YlM531ERfouWKQd4cBu51oSQaMLtd0x08QO4E TmvyQGtqFv+3O0RTRY+XyWVPDvJgLFFSIb2w8eTGcOnQH0xox9z8tysl2E36UI6JWOXw J3aQhutFhyasDiV74RVLrrtjtTNQe8gZJqxAj3sSsx7JN7AaKUAIR7RVUxKKM0e8p/MQ cE8jyJnADfk+WdAoFpMyFdLca//nhydUm8FDST3DuqXzMO4G2cyKBDhttfc5MtfG7Z3h sVLEgqZWCJ3cREjRvFsEvFGgv8YnW/kjq1/IMvaTX62xjc+7LL+7ZeXnf6ezwA1WSzUe SI1w== X-Gm-Message-State: ANoB5pnKWe3c/tx8CDbsJaSzbjzbqxbhhFPb+QNysj9CpCYrPmh27tV3 wbQ3DRB1GYQesaJfXtTN/iD/EeGpjQR82VFY X-Received: by 2002:a62:e519:0:b0:575:bf29:d1e0 with SMTP id n25-20020a62e519000000b00575bf29d1e0mr31749258pff.26.1671138644763; Thu, 15 Dec 2022 13:10:44 -0800 (PST) Received: from lvondent-mobl4.. (c-71-56-157-77.hsd1.or.comcast.net. [71.56.157.77]) by smtp.gmail.com with ESMTPSA id c20-20020aa79534000000b005779110635asm54908pfp.51.2022.12.15.13.10.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Dec 2022 13:10:44 -0800 (PST) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v2 5/5] client/player: Fix transport.send/receice tab completion Date: Thu, 15 Dec 2022 13:10:37 -0800 Message-Id: <20221215211037.2686489-5-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221215211037.2686489-1-luiz.dentz@gmail.com> References: <20221215211037.2686489-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_NONE,SPF_HELO_NONE,SPF_PASS 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 Commands transport.send/receive were not settings any completion callback so this makes sure it uses transport_generator to generate the list of transport that could be used to send. --- client/player.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/player.c b/client/player.c index 6e33274d320d..eba233329276 100644 --- a/client/player.c +++ b/client/player.c @@ -3654,9 +3654,11 @@ static const struct bt_shell_menu transport_menu = { "Release Transport", transport_generator }, { "send", " ", cmd_send_transport, - "Send contents of a file" }, + "Send contents of a file", + transport_generator }, { "receive", " [filename]", cmd_receive_transport, - "Get/Set file to receive" }, + "Get/Set file to receive", + transport_generator }, { "volume", " [value]", cmd_volume_transport, "Get/Set transport volume", transport_generator }, -- 2.37.3