Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp815601ybj; Thu, 7 May 2020 08:15:14 -0700 (PDT) X-Google-Smtp-Source: APiQypIKUtSGyObLNiGjHjVbu6f75InUkc2WPqI56ujWYRpI97lxXF62KxKj8lG8qMTzRXxYmeSc X-Received: by 2002:a05:6402:1768:: with SMTP id da8mr12433209edb.216.1588864514726; Thu, 07 May 2020 08:15:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1588864514; cv=pass; d=google.com; s=arc-20160816; b=E/5iLR6VUZQN8w2uFDsWNNWRt+i6nwFNH24zImwZPKij250n7YwzjF6SYV3bOdTuSp 5nfPlYVRRtvTjrtvj6YCxaHW5xkY25guwxW/47O0AE+hrT7FmKz6fIu7ClyobGEjpVq3 gu5We+4XWLhGQ9I4x9uA+71WL1Vz4wQ2NtA5E7sKWs/iDLQMZQLFdJawaL903vDoBPyV 76L9qvzuoysrM5sXkm0p6ED8WUtmaWA0t/zeWmZ9NQaDHiUkh5VZfxiuXMEY/ZhsVkQJ Rw8xXJkjba4P5ftOjfogcqIhySe3RmSKCsV/YU/KLCgpFWPX7XwXwKvj963GCLeo9VMU 1o0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:dkim-signature:ironport-sdr:ironport-sdr; bh=2xoMUTMTdQELcYOLnFpibJRGoA9iqSkTD73Ue3WUXA8=; b=lc/8CNByr2z9CxCeP3UuRY9RZWqfmWCxsL0Y3UKd/v4Xuf41tps/+41h9zQUKlfExA UTvyZp4Mfw0t26pGWREfZcRWft0Qsrm3snf1a/rA6pKIo8dRFUamgE9u7XuR0Ffy/dUs YYtWJyS+xuHplvDJOV6h8UJ419tjN+Jd1uFplXuZV4niZvOPJCF8zDZYOOSMjJR7W3Qx bodo1faU4W6OD/N4V2Nls8D4YJ5UbXq1OsstgJXbPp4BaLjb9PiTqmvh0NauzAbo9KTF wXoMOz2C+k++zEMYMnN8UDsW+n1U4J+zV+q/cPyLou271IL4z1YcoRYzpK1+F3Tw7mbk Id4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=FTQnVvNu; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si3367306ejz.412.2020.05.07.08.14.21; Thu, 07 May 2020 08:15:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=FTQnVvNu; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727841AbgEGPMC (ORCPT + 99 others); Thu, 7 May 2020 11:12:02 -0400 Received: from mga14.intel.com ([192.55.52.115]:15193 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgEGPMB (ORCPT ); Thu, 7 May 2020 11:12:01 -0400 IronPort-SDR: 2mioWSPSpruUfWRj9J1Ehse1+Q+PK998NfW/i8oYxUTym7v8SZYg7rOGF+M5NciiFvSh50xs0X OE1MF2Ab5ZSQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 08:07:01 -0700 IronPort-SDR: sR338Iuzz4p1q2kfPYyG4Ep4tE6aHu4cPCUyzaeLnn3laBn0VzAQx/xkzJSeVpx33taXisIeLn OC/iEWg7j4Qg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,364,1583222400"; d="scan'208";a="296562240" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by orsmga008.jf.intel.com with ESMTP; 07 May 2020 08:07:00 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 08:07:00 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 7 May 2020 08:07:00 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 7 May 2020 08:07:00 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.103) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 08:06:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fOqBrQzykvNuYMFXlNQhRzlWAfl63GfjAs+MC44OdNsGJ+CRtdxvReoFUW0+9ErtCfjE80YEZjsIIbkiXvvDm9dP/C0WiU6ZUc2Z6sUeHC+oIE/LP7NFANZ76SDae8Z7Bvb5OJmLZJCGqH9JCaCuzEkotuK3ybKgkNDKc9SynDTS1A2x9yY//fM6j2Ln0SzPdXtvdVFi7eZpAxPB1y5JDgtwDkO9srnP3hiJ9bW/23mKkhnwWOYWYkgkJCwDhcXqMIRuxTnq+kXGoLBABE3wJWOVw4+ARUrhBcs5YUbDmBzjcv3v0DSm39j626ZZr9JorPXYJXY8ztQFehqUOF5tug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2xoMUTMTdQELcYOLnFpibJRGoA9iqSkTD73Ue3WUXA8=; b=XSQbIcqLirie2Zsv0gkys/4ZWg0xxFaU/Blax6XJXIPRvzKb+TbJTDoeVOE3l+KrRTupfk5mfQdu0mP7EUs8wCSPsITKzePKlxEnwhWltSq8HlUqR+OhMQhJ/5oMl/5NgHGj13dlK0SV8vKt8aw6p3fO5XH70ZXHIuEJhOTyMLpjUR2lqPT2o/ceS9rC6EjpmvsIKzEl5XioFK6FsdKLy5njBD/oWnxyPGxoPxaz4UCtbggTHZtvm4ECkJmdNUy0W+SsOPbAXPqYWyDJEMQ3FzurJ7ghw8PCWD2TdJgaxQ93sWDHTuKuRG96xWLL6bxRlbz/J5oIn2GmItNu2yd0Ug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2xoMUTMTdQELcYOLnFpibJRGoA9iqSkTD73Ue3WUXA8=; b=FTQnVvNuGsNQVzBNAy1aD19m3cIgzJVN1w+pl84wFIrUPfrnNOpMb/mX0OegCmw7A2s97rznPP+VNtMW06aRjmbcnHGaXG0SBCv7cvt/3oldC6fYJmxY6TIGq66l0oURzfI3g78/SEULd4JtdPLDJm+HmyS+h5rJp3GJBr5aDNI= Received: from MW3PR11MB4539.namprd11.prod.outlook.com (2603:10b6:303:2f::13) by MW3PR11MB4668.namprd11.prod.outlook.com (2603:10b6:303:54::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Thu, 7 May 2020 15:06:31 +0000 Received: from MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::5552:f057:3dbf:716c]) by MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::5552:f057:3dbf:716c%3]) with mapi id 15.20.2958.030; Thu, 7 May 2020 15:06:31 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ v3] tools/mesh-cfgclient: Fix model app list parsing Thread-Topic: [PATCH BlueZ v3] tools/mesh-cfgclient: Fix model app list parsing Thread-Index: AQHWI++nKQiMalpovkuNyWoBvbxMRqicuk6A Date: Thu, 7 May 2020 15:06:31 +0000 Message-ID: References: <20200506214449.20099-1-inga.stotland@intel.com> In-Reply-To: <20200506214449.20099-1-inga.stotland@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.32.5 (3.32.5-1.fc30) authentication-results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.54.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f8d449f2-d756-4421-4cf5-08d7f2983a04 x-ms-traffictypediagnostic: MW3PR11MB4668: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1169; x-forefront-prvs: 03965EFC76 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5koYV5XZFzYQlLYwkh/f08l8LC4azO2ojNSkNMOojWj8TVBEC7e1UlimfwYaj9S55WaWMlmet3CVsTa6mTPXKip08VAfIV2FWywVvEB7DjGRUM+KtVcoLWrcynsj477OdmfU8CBeDbAdnwDTVXegWt72c/bV3lgcciEtGL71G//8mpo45Iak+wdRQnbbj8BpUoSaZj6kdXR5CyEI9qP1uKaWBXKPpqqoQ2oXA9vm4joQPFK9oI3f0fAxvWKGd4EVCzGpwJCjv418UwA9/jjhCtfj/FPh772lKqBlK3wWT0dJ5ljjZEzp4HT7lUPpUhc+ENV2g5nKBglM7aotE2AHGyXuWLjlLZHRipIkUpYm3Mgl12hKn5WzbhF0EhIATDczNES6gtToDXUYsmDFh+cN80kBWt6YUMeJqF6EJaL3HWRpdw81eiFr0ZhunsaHVMvZ9NG4BE804KKCwsChnR+nfJfopyKZfsPIgF7KGeS2xuRvAiaXinaCrPzk1HGeb3Sj3u78nuILojPvXVr4hXBAqA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR11MB4539.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(39860400002)(396003)(136003)(366004)(346002)(376002)(33430700001)(36756003)(8676002)(91956017)(86362001)(66556008)(76116006)(478600001)(66446008)(64756008)(186003)(83320400001)(5660300002)(83300400001)(66946007)(316002)(83280400001)(83310400001)(66476007)(83290400001)(6486002)(6506007)(6512007)(110136005)(8936002)(6636002)(26005)(2906002)(2616005)(71200400001)(33440700001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: Kvw1gfwUgIO/ry3juKoZRWhjIWWicM/sYMzSbdkeqU0mEpP66FxkeXONuXRxklD1S7RKrHkUsa21zJ9nhXANE344gn3WkUbDXgZGlNpcqU9FIMTxWiZdQ5lvhN2+XoYU783CXmhPuLbie4+W6rUjymHWhNxYdMj6Vgp7FnEkfdsS/E8jOn0Mm0lm6+4gpsGErNYgcQFIskaxcDPCILuri1UvsOj2KguD/5fVbW1Bc8IN2uzW9gL3EhXpG9Bxk2sieFNQiRrCsY9pm8wwOLzaEghssrpmhZFQh2wFHpHaPTNfAH2YxzU2uY+yW+MsxzN8fjErQIJVR0r+c7KI5Gbwnm/HRuPcluJY0gS+IGD6S8FAbXIB1pl+JGkGBhN0vFF4CACkrtx7ib7Uag1k9vloWCRjEPGmm20BIHtgUPXEeGSi165DkycBBUqcOhjOy+gXPHhoG3ctrFDhGfH93xfxJ1DFQH2TW9AGZu0Sgi5FEFkkoyM96zmpoZM9u8a2IbOkazOrFnnsMASG86jdXvuMCsKCkzfP8Sq6nGechFhoeQ/nn5v+Z697+2ttcSQz+lSho6vXkKrGpaxKYrUj0MPjVFMj03/L8wT3uGPCmd6+d3vqLJL5V+1xyEVxT7qduRIzcLe8RFqD93MBrfGj20JK5qWpDxGQnrnutLIAGSPnCyVZ38oPsGnFM36ini3t0jj4gqImGC0f75ua+aAywh0Ft5llC+jROAlUUrS6zJewzqRrLIK7ech+erwO69+Fy5+MriSFmWAJn8RlSuj6OHhswtV5oaf6fkjktaZZObk5ecg= Content-Type: text/plain; charset="utf-8" Content-ID: <5C7CBEA0DB93AA48B551AF212FECBEA4@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f8d449f2-d756-4421-4cf5-08d7f2983a04 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2020 15:06:31.6952 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KKfImD3Pg4FCEEviDw7jMS8szzuRfEpVaYDfCB62H/yw3zgNYj72PolJ730sTvFclxo4cvww5AXgcttT0Fsp8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4668 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org QXBwbGllZA0KDQpPbiBXZWQsIDIwMjAtMDUtMDYgYXQgMTQ6NDQgLTA3MDAsIEluZ2EgU3RvdGxh bmQgd3JvdGU6DQo+IFRoaXMgZml4ZXMgcGFyc2luZyBvZiBNb2RlbCBBcHBLZXkgTGlzdCAmIFZl bmRvciBNb2RlbCBBcHBrZXkgTGlzdA0KPiBtZXNzYWdlczogdGFraW5nIGludG8gYWNjb3VudCB0 aGUgcGFja3QgdGhhdCBBcHBLZXkgaW5kaWNlcyBhcmUgcGFya2VkDQo+IHR3byBpbiB0aHJlZSBv Y3RldHMuDQo+IA0KPiBBbHNvLCB3aGVuIHByaW50aW5nIGtleSBpbmRpY2VzLCBwcmludCBpbiBi b3RoIGRlY2ltYWwgYW5kIGhleGFkZWNpbWFsDQo+IGZvcm1hdHMuDQo+IC0tLQ0KPiAgdG9vbHMv bWVzaC1jZmdjbGllbnQuYyB8ICA2ICsrLS0NCj4gIHRvb2xzL21lc2gvY2ZnY2xpLmMgICAgfCA4 MCArKysrKysrKysrKysrKysrKysrKysrKysrKy0tLS0tLS0tLS0tLS0tLS0NCj4gIHRvb2xzL21l c2gva2V5cy5jICAgICAgfCAgNiArKy0tDQo+ICB0b29scy9tZXNoL3JlbW90ZS5jICAgIHwgIDYg KystLQ0KPiAgNCBmaWxlcyBjaGFuZ2VkLCA1OSBpbnNlcnRpb25zKCspLCAzOSBkZWxldGlvbnMo LSkNCj4gDQo+IGRpZmYgLS1naXQgYS90b29scy9tZXNoLWNmZ2NsaWVudC5jIGIvdG9vbHMvbWVz aC1jZmdjbGllbnQuYw0KPiBpbmRleCBkNzMxOGZmYjcuLmZlODJhOGJiZSAxMDA2NDQNCj4gLS0t IGEvdG9vbHMvbWVzaC1jZmdjbGllbn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