platform/upstream/ofono.git
15 years agoFix warnings
Denis Kenzior [Tue, 14 Jul 2009 20:50:09 +0000 (15:50 -0500)]
Fix warnings

15 years agoFix uninitialized variable
Denis Kenzior [Tue, 14 Jul 2009 20:46:56 +0000 (15:46 -0500)]
Fix uninitialized variable

15 years agoMake CSSN use proper types
Denis Kenzior [Tue, 14 Jul 2009 20:43:48 +0000 (15:43 -0500)]
Make CSSN use proper types

15 years agoRefactor how EONS is used
Denis Kenzior [Tue, 14 Jul 2009 20:20:37 +0000 (15:20 -0500)]
Refactor how EONS is used

15 years agoThis function now uses on network_operator_data
Denis Kenzior [Tue, 14 Jul 2009 20:19:52 +0000 (15:19 -0500)]
This function now uses on network_operator_data

15 years agoRefactor EONS to have lac / non-lac versions
Denis Kenzior [Tue, 14 Jul 2009 18:47:22 +0000 (13:47 -0500)]
Refactor EONS to have lac / non-lac versions

PNN/OPL database has fields which provide global operator naming,
or specific to a cell range.  The cell range can only be obtained
if the operator is the current one.

15 years agoRefactor Network Registration for EONS capability
Denis Kenzior [Tue, 14 Jul 2009 18:10:12 +0000 (13:10 -0500)]
Refactor Network Registration for EONS capability

15 years agoMake sure record length is not zero
Denis Kenzior [Tue, 14 Jul 2009 18:09:00 +0000 (13:09 -0500)]
Make sure record length is not zero

Record length can be reported as 0 by the driver if it is for a
a binary (non-record based) file.  Set it to the file length in
this case

15 years agoGet rid of some div by zero errors
Denis Kenzior [Tue, 14 Jul 2009 17:49:12 +0000 (12:49 -0500)]
Get rid of some div by zero errors

15 years agoFix missing header
Denis Kenzior [Tue, 14 Jul 2009 17:41:44 +0000 (12:41 -0500)]
Fix missing header

15 years agoUse ofono_set_sim_ready
Denis Kenzior [Tue, 14 Jul 2009 17:41:16 +0000 (12:41 -0500)]
Use ofono_set_sim_ready

15 years agoReturn the entire EONS info, not just the longname
Denis Kenzior [Tue, 14 Jul 2009 15:58:52 +0000 (10:58 -0500)]
Return the entire EONS info, not just the longname

15 years agoRefactor OPL code
Denis Kenzior [Mon, 13 Jul 2009 23:30:17 +0000 (18:30 -0500)]
Refactor OPL code

15 years agoFix parsing of mcc_mnc code
Denis Kenzior [Mon, 13 Jul 2009 23:19:06 +0000 (18:19 -0500)]
Fix parsing of mcc_mnc code

The digits above 0-9 were not handled correctly

15 years agoFix CellId data type to be uint32 as intended
Denis Kenzior [Mon, 13 Jul 2009 23:01:56 +0000 (18:01 -0500)]
Fix CellId data type to be uint32 as intended

15 years agoMove SPDI to network.c
Denis Kenzior [Mon, 13 Jul 2009 21:12:22 +0000 (16:12 -0500)]
Move SPDI to network.c

15 years agoPreserve PNN order
Denis Kenzior [Mon, 13 Jul 2009 19:38:25 +0000 (14:38 -0500)]
Preserve PNN order

15 years agoMove SPN reading to network.c
Denis Kenzior [Mon, 13 Jul 2009 19:11:47 +0000 (14:11 -0500)]
Move SPN reading to network.c

15 years agoGet rid of unneeded
Denis Kenzior [Mon, 13 Jul 2009 18:07:30 +0000 (13:07 -0500)]
Get rid of unneeded

15 years agoMove PNN reading to network.c
Denis Kenzior [Mon, 13 Jul 2009 17:57:08 +0000 (12:57 -0500)]
Move PNN reading to network.c

15 years agoRefactor sim_pnn_operator_parse
Denis Kenzior [Mon, 13 Jul 2009 17:42:58 +0000 (12:42 -0500)]
Refactor sim_pnn_operator_parse

15 years agoMove PNN operator parsing to simutil
Denis Kenzior [Mon, 13 Jul 2009 17:31:23 +0000 (12:31 -0500)]
Move PNN operator parsing to simutil

