Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5628733ybl; Tue, 14 Jan 2020 12:10:32 -0800 (PST) X-Google-Smtp-Source: APXvYqzpiNkXpPYDDO2p/Wu5na9sSQmIM4jbkGdDDRXMi5rKf0be7ha8JesE0ToL3gqFFYKaIrL5 X-Received: by 2002:a05:6808:2ce:: with SMTP id a14mr18684062oid.82.1579032632005; Tue, 14 Jan 2020 12:10:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579032631; cv=none; d=google.com; s=arc-20160816; b=IEMOTDWaz0Mv+9Kdg2jXekb/t1Yh7wr2T37/aO0YcHLPEOjWCp48yz/ZhwfV9cLcfm 5zIPFokvWXy0j0SX9v3DL0oAIuvsTBvPuimMHTkITvaCJYDDJVDN+nznHYYtp8191XIK gHikijU6dB+yvGC+Sf4I79d/kJIH2JW8I6nH2Fm5EY003lQ57cqu00LGeHTNG+fUOUNI G48W4g+UvluX5jNkVFsjWtY/kXNQZoQrpNemYcfS0YRUk7uqEBN87IBYXC23KtplU0gR tnpYyLk25X5nSRfLsvaiCfCRLIBxpHIRJ/hteAGscYwbVc2PJPSTcKIa1ZwtnMv4X23K kMzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=DKHEpaoLf285dEVOAs+XzBk6c4opLS+onpETsfXASjs=; b=H43XRq0zklI4HttK4Zx5Nvd+VV6N5aFQIWinKJXu/d1iFLADr6IYfIdzg5ULm//2BK K6ZC6kKiqC+sEFolJXXCfNva17O1ajkb9vt1fqdZ2B02Ak9KipGD+IWiCY+JVnuLyMNk 4F/LlmCekVPKQ/+/9hVGjkgQ1wgM1W0BBi9a5NmlYJKmwRPOWP8SaaIlD9nzO+VkpBn1 4qghXtSjc+M3iM5NL5HP9xwQ8MLRWnYN9U5xFdUG6O40Y5WAKic3dGFmlDbiQH5a/2uy 8Gru/bX2Ydo8ouB3HkD8V+G1Zwps0hh5T/XsjMCKQYZ4MzDXPKOs+71aGAGZhbaUXg5p 0N7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=R8RG8m5j; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4si9575966otd.50.2020.01.14.12.10.06; Tue, 14 Jan 2020 12:10:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=R8RG8m5j; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727556AbgANUJy (ORCPT + 99 others); Tue, 14 Jan 2020 15:09:54 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:45642 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgANUJy (ORCPT ); Tue, 14 Jan 2020 15:09:54 -0500 Received: by mail-lf1-f68.google.com with SMTP id 203so10817301lfa.12 for ; Tue, 14 Jan 2020 12:09:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=DKHEpaoLf285dEVOAs+XzBk6c4opLS+onpETsfXASjs=; b=R8RG8m5jbwifEFn/Bb8JF/BVMaOttgII9m/wLPOR+fhyu+c5fWAgbYjJobd/pkxCJ0 sZN1dqlkH6PCLL/g8PRQF3+EnH4dT8VTd5pdfhOKWlCTB2AWzk9uJAQPX9N4UeXMlqDr EnCWcDmF8VPenz3gxzvbAyXXGuO9R6QdVDicms9R8BEKL3UkXg1+a9onO6ftMQ48dQ6s SkCXkpEPErK+UATUVJaOec3F5nhHR6EHq69K0sGfHyprjR2FCXcCo+p+dvkR4oBrR0qB LXLieBYfcOcKkCQFcq+JbNeqrx1KgAXeUd8hsxkd86FHd33t5EJubN2DpFSDQhOAT50V tehg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=DKHEpaoLf285dEVOAs+XzBk6c4opLS+onpETsfXASjs=; b=Wna7pld9EByy+DfhSJq48XEtjUz6IeXgJgNKKSvMSvCAX6dFvhLkDhVP635QwI+/Au H/9ZHzAsgWyCF0XaYnsMyiO+9Ao5/MRknqmGbJOiXYt9h12j/quAgfDIrrrdwo6hvwbI kzHioZfgUdSbVZAxiU36xhhYPwoLfh4fEQwtFlwaOeMX+mOUadRNeQ8plANQLE7ml6G3 ztnxYflsRgwzxGh1nh5/5iSj34uIaOCLnxCC/j13u6d65ESqV2VvfkmeH4xABtIBMtd8 x+o0qLVNdS9RcSZEt+QXEnTeQum19LQcFKulL3/P8R9+YsBSKRRUO3TYIW7OHkVST9Ku OJyQ== X-Gm-Message-State: APjAAAUvAY8k8grjnvPK3A5OlaWH283tV92A7rP3bWan53o1IXWQP8CD x7a6jxRCetA5mb6y84iY9unOcpNKcOg= X-Received: by 2002:a05:6512:307:: with SMTP id t7mr2778572lfp.201.1579032592229; Tue, 14 Jan 2020 12:09:52 -0800 (PST) Received: from kynes (apn-5-60-0-97.dynamic.gprs.plus.pl. [5.60.0.97]) by smtp.gmail.com with ESMTPSA id 140sm7873534lfk.78.2020.01.14.12.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 12:09:51 -0800 (PST) Date: Tue, 14 Jan 2020 21:09:48 +0100 From: "michal.lowas-rzechonek@silvair.com" To: "Stotland, Inga" Cc: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH RESEND BlueZ 1/1] mesh: Add --io option Message-ID: <20200114200948.xgy2idbjcmhqybdm@kynes> Mail-Followup-To: "Stotland, Inga" , "linux-bluetooth@vger.kernel.org" References: <20200113122726.768-1-michal.lowas-rzechonek@silvair.com> <20200113122726.768-2-michal.lowas-rzechonek@silvair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Inga, On 01/14, Stotland, Inga wrote: > I wonder if it would be better to re-use "-i" option by changing it's > meaning form "index" to "i/o". > > So that " -i hci<#>" will map to generic i/o on a specified controller > and no "-i" option means any controller. > > Yes, we will loose some uniformity across all of the bluez in a sense > that "-i <#>" won't work, but imo it's preferable to having two options > with inter-dependecies. Hm, might be... The reason I added the "--io=:" was the "" part. For example, we have a non-HCI radio adapter that uses "--io=uart:/dev/tty" syntax, or remote radio using "--io=tcp::" syntax. So maybe I could parse "-i " and "-i hci" (where is a number) as a shortcut for "-i generic:hci"? That would allow us to merge both options and rename "--index" to "--io". -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND