platform/upstream/ofono.git
15 years agoRename sms utilities properly
Denis Kenzior [Fri, 5 Jun 2009 18:29:03 +0000 (13:29 -0500)]
Rename sms utilities properly

Rename encode_sms to sms_encode
Rename decode_sms to sms_decode

15 years agoAdd SMS specific DCS decoding function
Denis Kenzior [Fri, 5 Jun 2009 18:27:16 +0000 (13:27 -0500)]
Add SMS specific DCS decoding function

15 years agoAdd utility to convert SCTS to local/remote time
Denis Kenzior [Fri, 5 Jun 2009 16:51:46 +0000 (11:51 -0500)]
Add utility to convert SCTS to local/remote time

15 years agoAdd proper handling for various messages
Denis Kenzior [Thu, 4 Jun 2009 22:13:09 +0000 (17:13 -0500)]
Add proper handling for various messages

Handle Deliver / Status Report / Cell Broadcast messages and send the
appropriate acknowledgement PDUs (+CNMA) if required

15 years agoSMS-Command is also submitted with sc address
Denis Kenzior [Thu, 4 Jun 2009 21:17:29 +0000 (16:17 -0500)]
SMS-Command is also submitted with sc address

15 years agoAdd colons to SMS prefixes
Denis Kenzior [Thu, 4 Jun 2009 17:35:17 +0000 (12:35 -0500)]
Add colons to SMS prefixes

15 years agoAdd SMS interface initialization code for atmodem
Denis Kenzior [Thu, 4 Jun 2009 02:07:25 +0000 (21:07 -0500)]
Add SMS interface initialization code for atmodem

15 years agoAdd check for error path
Denis Kenzior [Tue, 2 Jun 2009 19:39:27 +0000 (14:39 -0500)]
Add check for error path

15 years agoAdd check for error path
Denis Kenzior [Tue, 2 Jun 2009 19:38:42 +0000 (14:38 -0500)]
Add check for error path

15 years agoAdd UDH Iterator unit test
Denis Kenzior [Tue, 2 Jun 2009 18:20:18 +0000 (13:20 -0500)]
Add UDH Iterator unit test

15 years agoBreak out VPF printing into separate function
Denis Kenzior [Tue, 2 Jun 2009 18:18:25 +0000 (13:18 -0500)]
Break out VPF printing into separate function

15 years agoAdd User-Data-Header iterator utilities
Denis Kenzior [Tue, 2 Jun 2009 18:17:20 +0000 (13:17 -0500)]
Add User-Data-Header iterator utilities

15 years agoUnit test for SMS-Submit encoding
Denis Kenzior [Tue, 2 Jun 2009 15:31:55 +0000 (10:31 -0500)]
Unit test for SMS-Submit encoding

15 years agoCalculation for UCS2 cases was wrong
Denis Kenzior [Mon, 1 Jun 2009 23:11:12 +0000 (18:11 -0500)]
Calculation for UCS2 cases was wrong

15 years agoAdding common unregister code in atmodem driver
Minjun Li [Tue, 2 Jun 2009 00:50:35 +0000 (08:50 +0800)]
Adding common unregister code in atmodem driver

Modem cleanup happens in two places: manager_free (ofono exit) and
manager_destroy (manually removing a specific modem).  Both need
to unregister the entire set of registered interfaces.

manager_destroy function did not unregister all interfaces.  Fixed
by adding a common function for both code paths.

15 years agoSquash another uninitialized warning
Denis Kenzior [Mon, 1 Jun 2009 18:57:47 +0000 (13:57 -0500)]
Squash another uninitialized warning

GCC detects that next_octet only sets oct if successful.  However,
we've already checked the length, so it should always succeed.

15 years agoSquash another uninitialized warning
Denis Kenzior [Mon, 1 Jun 2009 18:56:50 +0000 (13:56 -0500)]
Squash another uninitialized warning

GCC is smart enough to detect that oct is only set if the next_octet
function succeeds.  However, we've already checked that buf is big
enough, so it should always succeed.  Still, lets keep gcc happy

15 years agoSquish another uninitialized warning in CB
Denis Kenzior [Mon, 1 Jun 2009 18:47:55 +0000 (13:47 -0500)]
Squish another uninitialized warning in CB

