Commit Graph

411 Commits

Author SHA1 Message Date
Denis Kenzior 8294c1e42c Get rid of unneeded 2009-07-14 15:45:05 -05:00
Denis Kenzior 82ede4d647 Move PNN reading to network.c 2009-07-14 15:45:05 -05:00
Denis Kenzior 9a565d88b1 Refactor sim_pnn_operator_parse 2009-07-14 15:45:05 -05:00
Denis Kenzior 38eebca61f Move PNN operator parsing to simutil 2009-07-14 15:45:05 -05:00
Denis Kenzior 80f43ff849 Move function to simutil.c 2009-07-14 15:45:05 -05:00
Denis Kenzior f6aa6e473c Move enum to simutil.h 2009-07-14 15:45:05 -05:00
Denis Kenzior 05c4ae4793 Remove unneeded function 2009-07-14 15:45:04 -05:00
Denis Kenzior d12210ba54 Remove unneeded variables 2009-07-14 15:45:04 -05:00
Denis Kenzior e13b933cbb Move enum to simutil.h 2009-07-14 15:45:04 -05:00
Denis Kenzior 1df261cdb9 Refactor MSISDN reading 2009-07-14 15:45:04 -05:00
Denis Kenzior 5207f4063e If reading one fails, don't bother reading rest 2009-07-14 15:45:04 -05:00
Denis Kenzior 285712e5d4 Add TODO comment 2009-07-14 15:45:04 -05:00
Denis Kenzior 097aeccc9a Change the way SIM is initialized 2009-07-14 15:45:04 -05:00
Denis Kenzior 541682f89d Add sim file reading / writing utilities 2009-07-14 15:45:04 -05:00
Denis Kenzior 2289298615 Style fixes 2009-07-14 15:45:04 -05:00
Denis Kenzior 38a23eb108 Make oFono use proper record ids, don't use tricks 2009-07-14 15:45:04 -05:00
Denis Kenzior 04f6924099 Add IMSI getter method 2009-07-14 15:45:04 -05:00
Denis Kenzior acc65afcee Add get/set sim readiness functions 2009-07-14 15:45:04 -05:00
Denis Kenzior 165a78e7e9 Remove some SPN stuff from SIM 2009-07-14 15:45:03 -05:00
Denis Kenzior d0fbef76bd Add sim ready notify functions 2009-07-14 15:45:03 -05:00
Denis Kenzior ffb5d3da94 Remove unnecessary value 2009-07-14 15:45:03 -05:00
Denis Kenzior bed14e8527 Remove unneeded functions 2009-07-14 15:45:03 -05:00
Denis Kenzior b945c111b7 Move utility to its own file 2009-07-14 15:45:03 -05:00
Denis Kenzior 084b1a4c61 Get rid of override_name from operator 2009-07-14 15:45:03 -05:00
Denis Kenzior 2de9ad258b Cleanup network_name_parse 2009-07-14 15:45:03 -05:00
Andrzej Zaborowski 98a4308b30 Read EF-PNN, EF-OPL and override network names accordingly. 2009-07-14 15:45:03 -05:00
Marcel Holtmann feb36e2d5b Fix stupid false positive warnings about uninitialized variables
The GCC check for uninitialized variables is so useful that dealing
with the false positives is just a minor inconvenience.

The following GCC trick helps to silence them:

	#define uninitialized_var(x) x = x

This way no code obfuscation is needed to compile smoothly and the
code stays readable. And the author has to actually think about it.
2009-07-14 06:06:46 +02:00
Denis Kenzior 3d1dd9d452 Fix unused variable warning 2009-07-13 22:33:48 -05:00
Denis Kenzior 90f3cdb8d6 Fix unused variable warnings 2009-07-13 22:33:48 -05:00
Denis Kenzior ce996638b9 Fix suggest parantheses warning 2009-07-13 22:33:48 -05:00
Denis Kenzior 683cee1c1c Fix unused variable warning 2009-07-13 22:33:48 -05:00
Denis Kenzior 04aae280a0 Fix signedness warning 2009-07-13 22:33:48 -05:00
Denis Kenzior 9cc2ce32f7 Fix unused variable 2009-07-13 22:33:48 -05:00
Denis Kenzior f298b7ac98 Fix signedness warnings 2009-07-13 22:33:47 -05:00
Denis Kenzior 03c7dcf024 Fix unused variables 2009-07-13 22:33:47 -05:00
Denis Kenzior d9876f759d Fix signedness warning 2009-07-13 22:33:47 -05:00
Denis Kenzior 7c7894cd45 Fix missing gprintf include 2009-07-13 22:33:47 -05:00
Denis Kenzior 20fb6149a7 Remove uninitialized warning 2009-07-13 22:33:47 -05:00
Marcel Holtmann 6b7fb7c9f9 Fix printf compiler warning with size_t data type 2009-07-14 05:03:39 +02:00
Marcel Holtmann bc42f6ab59 Release 0.1 2009-07-10 11:36:02 -07:00
Marcel Holtmann 0e580287dd Add first draft of an overview document 2009-07-10 11:24:39 -07:00
Aki Niemi e56d92ce30 Fix isimodem segfault on modem removal
This fixes segfaults resulting either from destroying a NULL ISI
client, or when multiple ISI modems become available, and get removed
in the wrong order. To support multiple ISI modems concurrently, a
modem object needs to be exposed via the gisi API, and tracked by the
ISI driver. This is a TODO item to add.
2009-07-09 16:15:56 +03:00
Denis Kenzior c74ea2093f Fix case where CMGS returns an error before pdu
Commands like CMGS might return an error before the entire command
has been submitted.  This results in gatchat stalling completely.
2009-07-07 14:34:00 -05:00
Denis Kenzior db71137fd2 Update unit tests 2009-07-07 14:33:59 -05:00
Denis Kenzior 8d88ff2e11 Don't process surrogate pair chars
These are not valid UCS2 chars
2009-07-07 14:33:59 -05:00
Denis Kenzior 5f04cb1c3e Fix length check for valid UCS2 starting with 0xff 2009-07-07 14:33:59 -05:00
Denis Kenzior 35f7c4b068 Fix status of operator unknown case
When the current operator is reported, it's status is listed as
unknown if no other operators are in the operator list
2009-07-07 14:33:59 -05:00
Aki Niemi b3a166abea Fix error value to no error in success 2009-07-07 14:29:42 +03:00
Aki Niemi 5a09379263 Initialize to NULL 2009-07-07 14:18:11 +03:00
Rémi Denis-Courmont 360fd4b43b gisi: malloc -> free 2009-07-07 13:25:15 +03:00