<p><a href="https://gerrit.osmocom.org/13484">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/13484/1/include/osmocom/msc/gsm_data.h">File include/osmocom/msc/gsm_data.h:</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/13484/1/include/osmocom/msc/gsm_data.h@242">Patch Set #1, Line 242:</a> <code style="font-family:monospace,monospace">/* TODO: Move these defines to libosmogsm (gsm/protocol/gsm_03_40.h) */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Can you add "3GPP TS 03.40, section 9.2.3. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Sure!</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13484/1/include/osmocom/msc/gsm_data.h@287">Patch Set #1, Line 287:</a> <code style="font-family:monospace,monospace">   uint8_t user_data[GSM340_UDL_OCT_MAX];</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">iiuc, we use 1 octet for each 7bit-digit, which means we still need more space than we should use GS […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">No, we don't use 1 octet for each 7bit-digit. Check out the definition of sms_from_text() for example:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  sms->user_data_len = gsm_7bit_encode_n(sms->user_data, sizeof(sms->user_data), sms->text, NULL);</pre></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13484">change 13484</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/13484"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I2a49f9d24cd075234190b3b92999256bce01ca77 </div>
<div style="display:none"> Gerrit-Change-Number: 13484 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Assignee: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 02 Apr 2019 10:11:59 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>