summaryrefslogtreecommitdiffstats
path: root/src/ussd.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-31Refactor: Return a string from USSD Respond methodAndrzej Zaborowski1-7/+24
Return network's USSD reponses from the Respond method instead of signaling over D-Bus. This should make the UI writer's job a little easier.
2010-02-27Fix: Enter RESPONSE_SENT state in ussd response cbAndrzej Zaborowski1-1/+1
2010-02-16Refactor: ussd user responseDenis Kenzior1-14/+7
When the user sends a response, the network can still continue the dialog, it is not a final response and we cannot transition to an idle state when the command finishes. Instead we set it back to a special state and treat subsequent network responses as unsolicited.
2010-02-16Cleanup: Minor API tweaks for USSDDenis Kenzior1-3/+3
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-15Cleanup: Get rid of USSD_FLAG_PENDINGDenis Kenzior1-24/+10
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: Don't use ofono_debug directly in the coreDenis Kenzior1-8/+8
Use DBG macro which is integrated with the new debug framework.
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-17Style: Fix a few more occurences of if/elseDenis Kenzior1-1/+2
See Linux coding style document for details
2009-10-16Parse +CUSD responses.Andrzej Zaborowski1-0/+3
2009-09-01change int vendor to unsigned int vendorDenis Kenzior1-1/+1
2009-09-01Add vendor flag capability to ussdDenis Kenzior1-2/+2
2009-08-20Remove unused functionDenis Kenzior1-8/+0
2009-08-19Fix cut and paste errorDenis Kenzior1-1/+1
2009-08-17Move ussd-status enum out of common.hDenis Kenzior1-0/+9
2009-08-17Cleanup SSC entries if USSD exits firstDenis Kenzior1-0/+8
2009-08-17Refactor supplementary service control stringsDenis Kenzior1-124/+63
The registration was done by using the storage in the modem. Refactored to use the new atom watch APIs and storing the control entries in the ussd atom itself
2009-08-17Evolve the USSD APIDenis Kenzior1-55/+111
2009-08-13Make ss_passwd_register slightly more efficientDenis Kenzior1-1/+1
2009-08-13Make ss_control_register slightly more efficientDenis Kenzior1-1/+1
2009-07-29Remove all uses of modem.hDenis Kenzior1-1/+0
2009-07-29Rename modem_add_interface / modem_remove_interfaceDenis Kenzior1-2/+2
Move to ofono_modem_add_interface, ofono_modem_remove_interface and put in ofono/modem.h
2009-07-29Get rid of dbus-gsm.hDenis Kenzior1-2/+0
2009-07-29Rename dbus_gsm_pending_replyDenis Kenzior1-1/+1
2009-07-29Rename dbus_gsm error functions to __ofono_errorDenis Kenzior1-14/+14
2009-07-29Move & Rename dbus_gsm_connectionDenis Kenzior1-5/+5
Move to ofono/dbus.h ofono_dbus_get_connection
2009-06-18Fix another logic bug in SS parserDenis Kenzior1-2/+10
If the passwords do not match, it is still a recognized string, but we must return invalid format
2009-06-18Fix logic flow in SS parserDenis Kenzior1-6/+12
2009-06-18Teach USSD to recognise password change strings.Andrzej Zaborowski1-7/+137
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-18Move struct ussd_data definition out of the header.Andrzej Zaborowski1-0/+7
No fuctional change.
2009-05-12Implement callback for the cancel functionDenis Kenzior1-2/+21
2009-05-12Remove some other unused variablesDenis Kenzior1-4/+0
2009-05-05Add implementation of telephony daemonDenis Kenzior1-0/+426