<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
h1
        {mso-style-link:"Heading 1 Char";
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.3in;
        text-indent:-.3in;
        page-break-before:always;
        page-break-after:avoid;
        mso-list:l1 level1 lfo1;
        font-size:14.0pt;
        font-family:"Times New Roman",serif;
        text-transform:uppercase;}
h2
        {mso-style-link:"Heading 2 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.4in;
        text-indent:-.4in;
        page-break-after:avoid;
        mso-list:l1 level2 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        text-transform:uppercase;}
h3
        {mso-style-link:"Heading 3 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        text-indent:-.5in;
        page-break-after:avoid;
        mso-list:l1 level3 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        text-transform:uppercase;}
h4
        {mso-style-link:"Heading 4 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:45.0pt;
        text-indent:-45.0pt;
        page-break-after:avoid;
        mso-list:l1 level4 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
h5
        {mso-style-link:"Heading 5 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.75in;
        text-indent:-.75in;
        page-break-after:avoid;
        mso-list:l1 level5 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
h6
        {mso-style-link:"Heading 6 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:63.0pt;
        text-indent:-63.0pt;
        page-break-after:avoid;
        mso-list:l1 level6 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
        {mso-style-link:"Heading 7 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:1.0in;
        text-indent:-1.0in;
        page-break-after:avoid;
        mso-list:l1 level7 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        font-weight:bold;}
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
        {mso-style-name:"Heading 9\,Index Heading 1";
        mso-style-link:"Heading 9 Char";
        margin:0in;
        text-align:center;
        text-indent:0in;
        page-break-before:always;
        page-break-after:avoid;
        mso-list:l1 level9 lfo1;
        font-size:14.0pt;
        font-family:"Times New Roman",serif;
        font-weight:bold;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.Paragraph6Char
        {mso-style-name:"Paragraph 6 Char";
        mso-style-link:"Paragraph 6";}
p.Paragraph6, li.Paragraph6, div.Paragraph6
        {mso-style-name:"Paragraph 6";
        mso-style-link:"Paragraph 6 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        text-align:justify;
        text-indent:0in;
        line-height:14.0pt;
        mso-list:l1 level6 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:345523698;
        mso-list-template-ids:1175616160;}
@list l0:level1
        {mso-level-start-at:4;
        mso-level-text:%1;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:51.0pt;
        text-indent:-51.0pt;}
@list l0:level2
        {mso-level-start-at:4;
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:51.0pt;
        text-indent:-51.0pt;}
@list l0:level3
        {mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:51.0pt;
        text-indent:-51.0pt;}
@list l0:level4
        {mso-level-start-at:2;
        mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:51.0pt;
        text-indent:-51.0pt;}
@list l0:level5
        {mso-level-start-at:3;
        mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.75in;}
@list l0:level6
        {mso-level-start-at:4;
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.75in;}
@list l0:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.0in;
        text-indent:-1.0in;}
@list l0:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.0in;
        text-indent:-1.0in;}
@list l0:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.25in;
        text-indent:-1.25in;}
@list l1
        {mso-list-id:756947936;
        mso-list-template-ids:-808692178;
        mso-list-name:HeadingNumbers;}
@list l1:level1
        {mso-level-style-link:"Heading 1";
        mso-level-text:%1;
        mso-level-tab-stop:.3in;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:14.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level2
        {mso-level-style-link:"Heading 2";
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:.4in;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level3
        {mso-level-style-link:"Heading 3";
        mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level4
        {mso-level-style-link:"Heading 4";
        mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:45.35pt;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level5
        {mso-level-style-link:"Heading 5";
        mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:.75in;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level6
        {mso-level-style-link:"Heading 6";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:63.35pt;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level7
        {mso-level-style-link:"Heading 7";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level8
        {mso-level-number-format:alpha-upper;
        mso-level-suffix:none;
        mso-level-text:"ANNEX %8";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:14.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level9
        {mso-level-start-at:9;
        mso-level-number-format:alpha-upper;
        mso-level-style-link:"Heading 9";
        mso-level-suffix:none;
        mso-level-text:%9NDEX;
        mso-level-tab-stop:none;
        mso-level-number-position:center;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:14.0pt;
        mso-ascii-font-family:"Times New Roman";
        mso-hansi-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l2
        {mso-list-id:949048172;
        mso-list-type:hybrid;
        mso-list-template-ids:-552204368 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l2:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hallo Stefan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thanks for your questions. They are always welcome. I always encourage everyone to think about “edge cases”.<o:p></o:p></span></p>
<p class="Paragraph6" style="margin-left:.75in;text-indent:-.75in;mso-list:l0 level6 lfo2">
<![if !supportLists]><i><span style="mso-list:Ignore">4.4.1.2.3.4<span style="font:7.0pt "Times New Roman""> 
</span></span></i><![endif]><i>When the value in the TFDZ construction rule is ‘000’ binary, and when no packet starts nor ends within the TFDZ, then the FHP shall be set to binary ‘all ones’.<o:p></o:p></i></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">We created USLP 4.1.4.2.3.4 to deal with the following issues:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l2 level1 lfo3"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">When a packet spans multiple transfer frames, we need a way to identify to the user, that the FHP value can’t be used
 to find the start of the packet in that given frame, because the packet doesn’t start nor end in that given frame i.e., the frame contains the data portion of a packet.<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l2 level1 lfo3"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">No problem with saying, “when no packet starts within the Transfer Frame Data Zone (TFDZ)”, that is similar in logic
 to AOS SDLP.<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l2 level1 lfo3"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Now, let’s examine the rest of the statement, “nor ends within the TFDZ”. This is where USLP goes beyond the logic specified
 by AOS SDLP. Because, AOS does not deal with the following: This part of the statement was written with the intent of eliminating the cases, in which a packet would end in the TFDZ, but there would be no mechanism available to the user to fill the remainder
 of the TFDZ, if the amount of fill is less than 7 octets in the case of SPP, or less than 1 octet in the case on EPP.  If one uses SPP (Space Packets), then the smallest Space Packet that could be used to fill out the remainder of the TFDZ would be 7 octets
 (6 octets of Primary Header plus 1 octet of data). This minimum size is the mandatory minimum per the Space Packet Protocol. As far as I know, all CCSDS agencies still exclusively use the Space Packet and do not implement encapsulation packets. Now, if one
 chooses to use Encapsulation Packets as the fill packet mechanism, then the minimum size is 1 byte per the Encap Packet Protocol (1 byte header only). Also one can use multiples of that 1 byte Encap packet to fill out the remainder of the TFDZ.<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l2 level1 lfo3"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Given all of points 1 through 3 for background, let’s tackle your specific case, “</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">when
 a packet started in a previous frame and ends exactly at the end of the current TFDZ, filling it completely”. So in this frame no packet starts, so the FHP value does not have a legitimate value, so we use the ‘all ones’ convention to convey that meaning.
 That is the correct behaviour for setting the FHP. The fact that the packet ends in that TFDZ means that the user has nothing more to do with this frame, i.e., the user doesn’t need to fill the remainder of that TFDZ with anything. I think the confusion is
 when you state, “since there is no place for another packet”. But there is no problem with there being no more space in the TFDZ in this case. The bigger problem that USLP did address that AOS did NOT address, is when there is a small remainder left in the
 data field of a frame that the user cannot fill, so the transfer frame maker on-board the spacecraft, has to avoid the nasty edge cases of less than 7 octets remaining when space packets are used (encap packet is much more flexible, but as I mentioned, I don’t
 think any agency has implemented them yet !)</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></li></ol>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Are you good with this explanation ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Greg<o:p></o:p></span></p>
<p class="Paragraph6" style="mso-list:none"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="DE" style="font-family:"Calibri",sans-serif;color:black">From:
</span></b><span lang="DE" style="font-family:"Calibri",sans-serif;color:black">"Stefan.Veit@dlr.de" <Stefan.Veit@dlr.de><br>
<b>Date: </b>Tuesday, November 7, 2023 at 3:09 AM<br>
<b>To: </b>"Kazz, Greg (US 312B)" <greg.j.kazz@jpl.nasa.gov>, "sls-slp@mailman.ccsds.org" <sls-slp@mailman.ccsds.org><br>
<b>Subject: </b>[EXTERNAL] USLP: Question from yesterday<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hello all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">sorry to bother you again with the question discussed yesterday at the end of the meeting (4.1.4.2.4.4: When the value in the TFDZ construction rule is ‘000’ binary, and when
 no packet starts nor ends within the TFDZ, then the FHP shall be set to binary ‘all ones’.) for fixed length frames.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Ignacio, you stated that a packet that ends within the current TFDZ (and no further packet is available) shall be followed by an Encapsulation Idle Packet (4.1.4.3.4).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">What about the very special situation when a packet started in a previous frame and ends exactly at the end of the current TFDZ, filling it completely? Then, since there is
 no place for another packet, the FHP would be set to “all ones” and this contradicts the wording “NOR ENDS” in the statement above, doesn’t it? Or is there again an alternative to the all ones? However, this seems to be no exclusive statement, (other all-one-scenarios
 are allowed), so maybe we can cover this scenario with an additional sentence?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I hope this was the last special case -)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thank you and Kind Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
</div>
</body>
</html>