Denis Kenzior [Thu, 9 Jul 2009 21:58:26 +0000 (16:58 -0500)]
Remove some SPN stuff from SIM
Denis Kenzior [Thu, 9 Jul 2009 21:54:10 +0000 (16:54 -0500)]
Add sim ready notify functions
Denis Kenzior [Thu, 9 Jul 2009 21:52:54 +0000 (16:52 -0500)]
Remove unnecessary value
Denis Kenzior [Thu, 9 Jul 2009 21:48:59 +0000 (16:48 -0500)]
Remove unneeded functions
Denis Kenzior [Thu, 9 Jul 2009 21:40:58 +0000 (16:40 -0500)]
Move utility to its own file
Denis Kenzior [Thu, 9 Jul 2009 21:30:32 +0000 (16:30 -0500)]
Get rid of override_name from operator
Denis Kenzior [Thu, 9 Jul 2009 16:42:04 +0000 (11:42 -0500)]
Cleanup network_name_parse
Andrzej Zaborowski [Sun, 5 Jul 2009 03:14:15 +0000 (05:14 +0200)]
Read EF-PNN, EF-OPL and override network names accordingly.
Marcel Holtmann [Tue, 14 Jul 2009 04:06:46 +0000 (06:06 +0200)]
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.
Denis Kenzior [Tue, 14 Jul 2009 03:31:16 +0000 (22:31 -0500)]
Fix unused variable warning
Denis Kenzior [Tue, 14 Jul 2009 03:29:54 +0000 (22:29 -0500)]
Fix unused variable warnings
Denis Kenzior [Tue, 14 Jul 2009 03:29:11 +0000 (22:29 -0500)]
Fix suggest parantheses warning
Denis Kenzior [Tue, 14 Jul 2009 03:28:50 +0000 (22:28 -0500)]
Fix unused variable warning
Denis Kenzior [Tue, 14 Jul 2009 03:28:24 +0000 (22:28 -0500)]
Fix signedness warning
Denis Kenzior [Tue, 14 Jul 2009 03:28:07 +0000 (22:28 -0500)]
Fix unused variable
Denis Kenzior [Tue, 14 Jul 2009 03:27:33 +0000 (22:27 -0500)]
Fix signedness warnings
Denis Kenzior [Tue, 14 Jul 2009 03:25:43 +0000 (22:25 -0500)]
Fix unused variables
Denis Kenzior [Tue, 14 Jul 2009 03:25:11 +0000 (22:25 -0500)]
Fix signedness warning
Denis Kenzior [Tue, 14 Jul 2009 03:22:56 +0000 (22:22 -0500)]
Fix missing gprintf include
Denis Kenzior [Tue, 14 Jul 2009 03:09:45 +0000 (22:09 -0500)]
Remove uninitialized warning
Marcel Holtmann [Tue, 14 Jul 2009 03:03:39 +0000 (05:03 +0200)]
Fix printf compiler warning with size_t data type
Marcel Holtmann [Fri, 10 Jul 2009 18:36:02 +0000 (11:36 -0700)]
Release 0.1
Marcel Holtmann [Fri, 10 Jul 2009 18:24:39 +0000 (11:24 -0700)]
Add first draft of an overview document
Aki Niemi [Thu, 9 Jul 2009 13:13:46 +0000 (16:13 +0300)]
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.
Denis Kenzior [Tue, 7 Jul 2009 19:31:11 +0000 (14:31 -0500)]
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.
Denis Kenzior [Tue, 7 Jul 2009 18:55:09 +0000 (13:55 -0500)]
Update unit tests
Denis Kenzior [Tue, 7 Jul 2009 18:50:09 +0000 (13:50 -0500)]
Don't process surrogate pair chars
These are not valid UCS2 chars
Denis Kenzior [Tue, 7 Jul 2009 18:49:32 +0000 (13:49 -0500)]
Fix length check for valid UCS2 starting with 0xff
Denis Kenzior [Tue, 7 Jul 2009 16:18:39 +0000 (11:18 -0500)]
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
Aki Niemi [Tue, 7 Jul 2009 11:29:42 +0000 (14:29 +0300)]
Fix error value to no error in success
Aki Niemi [Tue, 7 Jul 2009 11:18:11 +0000 (14:18 +0300)]
Initialize to NULL
Rémi Denis-Courmont [Tue, 7 Jul 2009 07:26:03 +0000 (10:26 +0300)]
gisi: malloc -> free
Aki Niemi [Tue, 7 Jul 2009 10:19:59 +0000 (13:19 +0300)]
Add modem attribute retrieval
Refactor isimodem.c to add support for querying modem attributes over
the ISI protocol.
Denis Kenzior [Tue, 7 Jul 2009 00:38:44 +0000 (19:38 -0500)]
Fix another small memory leak in unit tests
Denis Kenzior [Mon, 6 Jul 2009 20:10:21 +0000 (15:10 -0500)]
Convert SIM strings properly
Denis Kenzior [Mon, 6 Jul 2009 23:07:55 +0000 (18:07 -0500)]
Add unit test for SIM string conversion utility
Denis Kenzior [Mon, 6 Jul 2009 20:09:47 +0000 (15:09 -0500)]
Add utility to convert SIM FS strings to UTF8
Denis Kenzior [Mon, 6 Jul 2009 20:24:26 +0000 (15:24 -0500)]
Update unit test for empty strings
Denis Kenzior [Mon, 6 Jul 2009 20:09:32 +0000 (15:09 -0500)]
GSM to UTF8 should accept empty strings
Rémi Denis-Courmont [Mon, 6 Jul 2009 07:19:09 +0000 (10:19 +0300)]
gisi: call to non existent function
Rémi Denis-Courmont [Fri, 3 Jul 2009 15:32:31 +0000 (18:32 +0300)]
Use phonet.h
Rémi Denis-Courmont [Fri, 3 Jul 2009 15:19:15 +0000 (18:19 +0300)]
Replacement header for Phonet definitions
Rémi Denis-Courmont [Thu, 2 Jul 2009 10:43:34 +0000 (13:43 +0300)]
Do not include <config.h> from headers
It should be included _first_ in all modules, and it is not proof
against multiple inclusions.
Denis Kenzior [Fri, 3 Jul 2009 00:00:40 +0000 (19:00 -0500)]
Add Unit test for CBS assembly utilities
Denis Kenzior [Fri, 3 Jul 2009 00:00:27 +0000 (19:00 -0500)]
Add Cell Broadcast assembly utilities
Denis Kenzior [Thu, 2 Jul 2009 23:19:56 +0000 (18:19 -0500)]
Fix memory leaks in unit tests
Denis Kenzior [Thu, 2 Jul 2009 23:19:15 +0000 (18:19 -0500)]
Fix memory leak
Denis Kenzior [Thu, 2 Jul 2009 17:55:01 +0000 (12:55 -0500)]
Don't hardcode
Denis Kenzior [Thu, 2 Jul 2009 17:46:35 +0000 (12:46 -0500)]
Update unit test
Denis Kenzior [Thu, 2 Jul 2009 17:46:26 +0000 (12:46 -0500)]
Add CBS Text converter utility
Denis Kenzior [Thu, 2 Jul 2009 17:46:01 +0000 (12:46 -0500)]
Add cbs lang to ISO 639 conversion utility
Denis Kenzior [Tue, 30 Jun 2009 23:59:20 +0000 (18:59 -0500)]
Add app-port extraction utility for CBS
Denis Kenzior [Tue, 30 Jun 2009 23:23:23 +0000 (18:23 -0500)]
Make sms_udh_iter work for Cell Broadcast messages
Denis Kenzior [Tue, 30 Jun 2009 22:36:09 +0000 (17:36 -0500)]
Add unit test for CBS encode / decode
Denis Kenzior [Tue, 30 Jun 2009 22:35:56 +0000 (17:35 -0500)]
Add Cell Broadcast encoding / decoding utilities
Denis Kenzior [Fri, 26 Jun 2009 00:15:50 +0000 (19:15 -0500)]
Add DCS decoder for Cell Broadcast
Santtu Lakkala [Mon, 15 Jun 2009 17:13:25 +0000 (20:13 +0300)]
Add support for tty on character device.
Adds support for using ttys through a serial device directly.
Denis Kenzior [Wed, 1 Jul 2009 15:48:03 +0000 (10:48 -0500)]
Fix uninitialized use of bufpos
Yang Gu [Mon, 29 Jun 2009 01:37:52 +0000 (09:37 +0800)]
Change sequence in phonebook merge_list
Marcel Holtmann [Wed, 1 Jul 2009 01:36:56 +0000 (18:36 -0700)]
Add support for AM_SLIENT_RULES
Marcel Holtmann [Tue, 30 Jun 2009 19:48:42 +0000 (12:48 -0700)]
Add support for opening TTYs directly
Rémi Denis-Courmont [Thu, 25 Jun 2009 12:04:33 +0000 (15:04 +0300)]
gisi: fix extracting Phonet address from Netlink
Rémi Denis-Courmont [Thu, 25 Jun 2009 11:56:56 +0000 (14:56 +0300)]
Fix GISI_CFLAGS
This fixes the failure to include <gisi/netlink.h>.
Rémi Denis-Courmont [Thu, 25 Jun 2009 11:52:46 +0000 (14:52 +0300)]
ofonod: missing dependencies on convenience libraries
Without this, plain "make" does not work properly when gatchat or
gisi, or one of the built-in drivers or plugins are modified.
Rémi Denis-Courmont [Thu, 25 Jun 2009 11:49:32 +0000 (14:49 +0300)]
Fix bootstrap-configure when building from subdir
Denis Kenzior [Thu, 25 Jun 2009 16:43:45 +0000 (11:43 -0500)]
Preserve clip_validity
CLCC does not report clip_validity. So if clip_validity of witheld
has been reported in CLIP, but we're still somehow polling CLCC,
which happens if CRING is not supported, and RING is used instead,
this fact can be lost. Make sure we preserve clip_validity if
possible
Denis Kenzior [Thu, 25 Jun 2009 16:42:38 +0000 (11:42 -0500)]
Number and Number Type are optional in CLCC
According to 27.007, the number and number type are optional. We must
take care not to do anything unexpected in this case.
Yang Gu [Wed, 24 Jun 2009 08:35:25 +0000 (16:35 +0800)]
Add E-UTRAN as access technology of network op
Aki Niemi [Thu, 25 Jun 2009 07:04:02 +0000 (10:04 +0300)]
Delete old placeholder
Aki Niemi [Thu, 25 Jun 2009 07:03:47 +0000 (10:03 +0300)]
Add new ISI modem driver to build
Aki Niemi [Thu, 25 Jun 2009 07:03:27 +0000 (10:03 +0300)]
Add baseline for ISI modem driver
Aki Niemi [Thu, 25 Jun 2009 06:40:06 +0000 (09:40 +0300)]
gisi: Fix documentation and add API for resource ID
Denis Kenzior [Thu, 25 Jun 2009 00:59:58 +0000 (19:59 -0500)]
Print new line as intended
Denis Kenzior [Thu, 25 Jun 2009 00:58:00 +0000 (19:58 -0500)]
Another type safety fix
Shane Bryan [Wed, 24 Jun 2009 22:16:02 +0000 (15:16 -0700)]
fix test compile
Signed-off-by: Shane Bryan <shane.bryan@linux.intel.com>
Aki Niemi [Wed, 24 Jun 2009 10:20:54 +0000 (13:20 +0300)]
gisi: fix g_pn_netlink_start() return value
Denis Kenzior [Tue, 23 Jun 2009 15:24:45 +0000 (10:24 -0500)]
Fix when the same operator reported multiple times
Denis Kenzior [Mon, 22 Jun 2009 19:46:31 +0000 (14:46 -0500)]
Make signature match properly
Aki Niemi [Mon, 22 Jun 2009 18:40:49 +0000 (21:40 +0300)]
Add GISI_* build variables; remove unnecessary curly brackets
Denis Kenzior [Mon, 22 Jun 2009 18:20:01 +0000 (13:20 -0500)]
Minor style issues
Andrzej Zaborowski [Sun, 21 Jun 2009 01:40:48 +0000 (03:40 +0200)]
Read EF-SPDI and use it for SPN display.
When the operator is one of those listed in EF-SPDI then we need to
treat it like a HPLMN in deciding whether the SPN or PLMN name should
be displayed.
Andrzej Zaborowski [Sun, 21 Jun 2009 01:30:14 +0000 (03:30 +0200)]
Add write/read operations for cyclic files in SIM.
Denis Kenzior [Mon, 22 Jun 2009 17:45:18 +0000 (12:45 -0500)]
Make compiler happy
Denis Kenzior [Mon, 22 Jun 2009 17:36:25 +0000 (12:36 -0500)]
Cleanup phonebook again
Denis Kenzior [Mon, 22 Jun 2009 17:36:13 +0000 (12:36 -0500)]
Fix minor API issue
Yang Gu [Mon, 22 Jun 2009 02:59:25 +0000 (10:59 +0800)]
Merge phonebook entries belong to one person
Aki Niemi [Mon, 22 Jun 2009 15:15:47 +0000 (18:15 +0300)]
gisi: fixes to request/response handling and timeout registration
Rémi Denis-Courmont [Mon, 22 Jun 2009 14:33:48 +0000 (17:33 +0300)]
gisi: specify destination socket address
Kernel wants it, and returns an error on send otherwise.
Denis Kenzior [Sat, 20 Jun 2009 02:11:42 +0000 (21:11 -0500)]
SMS sending in AT backend
Denis Kenzior [Sat, 20 Jun 2009 02:11:32 +0000 (21:11 -0500)]
Add SMS Sending Support
Denis Kenzior [Sat, 20 Jun 2009 02:10:51 +0000 (21:10 -0500)]
Fixes to parser state when command prompt is used
Denis Kenzior [Fri, 19 Jun 2009 19:38:13 +0000 (14:38 -0500)]
Add yet another unit test
Denis Kenzior [Fri, 19 Jun 2009 17:49:25 +0000 (12:49 -0500)]
Some fixes to sms_text_prepare
Denis Kenzior [Fri, 19 Jun 2009 17:26:04 +0000 (12:26 -0500)]
Add address from string utility for SMS
Denis Kenzior [Fri, 19 Jun 2009 17:24:55 +0000 (12:24 -0500)]
Fix minor bug in phone number handling
Denis Kenzior [Fri, 19 Jun 2009 15:16:11 +0000 (10:16 -0500)]
Update unit tests
Denis Kenzior [Fri, 19 Jun 2009 15:14:33 +0000 (10:14 -0500)]
Utility to create SMS, both fragmented and not
Denis Kenzior [Fri, 19 Jun 2009 13:38:24 +0000 (08:38 -0500)]
Add utility function
Denis Kenzior [Fri, 19 Jun 2009 13:38:06 +0000 (08:38 -0500)]
Minor style issue
Denis Kenzior [Fri, 19 Jun 2009 13:03:53 +0000 (08:03 -0500)]
Don't fail in own_buf if items_written is NULL