<p style="white-space: pre-wrap; word-wrap: break-word;">thanks for the feedback, i re-arranged the test vectors a bit, but kept the manual TLV hacking for now.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/23564">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/pysim/+/23564/1/pySim/ts_31_102.py">File pySim/ts_31_102.py:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/pysim/+/23564/1/pySim/ts_31_102.py@301">Patch Set #1, Line 301:</a> <code style="font-family:monospace,monospace">                    out_bytes.append(0x01) # TODO size, fixed to 1 byte</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">this manual TLV encoding/decoding works, but is of course quite a bit of a hack. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">i agree, i'll observe the TLV discussion. not planning to work on other features right now, just had to get my modem unstuck :)</p><p style="white-space: pre-wrap; word-wrap: break-word;">my quick uttlv-experiments failed at this exact point, because uttlv wouldn't encode/decode an array of TLVs with the same identifier (like here: 0x80 for all keys in hnet_pubkey_list).</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/pysim/+/23564/1/tests/test_utils.py">File tests/test_utils.py:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/pysim/+/23564/1/tests/test_utils.py@95">Patch Set #1, Line 95:</a> <code style="font-family:monospace,monospace">0272DA71976234CE833A6907425867B82E074D44EF907DFB4B3E21C1C2256EBCD1</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I would move this and the other key into separate [class] variables, so there would be no need to re […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Done</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/23564">change 23564</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/pysim/+/23564"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I848a766e6d00be497c7db905475e0681cce197ac </div>
<div style="display:none"> Gerrit-Change-Number: 23564 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: merlinchlosta <merlin.chlosta@rub.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 02 Apr 2021 09:51:13 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Comment-In-Reply-To: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>