summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-02-16Handle network-initiated ussd requests.Andrzej Zaborowski1-10/+152
This adds the methods on the D-bus interface to allow the client to handle USSD requests from the network, according to 22.090. Unfortunately this document is not clear on every point and some details can't be implemented. This includes reporting unsupported request to the network, unsupported language, ME busy etc, because there isn't an AT command for that.
2010-02-15Fix: Use g_dbus_emit_signal in call-barring,meterAndrzej Zaborowski2-21/+4
2010-02-15Cleanup: Get rid of USSD_FLAG_PENDINGDenis Kenzior1-24/+10
2010-02-12Fix: Trivial mistakeDenis Kenzior1-3/+0
2010-02-12Add support for modem namesDenis Kenzior1-0/+25
2010-02-10Fix: plugin version mismatch warningInaky Perez-Gonzalez1-1/+2
When complaining about plugin version mismatch, print the version information
2010-02-10Clean: no error path neededInaky Perez-Gonzalez2-4/+10
Remove unneeded error path and document the rationale behind it in __ofono_modem_get_list() and manager_get_properties().
2010-02-10Style: if statementDenis Kenzior1-2/+3
2010-02-09Enable USSD_STATE_USER_ACTIONAki Niemi1-5/+13
If the network requests user action in the response to an MO USSD, we cannot immediately return to USSD_STATE_USER_IDLE. Instead, USSD_STATE_USER_ACTION is entered. Note that it is left up to the driver to notify() when the USSD transaction is closed by the network due to inactivity. Another way to return to USSD_STATE_IDLE is for the user to cancel() the transaction.
2010-02-09Move USSD status enum to headerAki Niemi1-12/+3
2010-02-08Fix: Tweak gprs attach logicDenis Kenzior1-5/+5
We use driver_attached to track whether the driver is attached / attaching. Unfortunately we only set it when set_attached succeeds. Instead we should set it right away when calling set_attached, so we cover pending attaches as well.
2010-02-08Fix: Add recheck flag to gprsDenis Kenzior1-1/+14
When a powered is toggled quickly, we ignore the second request. This flag tells us that we should recheck what the attach status should be once the current operation finishes
2010-02-08Fix: Don't use ofono_debug directly in the coreDenis Kenzior13-83/+82
Use DBG macro which is integrated with the new debug framework.
2010-02-05Fix: Use snprintf instead of sprintf in the coreDenis Kenzior3-12/+15
2010-02-04Add radio settings atom and driver APIAki Niemi2-0/+378
This interface exposes a read-write property for radio access technology selection mode.
2010-02-04Fix: Unnecessary initializationsDenis Kenzior1-2/+2
2010-02-04Fix: missing break statementDenis Kenzior1-0/+2
2010-02-03Fix: Wrong variables useDenis Kenzior1-2/+2
Copy/paste error from above resulted in incorrect variables being used for comparison.
2010-02-03Fix: Check for \r in UCS2 alphabetsDenis Kenzior1-1/+1
2010-01-28Fix some leftover oudated copyrightsMarcel Holtmann1-1/+1
2010-01-26Remove empty block for SIGPIPE handlingMarcel Holtmann1-3/+0
2010-01-26Add support for dynamic debug featureMarcel Holtmann3-26/+49
2010-01-20Fix: Process CBS settings even if no EFcbmidDenis Kenzior1-3/+4
If EFcbmid is not present, corrupt or empty the code that bootstraps the CBS settings is never called.
2010-01-20Fix: Print errors for unlikely CBS failuresDenis Kenzior1-2/+5
These indicate driver / hardware issues rather than anything else.
2010-01-20Fix: NULL check both set_topics and clear_topicsDenis Kenzior1-1/+1
2010-01-20Fix: Make the powered setting actually workDenis Kenzior1-2/+2
2010-01-20Fix: Default to powered=true for CBSDenis Kenzior1-0/+7
2010-01-16Add command line option for printing version numberMarcel Holtmann1-3/+11
2010-01-13Fix: Don't try to unregister a null mcc/mncDenis Kenzior1-1/+7
Network operators with null MCC & MNC are not registered, but we try to unregister them. Don't do this as it causes a crash.
2010-01-12Make setting CPHS MWIS actually workDenis Kenzior1-2/+7
2010-01-12Persist CBS Topics list, handle EF-CBMI, EF-CBMIR.Andrzej Zaborowski1-24/+75
The two SIM files are only used to bootstrap the topics list value if there's no previous value.
2010-01-12Style: Trailing whitespace & extra linesDenis Kenzior2-3/+3
2010-01-12Fix: Make the CPHS MWIS version actually workDenis Kenzior1-33/+20
2010-01-12Refactor: Move copy-pasted code into a functionDenis Kenzior1-25/+33
2010-01-12Fix: Refactor error conditionsDenis Kenzior1-11/+26
2010-01-12Reorder CPHS initializatin orderDenis Kenzior1-114/+119
Two issues - CPHS MWIS file must always be read, the specification isn't clear whether it depends on the Mailbox service to be available - CPHS MBDN file must be read after we read EFmbdn, otherwise it will not be processed properly
2010-01-12Fix: Create a dedicated callback for syncsDenis Kenzior1-4/+16
When synchronizing CPHS MBDN, create a separate callback that doesn't try to emit signals, etc since the main work has already been done when EFmbdn was set successfully.
2010-01-12Remove #if 0Denis Kenzior1-2/+0
2010-01-12Fix: Don't recurse infinitelyDenis Kenzior1-7/+12
We try to keep the CPHS MBDN elementary file in sync with EFmbdn, unfortunately we share the same callback, which leads to infinite recursive writes. Also cleanup the set_mbdn_request structure if the write fails.
2010-01-12Refactor: Rename & Restructure cphs_supportDenis Kenzior2-9/+15
- Rename to cphs_service_table to be more inline with the specification. - Since the spec allows arbitrary length service tables, use an unsigned char * return instead of a short. - Use bit_field function instead of defining an enum
2010-01-12Rename: Rename CPHS Phase enumsDenis Kenzior1-4/+3
Be more consistent with the 3GPP Phase names
2010-01-12If EF-MWIS is not available use the CPHS version.Andrzej Zaborowski2-3/+79
2010-01-12Use CPHS version of mailbox numbers on SIM if 3GPP version not available.Andrzej Zaborowski2-14/+117
Otherwise just try to keep the CPHS version of the files in sync.
2010-01-12Retrieve CPHS phase (if any) from SIM.Andrzej Zaborowski2-1/+47
2010-01-11Remove trailing/leading whitespaceAki Niemi1-2/+2
2010-01-07Make primary context ids persistentDenis Kenzior1-0/+11
2010-01-07Fix: Be paranoid and check that last is in rangeDenis Kenzior1-0/+3
2010-01-07Add idmap_take utilityDenis Kenzior2-1/+14
2010-01-07Use idmap to allocate primary context idsDenis Kenzior1-7/+22
2010-01-07Change the semantics to return id > max on failureDenis Kenzior1-1/+1