<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[DLMS Block Transfer (Get-Request-Next) Pagination & Window Flow Control]]></title><description><![CDATA[<h3>Managing Large PDU Payloads via Block Transfer</h3>
<p dir="auto">When a response exceeds the maximum PDU size negotiated in AARQ (<code>max_pdu_size</code>, typically 1024 or 2048 bytes), the meter fragments the response into blocks using <code>Get-Response-With-Block</code> (Tag <code>0xC4 0x02</code>).</p>
<h4>Block Transfer Sequence</h4>
<ol>
<li>Client -&gt; <code>Get-Request-Normal</code> (Requesting Association View <code>0.0.40.0.0.255</code>)</li>
<li>Meter -&gt; <code>Get-Response-With-Block</code>:
<ul>
<li><strong>Last Block Flag</strong>: <code>0x00</code> (More blocks follow)</li>
<li><strong>Block Number</strong>: <code>0x00000001</code></li>
<li><strong>Raw Data Chunk</strong>: (e.g. 1000 bytes)</li>
</ul>
</li>
<li>Client -&gt; <code>Get-Request-Next</code>:
<ul>
<li><strong>Block Number</strong>: <code>0x00000001</code> (Acknowledging block 1 and requesting block 2)</li>
</ul>
</li>
<li>Meter -&gt; <code>Get-Response-With-Block</code>:
<ul>
<li><strong>Last Block Flag</strong>: <code>0x01</code> (Final block)</li>
<li><strong>Block Number</strong>: <code>0x00000002</code></li>
</ul>
</li>
</ol>
<p dir="auto">If the client receives a corrupted block (HCS/CRC error), it must re-send <code>Get-Request-Next</code> with the last successfully received block number to request a retransmission.</p>
]]></description><link>https://dlms.sharur.org/topic/18/dlms-block-transfer-get-request-next-pagination-window-flow-control</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 19:49:50 GMT</lastBuildDate><atom:link href="https://dlms.sharur.org/topic/18.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Aug 2026 12:33:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLMS Block Transfer (Get-Request-Next) Pagination & Window Flow Control on Sat, 22 Aug 2026 12:33:20 GMT]]></title><description><![CDATA[<p dir="auto">In the meter firmware, we maintain a 30-second block transfer inactivity timer (<code>t_inactivity</code>). If the client does not acknowledge the current block within 30 seconds, the meter cleans up the buffer allocation to prevent memory leaks.</p>
]]></description><link>https://dlms.sharur.org/post/37</link><guid isPermaLink="true">https://dlms.sharur.org/post/37</guid><dc:creator><![CDATA[elena_rostova]]></dc:creator><pubDate>Sat, 22 Aug 2026 12:33:20 GMT</pubDate></item></channel></rss>