libosmocore.git branch master updated. 0.9.6-467-g504caac6

gitosis at osmocom.org gitosis at osmocom.org
Fri Oct 27 15:27:08 UTC 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  504caac641c299d806b27b815029092fa6ca9b7e (commit)
       via  fa8983d2dd2041aea528cf966bc9f39d791df3f0 (commit)
      from  bcf9f23456b58e4c959d84bb42d325589c3669ee (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=504caac641c299d806b27b815029092fa6ca9b7e

commit 504caac641c299d806b27b815029092fa6ca9b7e
Author: Harald Welte <laforge at gnumonks.org>
Date:   Fri Oct 27 17:19:59 2017 +0200

    Add unit tests for bcd2char and char2bcd conversion
    
    Sounds stupid, but we actually didn't support hex nibbles in one of
    the two directions of the conversion, so let's make sure we test for
    this.
    
    Change-Id: I8445da54cc4f9b1cd64f286c2b238f4f7c87accb

http://cgit.osmocom.org/libosmocore/commit/?id=fa8983d2dd2041aea528cf966bc9f39d791df3f0

commit fa8983d2dd2041aea528cf966bc9f39d791df3f0
Author: Harald Welte <laforge at gnumonks.org>
Date:   Fri Oct 27 16:52:59 2017 +0200

    osmo_char2bcd(): Implment hex digits a-f and A-F
    
    osmo_bcd2char() has always supported both decimal and hex.
    
    However, osmo_char2bcd() use to only implement decimal digits.
    
    With this patch, it also suppots conversion of hex characters from ASCII
    to BCD.
    
    This would be relevant in cases where somebdoy would want to use 'code
    11', 'code 12' or 'ST' signals in any addresses (SCCP GT e.g.)
    
    Change-Id: I7bbcc6de08024567ab64765c12d7de71df787a7a

-----------------------------------------------------------------------

Summary of changes:
 src/utils.c               |  9 ++++++++-
 tests/utils/utils_test.c  | 43 +++++++++++++++++++++++++++++++++++++++++++
 tests/utils/utils_test.ok | 18 ++++++++++++++++++
 3 files changed, 69 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications


More information about the osmocom-commitlog mailing list