15 years agoSquish another uninitialized warning
Denis Kenzior [Mon, 1 Jun 2009 18:47:20 +0000 (13:47 -0500)]
Squish another uninitialized warning

15 years agoChange int type to enum for SS control callbacks
Denis Kenzior [Mon, 1 Jun 2009 18:46:42 +0000 (13:46 -0500)]
Change int type to enum for SS control callbacks

15 years agoSquash another uninitialized value warning
Denis Kenzior [Mon, 1 Jun 2009 17:51:49 +0000 (12:51 -0500)]
Squash another uninitialized value warning

15 years agoForgot this for SMS driver
Denis Kenzior [Mon, 1 Jun 2009 19:03:24 +0000 (14:03 -0500)]
Forgot this for SMS driver

15 years agoForgot to add this
Denis Kenzior [Mon, 1 Jun 2009 19:01:18 +0000 (14:01 -0500)]
Forgot to add this

15 years agoAdd atmodem driver implementation for SMS
Denis Kenzior [Fri, 29 May 2009 23:31:46 +0000 (18:31 -0500)]
Add atmodem driver implementation for SMS

15 years agoAdd basic skeleton for SmsManager interface
Denis Kenzior [Fri, 29 May 2009 23:31:33 +0000 (18:31 -0500)]
Add basic skeleton for SmsManager interface

15 years agoDo not use empty prefixes
Denis Kenzior [Fri, 29 May 2009 23:14:40 +0000 (18:14 -0500)]
Do not use empty prefixes

15 years agoRemove unnecessary define
Denis Kenzior [Fri, 29 May 2009 20:29:12 +0000 (15:29 -0500)]
Remove unnecessary define

15 years agoMention Minjun's contribution
Denis Kenzior [Fri, 29 May 2009 01:47:04 +0000 (20:47 -0500)]
Mention Minjun's contribution

15 years agoRemove unused function
Denis Kenzior [Fri, 29 May 2009 01:44:30 +0000 (20:44 -0500)]
Remove unused function

15 years agoRemove unused function
Denis Kenzior [Fri, 29 May 2009 01:44:03 +0000 (20:44 -0500)]
Remove unused function

15 years agoFree voicecalls when exiting
Denis Kenzior [Fri, 29 May 2009 01:42:49 +0000 (20:42 -0500)]
Free voicecalls when exiting

15 years agoDon't emit the Operator changed if not registered
Denis Kenzior [Thu, 28 May 2009 23:16:40 +0000 (18:16 -0500)]
Don't emit the Operator changed if not registered

SPN Update emits the Operator property changed signal.  However,
this should not happen if there is no current operator

15 years agoAdd test script for NetworkRegistration interface
Denis Kenzior [Thu, 28 May 2009 23:20:23 +0000 (18:20 -0500)]
Add test script for NetworkRegistration interface

15 years agoFix a few style issues
Denis Kenzior [Thu, 28 May 2009 23:16:24 +0000 (18:16 -0500)]
Fix a few style issues

15 years agoFix signal emission when the operator changes
Denis Kenzior [Thu, 28 May 2009 22:58:10 +0000 (17:58 -0500)]
Fix signal emission when the operator changes

If the operator changes without going through a searching state the
Operator change signal was not properly emitted

15 years agoAdding test script to test CallBarring SS strings
Denis Kenzior [Thu, 28 May 2009 21:50:31 +0000 (16:50 -0500)]
Adding test script to test CallBarring SS strings

15 years agoAdd test script for CallBarring interface
Denis Kenzior [Thu, 28 May 2009 21:13:41 +0000 (16:13 -0500)]
Add test script for CallBarring interface

15 years agoAdding test script for CallMeter interface
Denis Kenzior [Thu, 28 May 2009 21:05:26 +0000 (16:05 -0500)]
Adding test script for CallMeter interface

15 years agoRemove unused function
Denis Kenzior [Thu, 28 May 2009 20:14:33 +0000 (15:14 -0500)]
Remove unused function

15 years agoMinor style tweak
Denis Kenzior [Thu, 28 May 2009 20:01:14 +0000 (15:01 -0500)]
Minor style tweak

15 years agoAdd Supplementary Services test for CallSettings
Denis Kenzior [Thu, 28 May 2009 19:54:12 +0000 (14:54 -0500)]
Add Supplementary Services test for CallSettings

