<p style="white-space: pre-wrap; word-wrap: break-word;">The protocol version is increased because the PCUIF protocol changes at the point where we transmit the SI13 message.</p><p style="white-space: pre-wrap; word-wrap: break-word;">We currently use the SAPI4 only for updating or revoking the SI13. The revoking of the SI13 works by sending an empty message. To extend this to a protocol where we are able to update or revoke SI1, SI3 or SI13 at the same time we need some extension. I did it the following way:</p><p style="white-space: pre-wrap; word-wrap: break-word;">As there is an osmo_si type enum I used that as a header byte. Then the normal SI13 or SI1 or SI3 message follows. The revoking works by just sending the header byte only.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I wonder what we could do to get around bumping the PCUIF version. I think the only way would be to omit the header byte for SI13. Sending nothing would mean that only SI13 is revoked. Sending a pure SI13 with GSM_MACBLOCK_KEN would mean that SI13 is updated. All GSM_MACKBLOCK_LEN+1 messages would work by the new protocol. I find that this would be too ugly.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22369">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22369">change 22369</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/osmo-ttcn3-hacks/+/22369"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9054ab0e969c0fbfdc671c92d44cc61360959adc </div>
<div style="display:none"> Gerrit-Change-Number: 22369 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 02 Feb 2021 15:05:29 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>