Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1349891ybk; Thu, 14 May 2020 06:56:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY55tj5ruxEIsUt+uTP7I2/eRlgeKVk4s96ZjqZ9Z63ulld32I+nokcAzeEo23D/WBYxUL X-Received: by 2002:a17:906:f75b:: with SMTP id jp27mr4058631ejb.141.1589464571844; Thu, 14 May 2020 06:56:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589464571; cv=pass; d=google.com; s=arc-20160816; b=0LthEiE36k+XwlqBYAtPtJo5efMlb2pVaSOS5ZyNjnI5qAelfiz9ZN0DzXR8TlxLSI 7u33yqq6wcIddQILsdQgNDklj7VpSc4GKYOKUcL6QeQtIQ+pKJ2W2wOfGgQUFAcfYNd2 RvElO6aREiJ8X4PLecPjcQZWOtlZ1KfLHp1/cvA84znuRYhlGDVnwC7k63Dc0dyjQebU xPmA/Ifhp+KkAnGzp3Wog8CS982DWvdKTFpXxPwAIGZoaYeRZU8pRCgXNyMWzcsWPEcS TiizG68sboATt+I3wOk8EA5dXjp0wWAcLXauAuf6kgEbmddGDxacoKNrZWZEqCWX0ITx eqTg== 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:cc:to :from:dkim-signature:ironport-sdr:ironport-sdr; bh=x/59NfSQE3vTCoU8Vuv5gmwPQIUX74vdN1zbLJGB4IY=; b=tSN+Y20pAYwp7pmCjYrG9LePCKNaqlZfYhO1JmTkC25/9iAijNV01zLbemh+HeyQ5L dk3y7QCzpl3fVSGA3W/fPDsw6xqTqmenUgQkBglk0TxZXIAY9JCk/6ZI3Wh1a/uhKaUZ SpTM93fQ1oyXX1NDt/gsY/s3Y3f3eWao7vW6z+SRcR7zt9pgneZDOs2QhHvZWDR2pHxB mAca7m6Fz6clVAGgoCf/ZQNvisA3KDzKdXzcyeG59XimMEi6RolWu2Oya9S3zD3DDhWA Xz+ghFWtkZ1JrG39MRspJkcCVBJvD++NitavSvGR6aAy617g1HO2WRjxGf5Q6ZHReZTn 1aJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b="Q6eJHQv/"; 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 f1si1628086eds.384.2020.05.14.06.55.30; Thu, 14 May 2020 06:56:11 -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="Q6eJHQv/"; 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 S1726190AbgENNzB (ORCPT + 99 others); Thu, 14 May 2020 09:55:01 -0400 Received: from mga01.intel.com ([192.55.52.88]:46571 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbgENNzA (ORCPT ); Thu, 14 May 2020 09:55:00 -0400 IronPort-SDR: SLHnAn+b27gewjGtwROMm4FU36tMRLM1OgU1vWfUZwwjxnDSqQoBWVZuF/uaWHv7eFETCLWc8O P40HZqbW8fYQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2020 06:54:59 -0700 IronPort-SDR: f5bP1xhMBa6/eba6DMrXYek/Gzx9ikkSCIiBnj6rgfDhxgG6K0sYBq3R4SSw6RILvEYc8CbyCG tViUul74Osig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,391,1583222400"; d="scan'208";a="280861654" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 14 May 2020 06:54:59 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 14 May 2020 06:54:59 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 14 May 2020 06:54:58 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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, 14 May 2020 06:54:58 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 14 May 2020 06:54:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZNNXnqYhNBoAN13C3XyOTozPvMVPsyUmT8cdf72kjRlSxMu3CYAbCKRSiWtMogf1/3Dgv3zPpNwsrNRby8QAwgbZx9inu4DcV5X8jW1fOw5VqI3kFdZJNZN8yAXavIq1lPEp+xOke6L3OacJ3Ws4T8zcUj9/p+wKtiSv+fYFmnHdINL/YEzqmzCFeiB/mwGTWMFBHdmwcmFAKa89UIbXjHzEnVVX8ak7LFBm2pGuBUh9VM/voA0CAIZxZRJKhqab3OyqlIs786VvcHfwtuICtix7Riu/H2BOsskjOrd6DMf7DPe/Xpfi6MV4zPGXKbJqut4lggST50ScBERQPcP+qA== 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=x/59NfSQE3vTCoU8Vuv5gmwPQIUX74vdN1zbLJGB4IY=; b=LW9l4BqF1PitcLDeIUgT/zGyaaJHQ5/knWqBRCEwqTvC5LNHv6iB5UNFfTykxZq+YiYzFuGrGj23001si664tyerukM45g4TCCWAxjmOjegRM+oHeN5bADw4h5R7GOGoqvolBqHRgxzAkuCuDxeVoS8X1B7hIEIi89aUxB/OGLwVxfC42gIDHnCJJ7DM1H+m/fM7qS1p5/JM2BEDKaUpXt5eLVxkOsTo9QHZKreQE65SGke72PTYi6wc/nL/byEn8pEqCXGgLqGMsJ8R44SGhjb3FXD4dFequWeIlFOMwPgqxBj3xDf0nlhSeQoNC+OJmiwMe4sq2MEWapG3Kx9J6g== 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=x/59NfSQE3vTCoU8Vuv5gmwPQIUX74vdN1zbLJGB4IY=; b=Q6eJHQv/vhajlCWbccb0WtVolIz4vm+n+w4rnddEQvBoFiC4sBpqLlWJ1LCbGAZWTrv4ITctH3UnFKfN+HTbmmwo0uEi9wfFp4w3BnHeq5773ih8A4Ntfx9iz4wipagwKVwXNmw2Hq3zvKhm226FoLO0l5U9RgykbxeDLnIvxVE= Received: from MW3PR11MB4539.namprd11.prod.outlook.com (2603:10b6:303:2f::13) by MW3PR11MB4585.namprd11.prod.outlook.com (2603:10b6:303:52::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.26; Thu, 14 May 2020 13:54:57 +0000 Received: from MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::5b4:500e:f6a0:1ac0]) by MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::5b4:500e:f6a0:1ac0%5]) with mapi id 15.20.2979.033; Thu, 14 May 2020 13:54:56 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" CC: "testtgsh@gmail.com" Subject: Re: [PATCH BlueZ] test: Fix payload and model opcode packing in test-mesh Thread-Topic: [PATCH BlueZ] test: Fix payload and model opcode packing in test-mesh Thread-Index: AQHWKZZnVm0vDvk/uEumTKyI8Z4/wKinm1MA Date: Thu, 14 May 2020 13:54:56 +0000 Message-ID: References: <20200514022033.52864-1-inga.stotland@intel.com> In-Reply-To: <20200514022033.52864-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.55.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 48b5d3bf-ef43-4986-d635-08d7f80e62f5 x-ms-traffictypediagnostic: MW3PR11MB4585: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-forefront-prvs: 040359335D x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DXVoogF9BtsYGdOvrODBO2QWnv86UsjQVXFGP7qQZ79YjcUHTiZ1Fq611i7EvOKSAnEhr6H502Ko6xc+M9dE7NpdjiCcU2jWeRKmhPF6G+k2XWUqmHgvTm1LRVNYGaRDtOFS7VgFbZDIF4QnMhvtrYDt+/ifw4ZNQhAgMbAZEI1NEgR1a5d5Sa48qLs9IHRnPJIib8PCYd9sTl3Biio4T5iuDLUMDSTPbOlt7cqq8a/7YV50uyEC5PsMnyR2Co75GJtzW9os0qNEdOgSq40sXrpl7ORWBsjGby9bFY+YBiLkGBSAihhBYyNDYW6U2dOTCvZ22Mkz1CvLtOP01NToZ9hZ2QkJw6HR68h8Xm4RgvC0nWG7nhlcluJxv0zECHmN+VZ6iyl5/uCFu0EaI+Clz8aMwXBprdNHzLklG0WoH0ZLStajnpontHv/E+6a4NQY 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)(366004)(346002)(136003)(376002)(316002)(4326008)(36756003)(6512007)(8676002)(2906002)(478600001)(6486002)(8936002)(2616005)(26005)(186003)(86362001)(6636002)(71200400001)(5660300002)(110136005)(64756008)(66446008)(66556008)(66476007)(66946007)(76116006)(91956017)(6506007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: plEF3CnrD3lgpwtXltx7Th8KDDPX9bZINhSpZAy3+yr+C6B8sN72dMGRDjSHKIHOgfrHCSdWN8Bp42U9rN14AttfsCKBfAQ9Dot/9ew/ponTmE4i/KwZkTbfj5LBRLOCKtmnx9EiynaFGRqisR4yNR6MoOSrT4pswpghRYjcH1kK7FlhwBuXS8O7cPHat37ej7fwzND0imlvEbSWfVvPNSAr2CJemP2OdfiJTolzspFOTWSqMcYcSuyf9iH5OIyHB6DvT454UTmfhOYmgyiHzE1wxQim+tt+O1N0F8XV34NOjxVNNXm/2Y0SbPJbTVfGwyTLumkc/AmtuIzR+cQQisGLgXp+7U2NwVn212ZY0WdjVccBiFdBRVJ+jN/xSUU3MdYMYbPv5lOOHrQAYSrXlhjs9T0LIZYrPtgKahoQrxz+xXFijsLyfTQKTpVuU8gFQpWpoN2a3KBCpYWp6VOHMUVv9olz4r0EJl33TyI6d9s= Content-Type: text/plain; charset="utf-8" Content-ID: <2DE4C2724EE44E4D84D5318398F8E5CF@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 48b5d3bf-ef43-4986-d635-08d7f80e62f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2020 13:54:56.8678 (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: BYZWyKSuHBkZqYDtViuXxot4k4bIpTYz78MSzO/5kscdnP4RWAvOg3lKwGUyDW+3xivRhH/Ch22BXA8uKXnYpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4585 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org QXBwbGllZA0KT24gV2VkLCAyMDIwLTA1LTEzIGF0IDE5OjIwIC0wNzAwLCBJbmdhIFN0b3RsYW5k IHdyb3RlOg0KPiBVc2UgY29ycmVjdCBwYWNraW5nIG9mIG11bHRpLWJ5dGUgdmFsdWVzIGluIG1l c3NhZ2UgcGF5bG9hZCBieXRlYXJyYXkuDQo+IEZvciBleGFtcGxlLCBhIDItYnl0ZSBvcGNvZGUg MHg4MjA0IGlzIHBhY2tlZCBhcyAweDgyIDB4MDQsIGkuZS4gaW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