Commit Graph

861 Commits

Author SHA1 Message Date
Denis Kenzior e05318aa5a Refactor: Rename netreg Operator property to Name 2010-03-25 10:57:52 -05:00
Denis Kenzior 538cd6a1cb Refactor: Rename radio setting type names 2010-03-25 10:42:48 -05:00
Denis Kenzior 77693b697d Rename AvailableOperators to Operators 2010-03-25 10:37:46 -05:00
Denis Kenzior 1e783b33d9 Refactor: Simplify Technology values
Applications don't really understand our current values very well and
would need to look up the spec.  Instead we change to much more commonly
accepted terms.
2010-03-25 10:29:01 -05:00
Denis Kenzior 9390dbaf31 Refactor: Remove MobileNetworkCodeLength property
Replaced by MNC/MCC properties which is more intuitive for use by
external applications.
2010-03-25 10:21:37 -05:00
Yang Gu dd2a1e648b Add enum for cdma sms tpdu data objects 2010-03-24 15:23:50 -05:00
Yang Gu 6e70b6eeea Fix enum for more time proactive command 2010-03-24 15:23:49 -05:00
Denis Kenzior d3ac9188f0 Fix: Handle broken modems that returns empty COPS 2010-03-23 21:16:50 -05:00
Denis Kenzior 01a4a93bee Move netreg interface definitions to dbus.h 2010-03-23 13:35:58 -05:00
Denis Kenzior 5609034d97 Style: Fixup some style issues
- Large if statements should be handled as switchcase
- Avoid initialization of variables, even if code needs to be rearranged
2010-03-23 12:31:00 -05:00
Yang Gu 0ef68e31e2 Add parser for file list objects 2010-03-23 12:12:03 -05:00
Denis Kenzior a5d54581ad Move sim manager interface definition to dbus.h 2010-03-22 15:39:13 -05:00
Denis Kenzior 0e09221ea5 Move cbs interface definition to dbus.h 2010-03-22 15:36:04 -05:00
Denis Kenzior 500f291030 Move call volume interface definition to dbus.h 2010-03-22 15:33:56 -05:00
Denis Kenzior bbfd7db3cc Move mwi interface definition to dbus.h 2010-03-22 15:31:03 -05:00
Denis Kenzior 6425706c9d Move radio settings interface definition to dbus.h 2010-03-22 15:29:03 -05:00
Denis Kenzior 5ab70ab5f2 Move sms interface definition to dbus.h 2010-03-22 15:28:08 -05:00
Denis Kenzior e1e036b5df Move voicecall interface definitions to dbus.h 2010-03-22 15:27:08 -05:00
Marcel Holtmann 256c6e14c7 Revert the default statement for PIN type checking
Also fix the coding style for the switch statement and remove the
number assignment for an internal enum.
2010-03-20 02:26:57 +01:00
Denis Kenzior d6e78f7828 Trivial: Add break statement
In case we ever extend the enum/switch and unwittingly introduce a bug.
2010-03-19 13:52:57 -05:00
Pekka Pessi 9a398a1087 Fix: Check password length based on its type
The different password types have different length requirements, so
update is_valid_pin to validate according to the password type being
validated (PIN / PUK / NET)
2010-03-19 13:48:04 -05:00
Pekka Pessi 3f6da155bd Fix: Interrogation of barring does not need pin 2010-03-18 11:36:19 -05:00
Pekka Pessi 7b62731ded Fix: Number of barring services is constant 2010-03-18 11:36:09 -05:00
Denis Kenzior d1c85bd14c Style: Remove the now unnecessary braces 2010-03-18 11:27:06 -05:00
Pekka Pessi cf18a9df27 Fix: Return newly-queried barring status
We were returning the contents of the old locks
2010-03-18 11:13:22 -05:00
Pekka Pessi 15a4ecf8a8 Fix: call barring can only be (de)activated 2010-03-18 11:09:36 -05:00
Denis Kenzior b3a6883125 Fix: Use g_try_malloc when parsing stk result 2010-03-16 17:42:18 -05:00
Denis Kenzior e246b414c9 Fix: Use g_try_malloc when parsing stk address 2010-03-16 17:42:08 -05:00
Denis Kenzior 213e1ed65a Fix: Use g_try_malloc instead of g_malloc in util
In these cases we were checking for NULL return, but the function used
should have been g_try_malloc instead.
2010-03-16 17:21:06 -05:00
Denis Kenzior 68b01ce93e Refactor: create_dirs logic
- Remove reference to g_malloc and replace with g_try_malloc
- Be extra pedantic on the inputs
- Refactor the logic to make it slightly easier to follow
2010-03-16 17:19:01 -05:00
Denis Kenzior 62007cd074 Fix: Fixup error paths in sim_op_check_cached 2010-03-16 15:45:04 -05:00
Denis Kenzior b025179101 Fix: avoid assigning to return structure on error 2010-03-16 15:30:07 -05:00
Denis Kenzior 66557e0d2b Style: Spaces before / after arithmetic operations 2010-03-16 15:30:07 -05:00
Denis Kenzior d18d66b712 Style: Align the enum values to be easier to read 2010-03-16 15:30:07 -05:00
Yang Gu 26f28df18a Handle the conversion failure when parsing item 2010-03-16 15:30:06 -05:00
Yang Gu 69846439e6 Fix the structure of stk_subaddress 2010-03-16 15:30:06 -05:00
Denis Kenzior 79630b2bd4 Add stk tone type enum 2010-03-15 21:11:11 -05:00
Denis Kenzior e64596f1dc Add parser for STK send sms proactive commands 2010-03-15 21:02:06 -05:00
Denis Kenzior a16f270eb1 Refactor: stk send_sms datastructure 2010-03-15 21:02:06 -05:00
Denis Kenzior 6986cc4760 Refactor: stk result dataobject 2010-03-15 21:02:06 -05:00
Denis Kenzior a74bd04edf Reorder: stk response length structure
Follow the order of the specification
2010-03-15 21:02:06 -05:00
Denis Kenzior 12e411e6fc Refactor: stk item id dataobj 2010-03-15 21:02:06 -05:00
Denis Kenzior 6404e7c4bd Refactor: stk item dataobject 2010-03-15 21:02:06 -05:00
Denis Kenzior 44476dac9e Refactor: stk configuration capability parameters 2010-03-15 21:02:06 -05:00
Denis Kenzior e5dff20ff5 Refactor: Update the subaddress structure 2010-03-15 21:02:06 -05:00
Denis Kenzior bbf67bd4a0 Refactor: stk alpha identifier object
Style issues, we must also return FALSE in case conversion fails
2010-03-15 21:02:02 -05:00
Denis Kenzior 1dfb59b610 Refactor: stk address structure 2010-03-10 13:17:22 -06:00
Yang Gu ea1dc4811f Add parser for tone objects 2010-03-10 13:14:12 -06:00
Yang Gu 3a826529e9 Add parser for sms tpdu objects 2010-03-10 13:14:12 -06:00
Yang Gu 81e01f82cc Add parser for result objects 2010-03-10 13:14:12 -06:00