From 9bb553ee40104c47f9a27d7662eb2867dd2b5d1e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 28 Mar 2010 18:14:50 +0800 Subject: import gsm48_mi_to_string() from OpenBSC --- include/osmocore/gsm48.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h index 1e963573..b752ee00 100644 --- a/include/osmocore/gsm48.h +++ b/include/osmocore/gsm48.h @@ -14,4 +14,8 @@ void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc, int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi); int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi); +/* Convert Mobile Identity (10.5.1.4) to string */ +int gsm48_mi_to_string(char *string, const int str_len, + const u_int8_t *mi, const int mi_len); + #endif -- cgit v1.2.3