15 years agoAdd simple test for CallSettings interface
Denis Kenzior [Thu, 28 May 2009 18:51:41 +0000 (13:51 -0500)]
Add simple test for CallSettings interface

15 years agoSquash CallWaiting onto CallSettings interface
Denis Kenzior [Thu, 28 May 2009 18:50:25 +0000 (13:50 -0500)]
Squash CallWaiting onto CallSettings interface

The CallWaiting interface had one settable attribute after the latest
set of refactoring.  Squash it onto the CallSettings interface where
it belonged in the first place

15 years agoSimplify CallWaiting plugin interface
Denis Kenzior [Thu, 28 May 2009 16:21:26 +0000 (11:21 -0500)]
Simplify CallWaiting plugin interface

The use of a struct with status & cls seemed pointless when only
a single integer can work just as well.

Also the Fax & Data attributes have been squished.  oFono does
not yet support those call types.

15 years agoFix CallWaiting ss request to query bearers better
Denis Kenzior [Thu, 28 May 2009 16:20:40 +0000 (11:20 -0500)]
Fix CallWaiting ss request to query bearers better

15 years agoSquash gcc warning about uninitialized use of v
Denis Kenzior [Thu, 28 May 2009 15:02:22 +0000 (10:02 -0500)]
Squash gcc warning about uninitialized use of v

15 years agoTweak the call barring API
Denis Kenzior [Wed, 27 May 2009 22:33:41 +0000 (17:33 -0500)]
Tweak the call barring API

15 years agoMake CB operations take a mask of the bearers
Denis Kenzior [Wed, 27 May 2009 22:31:23 +0000 (17:31 -0500)]
Make CB operations take a mask of the bearers

Currently we only really support Voice calls, so only that
bearer is enabled.  However, in the future we might support
other call types.

15 years agoMake Operator attribute work when SPN is empty
Denis Kenzior [Wed, 27 May 2009 19:52:35 +0000 (14:52 -0500)]
Make Operator attribute work when SPN is empty

15 years agoDelete the repeated calling of voicecall_create
Minjun Li [Tue, 26 May 2009 07:37:22 +0000 (15:37 +0800)]
Delete the repeated calling of voicecall_create

15 years agoFix erroneous check in voicecall_busy to set_udub
Minjun Li [Tue, 26 May 2009 07:28:00 +0000 (15:28 +0800)]
Fix erroneous check in voicecall_busy to set_udub

The not implemented check should be checking for the presence of the
set_udub function, not the presence of the release_specific function

15 years agoAdd plus sign for ATD when dialing international
Denis Kenzior [Tue, 26 May 2009 23:09:07 +0000 (18:09 -0500)]
Add plus sign for ATD when dialing international

15 years agoIgnore cls for call barring queries
Denis Kenzior [Tue, 26 May 2009 23:07:48 +0000 (18:07 -0500)]
Ignore cls for call barring queries

15 years agoCleanup SimManager interface
Denis Kenzior [Tue, 26 May 2009 23:04:31 +0000 (18:04 -0500)]
Cleanup SimManager interface

Future-Proof own numbers support.  For now we only report voice numbers
Rename attributes to be a bit better

15 years agoFixup the initialization / destruction order
Denis Kenzior [Tue, 26 May 2009 22:36:42 +0000 (17:36 -0500)]
Fixup the initialization / destruction order

15 years agoCreate ofono_phone_number struct
Denis Kenzior [Tue, 26 May 2009 18:48:42 +0000 (13:48 -0500)]
Create ofono_phone_number struct

Creates a new structure in driver.h called ofono_phone_number.
This is meant to replace const char *number, int number_type
arguments everywhere.

Fix up all existing code to use this structure instead.

15 years agoAdd atmodem SIM-related operations
Andrzej Zaborowski [Fri, 22 May 2009 11:58:49 +0000 (13:58 +0200)]
Add atmodem SIM-related operations

15 years agoAdd hex-encoded character string getter to AtChat
Andrzej Zaborowski [Fri, 22 May 2009 11:58:49 +0000 (13:58 +0200)]
Add hex-encoded character string getter to AtChat

15 years agoAdd SimManager interface.
Andrzej Zaborowski [Fri, 22 May 2009 11:57:18 +0000 (13:57 +0200)]
Add SimManager interface.

Implement basic SIM filesystem utilities.

Obtain Service Provider Name EF-SPN record.

