Commit Graph

8181 Commits

Author SHA1 Message Date
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
Denis Kenzior 3016d0859d Adding basic Call Forwarding test scripts 2009-05-21 17:06:03 -05:00
Denis Kenzior 6fb0d8dbfe Make the Call Forwarding atmodem driver work 2009-05-21 17:05:27 -05:00
Denis Kenzior 8b49de31cf 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.
2009-05-21 17:02:58 -05:00
Denis Kenzior 335749d163 Fix Supplementary Service MMI strings per 22.030 2009-05-21 17:02:56 -05:00
Denis Kenzior 77b0d38a14 Fix minor logic flow bug in CallBarring 2009-05-21 17:02:29 -05:00
Andrzej Zaborowski 64bde63431 Remove yet more unused variables. 2009-05-20 13:10:07 -05:00
Denis Kenzior 80828c5ee3 Add class parameter to the query function for CB 2009-05-20 13:06:51 -05:00
Denis Kenzior a76864dd5f 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
2009-05-20 13:06:23 -05:00
Denis Kenzior e220d45b86 Fix some minor style issues 2009-05-20 13:03:40 -05:00
Denis Kenzior b082f87354 Minor build system fix 2009-05-20 13:03:36 -05:00
Denis Kenzior 8022060bc2 Rework Call Barring Interface 2009-05-20 13:03:12 -05:00
Andrzej Zaborowski 511d4f2ce5 drivers/atmodem implementation for CallBarring. 2009-05-20 12:51:17 -05:00
Andrzej Zaborowski e92710e2e1 Implement the CallBarring interface. 2009-05-20 12:51:11 -05:00
Marcel Holtmann c427cdfdfa Fix a potential build name clash 2009-05-13 11:23:16 -07:00
Marcel Holtmann 36eeffeede Add skeleton for PhoNet modem driver 2009-05-13 11:21:13 -07:00
Marcel Holtmann b77f2fee1e Use $(top_srcdir) for unit tests compilation 2009-05-12 21:41:32 -07:00
Marcel Holtmann c0cda597a3 Fix problem with unit tests and distcheck 2009-05-12 20:35:25 -07:00
Marcel Holtmann 1897eefb7c Fix fallout of CSSD support patch 2009-05-12 20:34:49 -07:00
Denis Kenzior c7c793ac80 Add directory with unit tests
Includes tests for SS parser, utility functions and SMS PDU
decoder / encoder utilities.
2009-05-12 20:22:20 -07:00
Marcel Holtmann 4c90cbbb2a Update spelling for Andrew's name 2009-05-12 19:10:23 -07:00
Andrzej Zaborowski 3bde117026 Replace "aofono_" back with "atd_". 2009-05-12 19:09:57 -07:00
Andrzej Zaborowski d0066bed96 Implement AT plugin hooks for +CSSN API. 2009-05-12 19:09:57 -07:00
Andrzej Zaborowski e63c82e648 Add an API for a CSSI/CSSU notifications. 2009-05-12 19:09:57 -07:00