Commit Graph

8444 Commits

Author SHA1 Message Date
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
Aki Niemi 8411088d0c Add modem attribute retrieval
Refactor isimodem.c to add support for querying modem attributes over
the ISI protocol.
2009-07-07 13:24:40 +03:00
Denis Kenzior a51700abf5 Fix another small memory leak in unit tests 2009-07-06 19:38:44 -05:00
Denis Kenzior c093a75f89 Convert SIM strings properly 2009-07-06 19:33:30 -05:00
Denis Kenzior ea43098867 Add unit test for SIM string conversion utility 2009-07-06 19:33:28 -05:00
Denis Kenzior 467db7dd7f Add utility to convert SIM FS strings to UTF8 2009-07-06 19:33:24 -05:00
Denis Kenzior 36b52d4f87 Update unit test for empty strings 2009-07-06 19:32:24 -05:00
Denis Kenzior ee38e24040 GSM to UTF8 should accept empty strings 2009-07-06 19:32:23 -05:00
Rémi Denis-Courmont a8138acce5 gisi: call to non existent function 2009-07-06 10:44:40 +03:00
Rémi Denis-Courmont 073261e507 Use phonet.h 2009-07-03 08:47:26 -07:00
Rémi Denis-Courmont e34e16b341 Replacement header for Phonet definitions 2009-07-03 08:32:14 -07:00
Rémi Denis-Courmont 1206287664 Do not include <config.h> from headers
It should be included _first_ in all modules, and it is not proof
against multiple inclusions.
2009-07-03 07:54:25 -07:00
Denis Kenzior c722e8077c Add Unit test for CBS assembly utilities 2009-07-02 19:03:05 -05:00
Denis Kenzior a9f776123e Add Cell Broadcast assembly utilities 2009-07-02 19:03:05 -05:00
Denis Kenzior bf2543b207 Fix memory leaks in unit tests 2009-07-02 19:03:05 -05:00
Denis Kenzior 807201e969 Fix memory leak 2009-07-02 19:03:05 -05:00
Denis Kenzior d717908c69 Don't hardcode 2009-07-02 19:03:04 -05:00
Denis Kenzior 5ec2e69daf Update unit test 2009-07-02 19:03:04 -05:00