Commit Graph

847 Commits

Author SHA1 Message Date
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
Yang Gu a2beff9011 Add parser for item identifier objects 2010-03-10 13:14:12 -06:00
Yang Gu 08faed2287 Add parser for item objects 2010-03-10 13:14:12 -06:00
Yang Gu cb33d07764 Add parser for capability configuration parameters objects 2010-03-10 13:14:12 -06:00
Yang Gu 7b663e9474 Add parser for subaddress objects 2010-03-10 13:14:12 -06:00
Yang Gu 94848b6feb Add parser for alpha identifier objects 2010-03-10 13:14:11 -06:00
Yang Gu ec31f1eabb Add parser for address objects 2010-03-10 13:14:11 -06:00
Denis Kenzior 4c5aaabca4 Fix: warning
src/stkutil.c: In function ‘parse_dataobj_imm_resp’:
src/stkutil.c:191: error: unused variable ‘data’
2010-03-02 12:39:15 -06:00
Denis Kenzior b06cce24d8 stk: Validate src/dst combination 2010-03-01 18:16:23 -06:00
Denis Kenzior 2ea8877b48 Add support for Get Input proactive command 2010-03-01 18:00:57 -06:00
Denis Kenzior 700a0ece69 Support Default Text data objects 2010-03-01 18:00:57 -06:00
Denis Kenzior 2c1cdebd1a Add parser for Response Length objects 2010-03-01 18:00:54 -06:00
Denis Kenzior 704d6175b7 Cleanup: Move some stuff around to be more logical 2010-03-01 17:56:16 -06:00
Denis Kenzior 54ac375066 Add support for GET INKEY proactive command 2010-03-01 17:42:02 -06:00
Denis Kenzior f4f6284f26 Add parser for Frame Identifier object 2010-03-01 17:21:47 -06:00