15 years agoMove function to simutil.c
Denis Kenzior [Sat, 11 Jul 2009 00:07:23 +0000 (19:07 -0500)]
Move function to simutil.c

15 years agoMove enum to simutil.h
Denis Kenzior [Fri, 10 Jul 2009 23:59:37 +0000 (18:59 -0500)]
Move enum to simutil.h

15 years agoRemove unneeded function
Denis Kenzior [Fri, 10 Jul 2009 23:58:32 +0000 (18:58 -0500)]
Remove unneeded function

15 years agoRemove unneeded variables
Denis Kenzior [Fri, 10 Jul 2009 23:57:16 +0000 (18:57 -0500)]
Remove unneeded variables

15 years agoMove enum to simutil.h
Denis Kenzior [Fri, 10 Jul 2009 23:56:44 +0000 (18:56 -0500)]
Move enum to simutil.h

15 years agoRefactor MSISDN reading
Denis Kenzior [Fri, 10 Jul 2009 23:54:20 +0000 (18:54 -0500)]
Refactor MSISDN reading

15 years agoIf reading one fails, don't bother reading rest
Denis Kenzior [Fri, 10 Jul 2009 23:54:05 +0000 (18:54 -0500)]
If reading one fails, don't bother reading rest

15 years agoAdd TODO comment
Denis Kenzior [Fri, 10 Jul 2009 23:29:11 +0000 (18:29 -0500)]
Add TODO comment

15 years agoChange the way SIM is initialized
Denis Kenzior [Fri, 10 Jul 2009 23:28:53 +0000 (18:28 -0500)]
Change the way SIM is initialized

15 years agoAdd sim file reading / writing utilities
Denis Kenzior [Fri, 10 Jul 2009 19:34:24 +0000 (14:34 -0500)]
Add sim file reading / writing utilities

15 years agoStyle fixes
Denis Kenzior [Fri, 10 Jul 2009 18:10:14 +0000 (13:10 -0500)]
Style fixes

15 years agoMake oFono use proper record ids, don't use tricks
Denis Kenzior [Fri, 10 Jul 2009 18:08:24 +0000 (13:08 -0500)]
Make oFono use proper record ids, don't use tricks

15 years agoAdd IMSI getter method
Denis Kenzior [Thu, 9 Jul 2009 22:16:00 +0000 (17:16 -0500)]
Add IMSI getter method

15 years agoAdd get/set sim readiness functions
Denis Kenzior [Thu, 9 Jul 2009 22:06:59 +0000 (17:06 -0500)]
Add get/set sim readiness functions

15 years agoRemove some SPN stuff from SIM
Denis Kenzior [Thu, 9 Jul 2009 21:58:26 +0000 (16:58 -0500)]
Remove some SPN stuff from SIM

15 years agoAdd sim ready notify functions
Denis Kenzior [Thu, 9 Jul 2009 21:54:10 +0000 (16:54 -0500)]
Add sim ready notify functions

15 years agoRemove unnecessary value
Denis Kenzior [Thu, 9 Jul 2009 21:52:54 +0000 (16:52 -0500)]
Remove unnecessary value

15 years agoRemove unneeded functions
Denis Kenzior [Thu, 9 Jul 2009 21:48:59 +0000 (16:48 -0500)]
Remove unneeded functions

15 years agoMove utility to its own file
Denis Kenzior [Thu, 9 Jul 2009 21:40:58 +0000 (16:40 -0500)]
Move utility to its own file

15 years agoGet rid of override_name from operator
Denis Kenzior [Thu, 9 Jul 2009 21:30:32 +0000 (16:30 -0500)]
Get rid of override_name from operator

15 years agoCleanup network_name_parse
Denis Kenzior [Thu, 9 Jul 2009 16:42:04 +0000 (11:42 -0500)]
Cleanup network_name_parse

15 years agoRead EF-PNN, EF-OPL and override network names accordingly.
Andrzej Zaborowski [Sun, 5 Jul 2009 03:14:15 +0000 (05:14 +0200)]
Read EF-PNN, EF-OPL and override network names accordingly.

15 years agoFix stupid false positive warnings about uninitialized variables
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.

15 years agoFix unused variable warning
Denis Kenzior [Tue, 14 Jul 2009 03:31:16 +0000 (22:31 -0500)]
Fix unused variable warning

15 years agoFix unused variable warnings
Denis Kenzior [Tue, 14 Jul 2009 03:29:54 +0000 (22:29 -0500)]
Fix unused variable warnings

