aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-23gsm_utils: Move the gsm_7bit_alphabet into the impl and make it staticHolger Hans Peter Freyther1-0/+27
2010-07-21gsm_7bit_decode: rtext does not hold a null byte, reduce the sizeHolger Hans Peter Freyther1-1/+1
I have added the + 1 as I thought rtext will hold a terminating null byte but it will not.
2010-07-21tests: don't hardcode length values of expected encoding gsm_7bit_encode:Nico Golde1-4/+6
make sure to return the number of actually written bytes gsm_7bit_decode: calculate length of resulting septets from input length before decoding The input length to gsm_7bit_decode reflects the number of encoded bytes to be decoded. As the decoding is done on the input in septetes we need to take this into account and recalculate the length.
2010-07-20gsm_7bit_decode: Handle the case of the last charachter being an escapeHolger Hans Peter Freyther1-1/+1
If i + 1 == length and it is an escape charachter we would try to read rtext[length] which is one after the field we have allocated.
2010-07-20* rewrite GSM 7bit default encoding/decoding based on a lookup table as the ↵Nico Golde1-20/+79
previous code produced wrong encodings for certain characters.
2010-07-04gsm_utils: Fix typo in gsm band nameSylvain Munaut1-1/+1
thanks to horizon for noticing :p Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-06-01add new new gprs_tmsi2tlli() function0.1.10Harald Welte1-0/+17
2010-05-01import gsm48_parse_ra() and gprs_tlli_type() from openbscHarald Welte1-0/+15
2010-03-22fix compiler warnings (itsme <itsme@xs4all.nl>)Harald Welte1-1/+1
* added several 'const' for strings. * added 'extern' to declarations of rsl_rlm_cause_strs
2010-03-07use strtol instead of atoiHarald Welte1-1/+1
2010-03-07import some gsm band/arfcn/time related utilities from OsmocomBBHarald Welte1-1/+92
2010-03-04import gsm_band_name() and gsm_band_parse() from OpenBSCHarald Welte1-0/+55
2010-02-20intial checkin of the libosmocore projectHarald Welte1-0/+215