Commit Graph

8604 Commits

Author SHA1 Message Date
Denis Kenzior 5e95802699 Add User-Data-Header iterator utilities 2009-06-03 21:08:35 -05:00
Denis Kenzior 356853983e Unit test for SMS-Submit encoding 2009-06-03 21:08:33 -05:00
Denis Kenzior 8a8dfced91 Calculation for UCS2 cases was wrong 2009-06-03 21:08:26 -05:00
Minjun Li e387488f02 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.
2009-06-02 21:36:20 -05:00
Denis Kenzior 2271bca985 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.
2009-06-01 14:05:50 -05:00
Denis Kenzior 05588ca59e 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
2009-06-01 14:05:48 -05:00
Denis Kenzior d0a569b9c0 Squish another uninitialized warning in CB 2009-06-01 14:05:45 -05:00
Denis Kenzior 7995258761 Squish another uninitialized warning 2009-06-01 14:05:43 -05:00
Denis Kenzior dc17c86a19 Change int type to enum for SS control callbacks 2009-06-01 14:05:41 -05:00
Denis Kenzior 8c75a0cdf1 Squash another uninitialized value warning 2009-06-01 14:05:39 -05:00
Denis Kenzior 373bf7e6bf Forgot this for SMS driver 2009-06-01 14:05:36 -05:00
Denis Kenzior 4f554c2cb7 Forgot to add this 2009-06-01 14:05:33 -05:00
Denis Kenzior e8421eea63 Add atmodem driver implementation for SMS 2009-05-29 18:37:44 -05:00
Denis Kenzior d6733e0746 Add basic skeleton for SmsManager interface 2009-05-29 18:37:41 -05:00
Denis Kenzior 5a4d750414 Do not use empty prefixes 2009-05-29 18:37:39 -05:00
Denis Kenzior 6fdc96cb73 Remove unnecessary define 2009-05-29 18:37:36 -05:00
Denis Kenzior 908670af5a Mention Minjun's contribution 2009-05-28 20:47:04 -05:00
Denis Kenzior bab9cd1f4c Remove unused function 2009-05-28 20:45:27 -05:00
Denis Kenzior a4a172d42d Remove unused function 2009-05-28 20:45:25 -05:00
Denis Kenzior 5bffbb8985 Free voicecalls when exiting 2009-05-28 20:45:23 -05:00
Denis Kenzior 99456167ab 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
2009-05-28 20:37:24 -05:00
Denis Kenzior 02555a3a63 Add test script for NetworkRegistration interface 2009-05-28 18:29:07 -05:00
Denis Kenzior 7bd558c788 Fix a few style issues 2009-05-28 18:29:05 -05:00
Denis Kenzior b4d2d29d07 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
2009-05-28 18:29:03 -05:00
Denis Kenzior d9d10f2292 Adding test script to test CallBarring SS strings 2009-05-28 18:29:01 -05:00
Denis Kenzior 703becb24d Add test script for CallBarring interface 2009-05-28 18:28:58 -05:00
Denis Kenzior 0c10adf557 Adding test script for CallMeter interface 2009-05-28 18:28:56 -05:00
Denis Kenzior 558799db9c Remove unused function 2009-05-28 18:28:54 -05:00
Denis Kenzior d200f537d3 Minor style tweak 2009-05-28 18:28:51 -05:00
Denis Kenzior 27349e877a Add Supplementary Services test for CallSettings 2009-05-28 18:28:48 -05:00
Denis Kenzior 7a7e1af833 Add simple test for CallSettings interface 2009-05-28 18:28:46 -05:00
Denis Kenzior 699752eaf1 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
2009-05-28 18:28:40 -05:00
Denis Kenzior 99b01eba7f 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.
2009-05-28 18:25:45 -05:00
Denis Kenzior 1b6369d188 Fix CallWaiting ss request to query bearers better 2009-05-28 18:25:41 -05:00
Denis Kenzior b7b890fdb2 Squash gcc warning about uninitialized use of v 2009-05-28 10:03:44 -05:00
Denis Kenzior b028585d07 Tweak the call barring API 2009-05-28 10:03:38 -05:00
Denis Kenzior dfbda09dc9 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.
2009-05-28 10:03:35 -05:00
Denis Kenzior ce68c39d0b Make Operator attribute work when SPN is empty 2009-05-28 10:03:29 -05:00
Minjun Li 2c73893d0a Delete the repeated calling of voicecall_create 2009-05-27 10:01:47 -05:00
Minjun Li e7fe2273d9 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
2009-05-27 10:00:59 -05:00
Denis Kenzior 0755110ccc Add plus sign for ATD when dialing international 2009-05-26 18:20:08 -05:00
Denis Kenzior 53c55abd44 Ignore cls for call barring queries 2009-05-26 18:20:06 -05:00
Denis Kenzior db2a98ae5a Cleanup SimManager interface
Future-Proof own numbers support.  For now we only report voice numbers
Rename attributes to be a bit better
2009-05-26 18:20:03 -05:00
Denis Kenzior 1d56ce51df Fixup the initialization / destruction order 2009-05-26 18:18:16 -05:00
Denis Kenzior ab68cd8e7e 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.
2009-05-26 18:18:12 -05:00
Andrzej Zaborowski 17fd4588fe Add atmodem SIM-related operations 2009-05-26 18:15:56 -05:00
Andrzej Zaborowski 41afb58bd7 Add hex-encoded character string getter to AtChat 2009-05-26 18:15:53 -05:00
Andrzej Zaborowski 70fce6b551 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".
2009-05-26 18:15:51 -05:00
Denis Kenzior 49da0e11bc Make voicecall test a bit more generic 2009-05-21 18:58:23 -05:00
Denis Kenzior 7de8e45f8a Add more basic test scripts 2009-05-21 17:06:29 -05:00