libosmocore[master]: gsm0480: increase the MAX_LEN_USSD_STRING to 182

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Jan 10 11:09:57 UTC 2018


Patch Set 1:

> Would be nice to have more detailed spec reference - which
 > chapter/paragraph exactly states that? Also, 160 * 8 / 7 is around
 > 182.86 - you sure we shouldn't use 183 chars?

Ok, I'll upload more detailed description soon.
Regarding to 182.86, you have:

  160 * 8 = 1280 bits
  182 * 7 = 1274 bits
  1280 - 1274 = 6 bits

6 bits isn't enough to encode a 7-bit character ;)

-- 
To view, visit https://gerrit.osmocom.org/5712
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6dead74f9ecea079752ff2400cdaf7c30187784e
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-HasComments: No



More information about the gerrit-log mailing list