Make NetworkRegistration use SPN for PLMN display. This implements PLMN
display rules in 31.102 "EFSPN".

15 years agoMake voicecall test a bit more generic
Denis Kenzior [Thu, 21 May 2009 23:57:44 +0000 (18:57 -0500)]
Make voicecall test a bit more generic

15 years agoAdd more basic test scripts
Denis Kenzior [Thu, 21 May 2009 21:21:15 +0000 (16:21 -0500)]
Add more basic test scripts

15 years agoAdding basic Call Forwarding test scripts
Denis Kenzior [Thu, 21 May 2009 21:18:49 +0000 (16:18 -0500)]
Adding basic Call Forwarding test scripts

15 years agoMake the Call Forwarding atmodem driver work
Denis Kenzior [Thu, 21 May 2009 21:17:20 +0000 (16:17 -0500)]
Make the Call Forwarding atmodem driver work

15 years agoSimplify CallForwarding interface
Denis Kenzior [Thu, 21 May 2009 21:14:51 +0000 (16:14 -0500)]
Simplify CallForwarding interface

Simplify the Call Forwarding interface using some of the ideas from the
Call Barring interface.  The code should be much easier to follow now

Remove Data/Fax attributes and refactor how the Supplementary Service
requests are performed.  The Data/Fax attributes can still be
controlled via supplementary service strings for GCF compliance, but
have been removed from general consumption since oFono does not yet
support Fax or Data bearers.

15 years agoFix Supplementary Service MMI strings per 22.030
Denis Kenzior [Thu, 21 May 2009 21:14:01 +0000 (16:14 -0500)]
Fix Supplementary Service MMI strings per 22.030

15 years agoFix minor logic flow bug in CallBarring
Denis Kenzior [Wed, 20 May 2009 20:34:37 +0000 (15:34 -0500)]
Fix minor logic flow bug in CallBarring

15 years agoRemove yet more unused variables.
Andrzej Zaborowski [Tue, 19 May 2009 15:52:52 +0000 (17:52 +0200)]
Remove yet more unused variables.

15 years agoAdd class parameter to the query function for CB
Denis Kenzior [Wed, 20 May 2009 17:36:43 +0000 (12:36 -0500)]
Add class parameter to the query function for CB

15 years agoFixup SS control case
Denis Kenzior [Wed, 20 May 2009 17:35:15 +0000 (12:35 -0500)]
Fixup SS control case

In certain cases, querying/setting prperties via SS control req
doesn't provide complete state, resulting in subsequent
GetProperties reporting incorrect values

15 years agoFix some minor style issues
Denis Kenzior [Wed, 20 May 2009 04:11:26 +0000 (23:11 -0500)]
Fix some minor style issues

15 years agoMinor build system fix
Denis Kenzior [Mon, 18 May 2009 20:12:17 +0000 (15:12 -0500)]
Minor build system fix

15 years agoRework Call Barring Interface
Denis Kenzior [Mon, 18 May 2009 20:11:17 +0000 (15:11 -0500)]
Rework Call Barring Interface

15 years agodrivers/atmodem implementation for CallBarring.
Andrzej Zaborowski [Thu, 14 May 2009 22:15:03 +0000 (00:15 +0200)]
drivers/atmodem implementation for CallBarring.

15 years agoImplement the CallBarring interface.
Andrzej Zaborowski [Thu, 14 May 2009 22:14:49 +0000 (00:14 +0200)]
Implement the CallBarring interface.

15 years agoFix a potential build name clash
Marcel Holtmann [Wed, 13 May 2009 18:23:16 +0000 (11:23 -0700)]
Fix a potential build name clash

15 years agoAdd skeleton for PhoNet modem driver
Marcel Holtmann [Wed, 13 May 2009 18:21:13 +0000 (11:21 -0700)]
Add skeleton for PhoNet modem driver

15 years agoUse $(top_srcdir) for unit tests compilation
Marcel Holtmann [Wed, 13 May 2009 04:41:32 +0000 (21:41 -0700)]
Use $(top_srcdir) for unit tests compilation

15 years agoFix problem with unit tests and distcheck
Marcel Holtmann [Wed, 13 May 2009 03:35:25 +0000 (20:35 -0700)]
Fix problem with unit tests and distcheck

15 years agoFix fallout of CSSD support patch
Marcel Holtmann [Wed, 13 May 2009 03:34:49 +0000 (20:34 -0700)]
Fix fallout of CSSD support patch