15 years agoFix suggest parantheses warning
Denis Kenzior [Tue, 14 Jul 2009 03:29:11 +0000 (22:29 -0500)]
Fix suggest parantheses warning

15 years agoFix unused variable warning
Denis Kenzior [Tue, 14 Jul 2009 03:28:50 +0000 (22:28 -0500)]
Fix unused variable warning

15 years agoFix signedness warning
Denis Kenzior [Tue, 14 Jul 2009 03:28:24 +0000 (22:28 -0500)]
Fix signedness warning

15 years agoFix unused variable
Denis Kenzior [Tue, 14 Jul 2009 03:28:07 +0000 (22:28 -0500)]
Fix unused variable

15 years agoFix signedness warnings
Denis Kenzior [Tue, 14 Jul 2009 03:27:33 +0000 (22:27 -0500)]
Fix signedness warnings

15 years agoFix unused variables
Denis Kenzior [Tue, 14 Jul 2009 03:25:43 +0000 (22:25 -0500)]
Fix unused variables

15 years agoFix signedness warning
Denis Kenzior [Tue, 14 Jul 2009 03:25:11 +0000 (22:25 -0500)]
Fix signedness warning

15 years agoFix missing gprintf include
Denis Kenzior [Tue, 14 Jul 2009 03:22:56 +0000 (22:22 -0500)]
Fix missing gprintf include

15 years agoRemove uninitialized warning
Denis Kenzior [Tue, 14 Jul 2009 03:09:45 +0000 (22:09 -0500)]
Remove uninitialized warning

15 years agoFix printf compiler warning with size_t data type
Marcel Holtmann [Tue, 14 Jul 2009 03:03:39 +0000 (05:03 +0200)]
Fix printf compiler warning with size_t data type

15 years agoRelease 0.1 0.1
Marcel Holtmann [Fri, 10 Jul 2009 18:36:02 +0000 (11:36 -0700)]
Release 0.1

15 years agoAdd first draft of an overview document
Marcel Holtmann [Fri, 10 Jul 2009 18:24:39 +0000 (11:24 -0700)]
Add first draft of an overview document

15 years agoFix isimodem segfault on modem removal
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.

15 years agoFix case where CMGS returns an error before pdu
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.

15 years agoUpdate unit tests
Denis Kenzior [Tue, 7 Jul 2009 18:55:09 +0000 (13:55 -0500)]
Update unit tests

15 years agoDon't process surrogate pair chars
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

15 years agoFix length check for valid UCS2 starting with 0xff
Denis Kenzior [Tue, 7 Jul 2009 18:49:32 +0000 (13:49 -0500)]
Fix length check for valid UCS2 starting with 0xff

15 years agoFix status of operator unknown case
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

15 years agoFix error value to no error in success
Aki Niemi [Tue, 7 Jul 2009 11:29:42 +0000 (14:29 +0300)]
Fix error value to no error in success

15 years agoInitialize to NULL
Aki Niemi [Tue, 7 Jul 2009 11:18:11 +0000 (14:18 +0300)]
Initialize to NULL

15 years agogisi: malloc -> free
Rémi Denis-Courmont [Tue, 7 Jul 2009 07:26:03 +0000 (10:26 +0300)]
gisi: malloc -> free

15 years agoAdd modem attribute retrieval
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.

15 years agoFix another small memory leak in unit tests
Denis Kenzior [Tue, 7 Jul 2009 00:38:44 +0000 (19:38 -0500)]
Fix another small memory leak in unit tests

15 years agoConvert SIM strings properly
Denis Kenzior [Mon, 6 Jul 2009 20:10:21 +0000 (15:10 -0500)]
Convert SIM strings properly

15 years agoAdd unit test for SIM string conversion utility
Denis Kenzior [Mon, 6 Jul 2009 23:07:55 +0000 (18:07 -0500)]
Add unit test for SIM string conversion utility

15 years agoAdd utility to convert SIM FS strings to UTF8
Denis Kenzior [Mon, 6 Jul 2009 20:09:47 +0000 (15:09 -0500)]
Add utility to convert SIM FS strings to UTF8

15 years agoUpdate unit test for empty strings
Denis Kenzior [Mon, 6 Jul 2009 20:24:26 +0000 (15:24 -0500)]
Update unit test for empty strings

15 years agoGSM to UTF8 should accept empty strings
Denis Kenzior [Mon, 6 Jul 2009 20:09:32 +0000 (15:09 -0500)]
GSM to UTF8 should accept empty strings

