<p>Neels Hofmeyr <strong>uploaded patch set #5</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/12153">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add osmo_bcd2str()<br><br>Add a standalone bcd-to-string conversion function with generic parameters.<br>Add a regression test in utils_test.c.<br><br>So far there is no single universal implementation that converts a BCD to a<br>string. I could only find gsm48_mi_to_string(), which also interprets<br>surrounding bytes, MI type and TMSI as non-BCD value.<br><br>The idea is to use this function from gsm48_mi_to_string() and similar<br>implementations in subsequent commits.<br><br>Root cause: in osmo-msc, I want to have an alternative MI-to-string function<br>for composing an FSM name, which needs the BCD part of gsm48_mi_to_string() but<br>not the TMSI part.<br><br>Change-Id: I86b09d37ceef33331c1a56046a5443127d6c6be0<br>---<br>M include/osmocom/core/utils.h<br>M src/utils.c<br>M tests/utils/utils_test.c<br>M tests/utils/utils_test.ok<br>4 files changed, 188 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/53/12153/5</pre><p>To view, visit <a href="https://gerrit.osmocom.org/12153">change 12153</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/12153"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I86b09d37ceef33331c1a56046a5443127d6c6be0 </div>
<div style="display:none"> Gerrit-Change-Number: 12153 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <stsp@stsp.name> </div>