sms bugfix

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/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Sat Mar 19 00:54:58 UTC 2011


On 03/18/2011 11:01 PM, Dennis Wehrle wrote:
> Hello
> 

Hi Dennis,

thank you very much for your patch. There are some formal issues with the
patch and it would be nice if you could resolve them.


* In general we don't keep commented out code around, please remove it.
* We avoid the // comments.
* When introducing a new function that has known static linkage please
  use a namespace, e.g. not get_octlet_length but at least
  gsm_get_octet_length or put in 7bit as well.

Besides that your patch looks nice, but I do have two concerns. Your 160 char
limit assumes the default GSM alphabet? In the future we might be able to
encode and decode from different (e.g. chinese/unicode) alphabet. The same
concern is for the new code in db.c that handles things specially. It would be
nice if all of this could be hidden in libosmocore or such.

cheers
	holger




More information about the OpenBSC mailing list