From c9a2eedc08b5a7ba625dac3764f176676c11d304 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 2 Oct 2009 14:52:52 -0500 Subject: Add utility to parse 2G GET_RESPONSE data This format is described in 51.011 and the older 11.11. It is not supported by newer 3G UICC based devices & sim card combinations --- src/simutil.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/simutil.h') diff --git a/src/simutil.h b/src/simutil.h index 4f2d3210..805ead03 100644 --- a/src/simutil.h +++ b/src/simutil.h @@ -106,3 +106,7 @@ void sim_adn_build(unsigned char *data, int length, const char *identifier); struct sim_ef_info *sim_ef_db_lookup(unsigned short efid); + +gboolean sim_parse_2G_get_response(unsigned char *response, int len, + int *file_len, int *record_len, + int *structure, unsigned char *access); -- cgit v1.2.3