Re: [6tisch] Typeof sixtop subIE:short or long
"pat.kinney@kinneyconsultingllc.com" <pat.kinney@kinneyconsultingllc.com> Mon, 18 January 2016 19:40 UTC
Return-Path: <pat.kinney@kinneyconsultingllc.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 167F61B3C60 for <6tisch@ietfa.amsl.com>; Mon, 18 Jan 2016 11:40:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.6
X-Spam-Level:
X-Spam-Status: No, score=0.6 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
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 LalziMwi25oZ for <6tisch@ietfa.amsl.com>; Mon, 18 Jan 2016 11:40:08 -0800 (PST)
Received: from p3plsmtpa08-04.prod.phx3.secureserver.net (p3plsmtpa08-04.prod.phx3.secureserver.net [173.201.193.105]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2B031B3C59 for <6tisch@ietf.org>; Mon, 18 Jan 2016 11:40:08 -0800 (PST)
Received: from [10.100.16.34] ([50.205.36.242]) by p3plsmtpa08-04.prod.phx3.secureserver.net with id 7Xg71s0085DTrhe01Xg7bJ; Mon, 18 Jan 2016 12:40:08 -0700
Content-Type: multipart/alternative; boundary="Apple-Mail=_A4E13EE2-8F5A-46C7-ACC0-A21EFFCB1601"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: "pat.kinney@kinneyconsultingllc.com" <pat.kinney@kinneyconsultingllc.com>
In-Reply-To: <CAAdgstTrMq8RALPKi+EpXsx5JWdO2CxBTUsX7YBcw1QQx1A_3A@mail.gmail.com>
Date: Mon, 18 Jan 2016 13:40:07 -0600
Message-Id: <6181EE71-BC3A-4465-854F-1418FC6FFA35@kinneyconsultingllc.com>
References: <86A12C46-388F-4099-9347-C7EAEF123E4B@kinneyconsultingllc.com> <645244049.3673071.1452546283479.JavaMail.yahoo@mail.yahoo.com> <CAAdgstRsut4X1MF5n5XVXKotj5Jrhy3EUNTvqP5nFZS1G8ihCA@mail.gmail.com> <CAAdgstTrMq8RALPKi+EpXsx5JWdO2CxBTUsX7YBcw1QQx1A_3A@mail.gmail.com>
To: Tengfei Chang <tengfei.chang@gmail.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/V0RxLINWqk4QH1XRWksWoDNMJMg>
Cc: thejaswi Chandrashekhar <c.thejaswi@samsung.com>, Palattella Maria Rita <6tisch@ietf.org>, Plugtests <Plugtests.Plugtests@etsi.org>
Subject: Re: [6tisch] Typeof sixtop subIE:short or long
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jan 2016 19:40:11 -0000
As per 802.15.4-2015, the only time the Payload Termination IE is required is when both the Payload IE and Data Payload are present. Given that there is no payload following the 6P payload IE, the terminator may be omitted. Pat On 18, Jan2016, at 13:19, Tengfei Chang <tengfei.chang@gmail.com> wrote: Hi all, Sorry to ask question again on the recommends document! I still have a question about why the payload IE is terminated by a termination IE? According to the IEEE802.15.4e-2012 on section 5.2.4.22. 5.2.4.22 IE List Termination IE ...... If an unformatted payload follows the Payload IE list, then the payload IE list is terminated with a list termination IE (ID = 0xf) that has a content length of zero. Otherwise the terminator may be omitted Since there is no payload following the 6P payload IE, the terminator may be omitted. Is there specific reason why we don't do that? Let me know if this is already discussed somewhere so I can refer to. Thanks! Regard, Tengfei On Sun, Jan 17, 2016 at 8:50 PM, Tengfei Chang <tengfei.chang@gmail.com <mailto:tengfei.chang@gmail.com>> wrote: Thanks all for the comments! Then we will use the recommended format (second one) on the plugtest! Tengfei On Mon, Jan 11, 2016 at 10:04 PM, Qin Wang <qinwang6top@yahoo.com <mailto:qinwang6top@yahoo.com>> wrote: I think both of the two format are fine. But, if IEEE802.15 recommends the second one, I think we should choose the second. Thanks Qin On Monday, January 11, 2016 11:17 AM, "pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com>" <pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com>> wrote: Thank you for the figures, I agree on both, especially the second one. The advantages of the recommended approach are: one octet shorter for case of single subtype ID and 256 available subtype ID addresses for any length. Sincerely, Pat On 11, Jan2016, at 9:19, Tengfei Chang <tengfei.chang@gmail.com <mailto:tengfei.chang@gmail.com>> wrote: Hi Pat, all, I would like to make sure whether this format will be the right format for the plugtest and everyone will agree. The attached is the document 15-15-0939-02. There are two options for the format we will use in the plugtest: 1. we use what defined in https://tools.ietf.org/html/draft-wang-6tisch-6top-sublayer-04 <https://tools.ietf.org/html/draft-wang-6tisch-6top-sublayer-04>, which use the format defined in IEEE802.15.4e-2012, section 5.2.4.3 (page 81). If we decide to use this one, we need short/ long type of the subIE. Bits: 0-10 11-14 15 Octets: 2 32-35 36-39 40-47 Octets Bits: 0-10 11-14 15 Payload IE Content Length Group ID Type (0b1) Length Sub-type ID Type Ver Code SFID other field Length (0x00) Group ID (0xf) Type (0b1) Payload IE Payload IE Content Payload Termination IE 2. we use what define in document 15-15-0939-02, which use the format defined in last page of the document: For example the 6P command defined in sublayer draft: the payload will be: Bits: 0-10 11-14 15 16-23 24-27 28-31 32-39 octets Bits: 0-10 11-14 15 Payload IE Content Length Group ID Type (0b1) Sub-type ID Ver Code SFID other field Length (0x00) Group ID (0xf) Type (0b1) Payload IE Payload IE Content Payload Termination IE Do we agree on the second one? Tengfei On Fri, Jan 8, 2016 at 5:56 PM, Tengfei Chang <tengfei.chang@gmail.com <mailto:tengfei.chang@gmail.com>> wrote: I see. Thanks a lot Pat for the information! I found the document you mentioned. I will update the format in the Golden Images. Have a good day! Tengfei On Fri, Jan 8, 2016 at 5:25 PM, pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com> <pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com>> wrote: Tengfei; The IEEE 802.15 IG 6T recommended a format for sub-IEs in document 15-15-0939-02 sent to this reflector on 30 November 2015. The following is an excerpt from that document: "Accordingly, the IEEE 802.15 IG 6T recommends that the IETF use an alternate scheme that restricts each Payload IE to only one sub-type ID and content, i.e. no nesting. The advantages of this recommended scheme is that it eliminates one octet from the total Payload IE, it allows a full 256 sub-type IDs, and each sub-type length can be up to 2046 octets.” Therefore, if 6tisch adopts the above recommendation, there would be no long or short types. Pat Pat Kinney Kinney Consulting LLC IEEE 802.15 WG vice chair, SC chair ISA100 co-chair, ISA100.20 chair O: +1.847.960.3715 <> pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com> On 8, Jan2016, at 10:14, Tengfei Chang <tengfei.chang@gmail.com <mailto:tengfei.chang@gmail.com>> wrote: Hello all, As I mentioned on the Call, the 6top sublayer draft seems didn't define the type of subIE used by 6P command ,long or short type? Let me know if I missed it from the draft! Thanks you! Regard, Tengfei _______________________________________________ 6tisch mailing list 6tisch@ietf.org <mailto:6tisch@ietf.org> https://www.ietf.org/mailman/listinfo/6tisch <https://www.ietf.org/mailman/listinfo/6tisch> <15-15-0939-02-0000-IETF_6tisch_IE_Information.docx> _______________________________________________ 6tisch mailing list 6tisch@ietf.org <mailto:6tisch@ietf.org> https://www.ietf.org/mailman/listinfo/6tisch <https://www.ietf.org/mailman/listinfo/6tisch> _______________________________________________ 6tisch mailing list 6tisch@ietf.org https://www.ietf.org/mailman/listinfo/6tisch
- Re: [6tisch] Typeof sixtop subIE:short or long Tengfei Chang
- [6tisch] Typeof sixtop subIE:short or long Tengfei Chang
- Re: [6tisch] Typeof sixtop subIE:short or long pat.kinney@kinneyconsultingllc.com
- Re: [6tisch] Typeof sixtop subIE:short or long Tengfei Chang
- Re: [6tisch] Typeof sixtop subIE:short or long pat.kinney@kinneyconsultingllc.com
- Re: [6tisch] Typeof sixtop subIE:short or long Qin Wang
- Re: [6tisch] Typeof sixtop subIE:short or long Tengfei Chang
- Re: [6tisch] Typeof sixtop subIE:short or long Tengfei Chang
- Re: [6tisch] Typeof sixtop subIE:short or long pat.kinney@kinneyconsultingllc.com
- Re: [6tisch] Typeof sixtop subIE:short or long Tengfei Chang