[core] Block-wise coap vs. options

Geiger Pavel <pavel.geiger@jablotron.cz> Mon, 07 October 2019 13:15 UTC

Return-Path: <pavel.geiger@jablotron.cz>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AEC71200CD for <core@ietfa.amsl.com>; Mon, 7 Oct 2019 06:15:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.897
X-Spam-Level:
X-Spam-Status: No, score=-0.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_16=1.092, HTML_MESSAGE=0.001, HTML_SHORT_LINK_IMG_2=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jablotron.cz
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vOSuBPkbCg1I for <core@ietfa.amsl.com>; Mon, 7 Oct 2019 06:15:11 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130058.outbound.protection.outlook.com [40.107.13.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 578061200CC for <core@ietf.org>; Mon, 7 Oct 2019 06:15:11 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A9Ey/JrUrINl7vn+yDfOZjORYvXDOv6JE2Q9u1SebOL604acscMGEf+2M8e/fJoHiRJVKeLx4IryZZir4tY8RlUigw8VWODDmG052cSsFBkfAHbMsvqEGgorhBYETITGl5M5au3K4e1DfGQiUX7Ok7VMQKoc9O2xA69HwDJbI/17NVzBCaLHDvcDv/dQezTqqyvzcGOzgwIUU1vnjauAV4eYeywBs0IvRkU/Hwvp/t3q/BcigzrzY9d4m4Quy9+Dv1uf0jqY+GUmvB/AJp08Iug0I82E1VJ0quzJtxd0Ne46PCC1r/TQ2DtRaKE3ur1dViBVphvvaIWKNy2OZpqxtg==
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=7WD/CnVakFbbRuSsHBoFmmgxDZ9K73HqgSHUQueJeos=; b=O/p9LGQRoXXFjwKy2deVgzBFFHESE2TE+RI+NVTbVKxa1ZAVZDZ27uH247xYlsbA8MmBL5PeX2UuSs+lIEBUxd5pyaHjR+W2RVT3BJs8kSO+utX8Qh3bs8fmMMPtfpBgIemmMY6Vl2ER+R21cJaLYojAJ8K2+xlQwSX3lWQkuiAgtdmM/2VtOX12gGbGalp5DNE4OKQFPpWUx/RgBUwUlZgsYKDfcCvslfH29h/AiIYDH6MeBGR5hNGxnaGhksYFuNGkKT4gVJdyT8NZ0+1DdBPrAukRagYfOGx7XsG55mZTUr3pjMICvguxfpSTG6DMwADMQt0bxe9ZpOF3iDWP9g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jablotron.cz; dmarc=pass action=none header.from=jablotron.cz; dkim=pass header.d=jablotron.cz; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jablotron.cz; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7WD/CnVakFbbRuSsHBoFmmgxDZ9K73HqgSHUQueJeos=; b=eWKlnvPNCsDSh8rhFlLuUkTa5S4eDJluTvs3xunh6V/2rG8M7v5BctHoiKrDQutH51isz7qWwpENlMP7PCRX4jUvkjcTWMewRB25iagrSzcy1f+MCgWhbeIQfrEVQVuiIYUyT+DdxFs2TAZlP/igaIXcQ76pdP0RDZsvsnuPthY=
Received: from VI1PR03MB5134.eurprd03.prod.outlook.com (20.178.81.95) by VI1PR03MB5070.eurprd03.prod.outlook.com (20.178.80.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2327.24; Mon, 7 Oct 2019 13:15:06 +0000
Received: from VI1PR03MB5134.eurprd03.prod.outlook.com ([fe80::909c:a3e4:88be:ab41]) by VI1PR03MB5134.eurprd03.prod.outlook.com ([fe80::909c:a3e4:88be:ab41%7]) with mapi id 15.20.2327.023; Mon, 7 Oct 2019 13:15:06 +0000
From: Geiger Pavel <pavel.geiger@jablotron.cz>
To: "core@ietf.org" <core@ietf.org>
Thread-Topic: Block-wise coap vs. options
Thread-Index: AQHVfRE8ua5nZ8dwiUa42NZyAUmLrg==
Date: Mon, 07 Oct 2019 13:15:06 +0000
Message-ID: <03e317ad57993f9d2c059a951e25958042a82be1.camel@jablotron.cz>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pavel.geiger@jablotron.cz;
x-originating-ip: [80.188.42.242]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bbec56e6-863c-4283-897c-08d74b285f28
x-ms-traffictypediagnostic: VI1PR03MB5070:|VI1PR03MB5070:|VI1PR03MB5070:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <VI1PR03MB5070632B01FB22561F0D8C38FB9B0@VI1PR03MB5070.eurprd03.prod.outlook.com>
x-ld-processed: ea6fbca5-8ed4-458a-9f6c-08dcd6f9e965,ExtAddr
x-ms-exchange-transport-forked: True
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-forefront-prvs: 01834E39B7
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39850400004)(366004)(346002)(376002)(199004)(189003)(2906002)(66946007)(66446008)(64756008)(66556008)(66476007)(118296001)(36756003)(99286004)(5660300002)(86362001)(4744005)(91956017)(76116006)(3846002)(347775010)(6116002)(102836004)(6506007)(186003)(26005)(2501003)(71190400001)(71200400001)(2351001)(316002)(25786009)(81156014)(8676002)(861006)(14454004)(478600001)(486006)(6486002)(81166006)(8936002)(606006)(1730700003)(2616005)(476003)(6306002)(54896002)(236005)(733005)(6512007)(6436002)(5640700003)(7736002)(6916009)(256004)(66066001)(151413002)(71440200001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR03MB5070; H:VI1PR03MB5134.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: jablotron.cz does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: qdhA5rR0FfELuqu6T7+DSrpqvn/oqbBrAzjvFE4BhgBcjEW/N/XkGQ37URUUgK472eSRgth/Sc4JxE6T+o1vh/y7rCJJeDSqHD0comn1uiRx2JujSb/UdDwIyl46eH2FuAO69Vzprmn9vWtMep8TGzdzNlthbXnwnwqnOwJnbq92+Bk4+4OJPcZ+1lLbAviPWyTWsjy0azm3/yohcUZpnoRwKtcc0Xb1qacBgMM48cdK3TLVi5XOIWuT5dHugQ3jieOc4H3OUczqLGX+khjZ33hYm2N6ZJhdMbz50NrhiOrF3Pz2rrIipx4gvURclQ+bTOZUVdTNGA1U+NEclZxNjp1DXYpZFO6nSMu5c9GnL4fzF2KzkJnLrd9MOsNyUW1kw1KmT6FlfQOlQdrkWp60i9A0iSnUxaIuFV8+A5eaIRt2O74CauUQnt9R3CAouqlItKshUeRCQjp55JNK+Q68YA==
Content-Type: multipart/alternative; boundary="_000_03e317ad57993f9d2c059a951e25958042a82be1cameljablotronc_"
MIME-Version: 1.0
X-OriginatorOrg: jablotron.cz
X-MS-Exchange-CrossTenant-Network-Message-Id: bbec56e6-863c-4283-897c-08d74b285f28
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2019 13:15:06.2192 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ea6fbca5-8ed4-458a-9f6c-08dcd6f9e965
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: KFU4b/+Ul4j1+mQF6iqenviXll2VeM4M/KWKS4R/2J7N9PVF1M2ZV8Mav7A8xixK10hGpBx2gY8w+axFP2amxvcDnOPhRg92Sa0Yq20Cou0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR03MB5070
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/hRESRba7uRyB0yCLer3TpBjoFjw>
X-Mailman-Approved-At: Mon, 07 Oct 2019 08:29:52 -0700
Subject: [core] Block-wise coap vs. options
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Oct 2019 13:16:17 -0000

Hi, we have implemented CoAP library with support for block-wise coap. What we have problem with is, that block-wise coap doesnt fragment options. By our understanding they are still transfered together in single CoAP datagram. Therefore, if we have CoAP option with payload larger than MTU (for example uri-query), there is no way, how to transfer it reliably with respect to the MTU. Is this right, or do we have some misunderstanding about CoAP or its block-wise version? Thank you very much for response.


--

Best regards

Pavel Geiger
CLOUD RT Zone Developer

pavel.geiger@jablotron.cz<mailto:pavel.geiger@jablotron.cz> | www.jablotron.cloud<https://www.jablotron.cloud>

[JABLOTRON CLOUD SERVICES]<https://www.jablotron.cloud>