15 years agoAdd directory with unit tests
Denis Kenzior [Tue, 12 May 2009 18:16:10 +0000 (13:16 -0500)]
Add directory with unit tests

Includes tests for SS parser, utility functions and SMS PDU
decoder / encoder utilities.

15 years agoUpdate spelling for Andrew's name
Marcel Holtmann [Wed, 13 May 2009 02:10:23 +0000 (19:10 -0700)]
Update spelling for Andrew's name

15 years agoReplace "aofono_" back with "atd_".
Andrzej Zaborowski [Tue, 12 May 2009 16:14:39 +0000 (18:14 +0200)]
Replace "aofono_" back with "atd_".

15 years agoImplement AT plugin hooks for +CSSN API.
Andrzej Zaborowski [Tue, 12 May 2009 15:37:06 +0000 (17:37 +0200)]
Implement AT plugin hooks for +CSSN API.

15 years agoAdd an API for a CSSI/CSSU notifications.
Andrzej Zaborowski [Tue, 12 May 2009 15:36:49 +0000 (17:36 +0200)]
Add an API for a CSSI/CSSU notifications.

15 years agoImplement callback for the cancel function
Denis Kenzior [Tue, 12 May 2009 22:30:38 +0000 (17:30 -0500)]
Implement callback for the cancel function

15 years agoRemove some other unused variables
Denis Kenzior [Tue, 12 May 2009 22:18:46 +0000 (17:18 -0500)]
Remove some other unused variables

15 years agoRemove unused variables.
Andrzej Zaborowski [Tue, 12 May 2009 15:16:34 +0000 (17:16 +0200)]
Remove unused variables.

15 years agoAdd a set of utility functions for parsing the fundamental SMS PDU/TPDUs.
Denis Kenzior [Tue, 12 May 2009 17:49:45 +0000 (12:49 -0500)]
Add a set of utility functions for parsing the fundamental SMS PDU/TPDUs.

15 years agoAdd development/hacking documentation
Marcel Holtmann [Tue, 12 May 2009 07:32:52 +0000 (00:32 -0700)]
Add development/hacking documentation

15 years agoMake the parent path invalidateable
Denis Kenzior [Mon, 11 May 2009 16:49:53 +0000 (11:49 -0500)]
Make the parent path invalidateable

15 years agoAdd initial implementation of AT modem driver
Denis Kenzior [Mon, 11 May 2009 06:39:27 +0000 (23:39 -0700)]
Add initial implementation of AT modem driver

15 years agoAdd skeleton for AT modem driver plugin
Marcel Holtmann [Mon, 11 May 2009 05:55:11 +0000 (22:55 -0700)]
Add skeleton for AT modem driver plugin

15 years agoFix broken OFONO_PLUGIN_DEFINE for builtin plugins
Marcel Holtmann [Mon, 11 May 2009 05:52:24 +0000 (22:52 -0700)]
Fix broken OFONO_PLUGIN_DEFINE for builtin plugins

15 years agoAdd directory for driver plugins
Marcel Holtmann [Mon, 11 May 2009 05:44:37 +0000 (22:44 -0700)]
Add directory for driver plugins

15 years agoAdd support for builtin plugins
Marcel Holtmann [Mon, 11 May 2009 05:35:29 +0000 (22:35 -0700)]
Add support for builtin plugins

15 years agoAdd AT chat library implementation
Denis Kenzior [Wed, 6 May 2009 21:33:17 +0000 (14:33 -0700)]
Add AT chat library implementation

15 years agoAdd directory for AT chat library
Marcel Holtmann [Wed, 6 May 2009 21:18:30 +0000 (14:18 -0700)]
Add directory for AT chat library

15 years agoFix crash when calling g_dbus_remove_watch from watch callback
Luiz Augusto von Dentz [Wed, 6 May 2009 20:15:27 +0000 (17:15 -0300)]
Fix crash when calling g_dbus_remove_watch from watch callback

15 years agoUpdate project description
Marcel Holtmann [Wed, 6 May 2009 04:21:26 +0000 (21:21 -0700)]
Update project description

15 years agoAdd implementation of telephony daemon
Denis Kenzior [Wed, 6 May 2009 04:13:14 +0000 (21:13 -0700)]
Add implementation of telephony daemon