summaryrefslogtreecommitdiffstats
path: root/src/common.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-23Fix a typo in telephony_error_to_strZhenhua Zhang1-1/+1
2010-04-02Fix: Regression in PIN validity checkingDenis Kenzior1-1/+1
2010-03-25Refactor: Simplify Technology valuesDenis Kenzior1-8/+8
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-20Revert the default statement for PIN type checkingMarcel Holtmann1-4/+1
Also fix the coding style for the switch statement and remove the number assignment for an internal enum.
2010-03-19Trivial: Add break statementDenis Kenzior1-0/+3
In case we ever extend the enum/switch and unwittingly introduce a bug.
2010-03-19Fix: Check password length based on its typePekka Pessi1-7/+26
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-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-10-30Add utility to test for valid APN namesDenis Kenzior1-0/+26
2009-10-16Always return a string from telephony_error_to_str.Andrzej Zaborowski1-2/+2
So that it can be used as a printf argument directly.
2009-10-16Refactor: Move network registration status utilsAndrzej Zaborowski1-0/+44
Move the status to string functions to common.c so that they can be reused in data connection related network registration code.
2009-09-22Fix: Make sure pin isn't emptyDenis Kenzior1-0/+4
2009-09-17Use g_ascii_isdigitDenis Kenzior1-2/+1
2009-09-08Write state of SMS assembly to disk and restore on startup.Andrzej Zaborowski1-0/+1
This way we can continue receiving segmented messages over a reset or crash.
2009-08-20Use types.h instead of driver.h hereDenis Kenzior1-1/+1
2009-06-19Fix minor bug in phone number handlingDenis Kenzior1-3/+3
2009-06-18Teach USSD to recognise password change strings.Andrzej Zaborowski1-1/+2
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-05-26Create ofono_phone_number structDenis Kenzior1-9/+10
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-21Fix Supplementary Service MMI strings per 22.030Denis Kenzior1-5/+22
2009-05-05Add implementation of telephony daemonDenis Kenzior1-0/+576