15 years agogisi: call to non existent function
Rémi Denis-Courmont [Mon, 6 Jul 2009 07:19:09 +0000 (10:19 +0300)]
gisi: call to non existent function

15 years agoUse phonet.h
Rémi Denis-Courmont [Fri, 3 Jul 2009 15:32:31 +0000 (18:32 +0300)]
Use phonet.h

15 years agoReplacement header for Phonet definitions
Rémi Denis-Courmont [Fri, 3 Jul 2009 15:19:15 +0000 (18:19 +0300)]
Replacement header for Phonet definitions

15 years agoDo not include <config.h> from headers
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.

15 years agoAdd Unit test for CBS assembly utilities
Denis Kenzior [Fri, 3 Jul 2009 00:00:40 +0000 (19:00 -0500)]
Add Unit test for CBS assembly utilities

15 years agoAdd Cell Broadcast assembly utilities
Denis Kenzior [Fri, 3 Jul 2009 00:00:27 +0000 (19:00 -0500)]
Add Cell Broadcast assembly utilities

15 years agoFix memory leaks in unit tests
Denis Kenzior [Thu, 2 Jul 2009 23:19:56 +0000 (18:19 -0500)]
Fix memory leaks in unit tests

15 years agoFix memory leak
Denis Kenzior [Thu, 2 Jul 2009 23:19:15 +0000 (18:19 -0500)]
Fix memory leak

15 years agoDon't hardcode
Denis Kenzior [Thu, 2 Jul 2009 17:55:01 +0000 (12:55 -0500)]
Don't hardcode

15 years agoUpdate unit test
Denis Kenzior [Thu, 2 Jul 2009 17:46:35 +0000 (12:46 -0500)]
Update unit test

15 years agoAdd CBS Text converter utility
Denis Kenzior [Thu, 2 Jul 2009 17:46:26 +0000 (12:46 -0500)]
Add CBS Text converter utility

15 years agoAdd cbs lang to ISO 639 conversion utility
Denis Kenzior [Thu, 2 Jul 2009 17:46:01 +0000 (12:46 -0500)]
Add cbs lang to ISO 639 conversion utility

15 years agoAdd app-port extraction utility for CBS
Denis Kenzior [Tue, 30 Jun 2009 23:59:20 +0000 (18:59 -0500)]
Add app-port extraction utility for CBS

15 years agoMake sms_udh_iter work for Cell Broadcast messages
Denis Kenzior [Tue, 30 Jun 2009 23:23:23 +0000 (18:23 -0500)]
Make sms_udh_iter work for Cell Broadcast messages

15 years agoAdd unit test for CBS encode / decode
Denis Kenzior [Tue, 30 Jun 2009 22:36:09 +0000 (17:36 -0500)]
Add unit test for CBS encode / decode

15 years agoAdd Cell Broadcast encoding / decoding utilities
Denis Kenzior [Tue, 30 Jun 2009 22:35:56 +0000 (17:35 -0500)]
Add Cell Broadcast encoding / decoding utilities

15 years agoAdd DCS decoder for Cell Broadcast
Denis Kenzior [Fri, 26 Jun 2009 00:15:50 +0000 (19:15 -0500)]
Add DCS decoder for Cell Broadcast

15 years agoAdd support for tty on character device.
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.

15 years agoFix uninitialized use of bufpos
Denis Kenzior [Wed, 1 Jul 2009 15:48:03 +0000 (10:48 -0500)]
Fix uninitialized use of bufpos

15 years agoChange sequence in phonebook merge_list
Yang Gu [Mon, 29 Jun 2009 01:37:52 +0000 (09:37 +0800)]
Change sequence in phonebook merge_list

15 years agoAdd support for AM_SLIENT_RULES
Marcel Holtmann [Wed, 1 Jul 2009 01:36:56 +0000 (18:36 -0700)]
Add support for AM_SLIENT_RULES

15 years agoAdd support for opening TTYs directly
Marcel Holtmann [Tue, 30 Jun 2009 19:48:42 +0000 (12:48 -0700)]
Add support for opening TTYs directly

15 years agogisi: fix extracting Phonet address from Netlink
Rémi Denis-Courmont [Thu, 25 Jun 2009 12:04:33 +0000 (15:04 +0300)]
gisi: fix extracting Phonet address from Netlink

15 years agoFix GISI_CFLAGS
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>.

15 years agoofonod: missing dependencies on convenience libraries
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.