<p>fixeria <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmocom-bb/+/14692">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">trx_toolkit/ctrl_if_trx.py: implement TRXD header version negotiation<br><br>Messages on DATA interface may have different header formats, defined<br>by a version number, which can be negotiated on the control interface.<br>By default, the Transceiver will use the legacy header version (0).<br><br>The header format negotiation can be initiated by the L1 using the<br>'SETFORMAT' command. If the requested version is not supported by<br>the transceiver, status code of the response message should indicate<br>a preferred (basically, the latest) version. The format of this<br>message is the following:<br><br>  L1 -> TRX: CMD SETFORMAT VER_REQ<br>  L1 <- TRX: RSP SETFORMAT VER_RSP VER_REQ<br><br>where:<br><br>  - VER_REQ is the requested version (suggested by the L1),<br>  - VER_RSP is either the applied version if matches VER_REQ,<br>    or a preferred version if VER_REQ is not supported.<br><br>If the transceiver indicates VER_RSP different than VER_REQ, the L1<br>is supposed to reinitiate the version negotiation using the suggested<br>VER_RSP. For example:<br><br>  L1 -> TRX: CMD SETFORMAT 2<br>  L1 <- TRX: RSP SETFORMAT 1 2<br><br>  L1 -> TRX: CMD SETFORMAT 1<br>  L1 <- TRX: RSP SETFORMAT 1 1<br><br>If no suitable VER_RSP is found, or the VER_REQ is incorrect,<br>the status code in the response shall be -1.<br><br>As soon as VER_RSP matches VER_REQ in the response, the process<br>of negotiation is complete. Changing the header version is<br>supposed to be done before POWERON, but can be also done after.<br><br>Change-Id: I8d441b2559863d2dbd680db371062e4f3a2f9ff9<br>Related: OS#4006<br>---<br>M src/target/trx_toolkit/ctrl_if_trx.py<br>M src/target/trx_toolkit/data_if.py<br>2 files changed, 75 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/92/14692/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmocom-bb/+/14692">change 14692</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmocom-bb/+/14692"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8d441b2559863d2dbd680db371062e4f3a2f9ff9 </div>
<div style="display:none"> Gerrit-Change-Number: 14692 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>