Commit Graph

21 Commits

Author SHA1 Message Date
Jeevaka Badrappan 4196182770 Fix multi-line comment style issues 2010-09-21 21:16:01 -05:00
Denis Kenzior 04634af6fe common: Implement ofono_uuid_to_str 2010-09-21 08:44:48 -05:00
Zhenhua Zhang 7111325311 Fix a typo in telephony_error_to_str 2010-04-23 11:52:17 -05:00
Denis Kenzior 0aebcb342c Fix: Regression in PIN validity checking 2010-04-02 09:17:34 -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
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
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior ee92dc0b62 Add utility to test for valid APN names 2009-10-30 15:52:29 -05:00
Andrzej Zaborowski 2d992d7912 Always return a string from telephony_error_to_str.
So that it can be used as a printf argument directly.
2009-10-16 11:14:02 -05:00
Andrzej Zaborowski 5773e30373 Refactor: Move network registration status utils
Move the status to string functions to common.c so that they can be
reused in data connection related network registration code.
2009-10-16 11:12:43 -05:00
Denis Kenzior d67ded70ea Fix: Make sure pin isn't empty 2009-09-22 00:07:06 -05:00
Denis Kenzior ee33bc6ab7 Use g_ascii_isdigit 2009-09-17 12:17:42 -05:00
Andrzej Zaborowski 06ea6137a3 Write state of SMS assembly to disk and restore on startup.
This way we can continue receiving segmented messages over a reset or
crash.
2009-09-08 14:44:39 -05:00
Denis Kenzior 7abeb8e4a0 Use types.h instead of driver.h here 2009-08-20 12:48:28 -05:00
Denis Kenzior a8dc75392c Fix minor bug in phone number handling 2009-06-19 21:13:52 -05:00
Andrzej Zaborowski f93376229a Teach USSD to recognise password change strings.
This is slightly hacky, part of ussd.c responsible for registering services
is duplicated and parse_ss_control_string is modified to accept a fourth
SI fragment in the input string.
2009-06-18 16:57:58 -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
Denis Kenzior 335749d163 Fix Supplementary Service MMI strings per 22.030 2009-05-21 17:02:56 -05:00
Denis Kenzior a78b36290b Add implementation of telephony daemon 2009-05-05 21:14:19 -07:00