summaryrefslogtreecommitdiffstats
path: root/src/ussd.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-11ussd: Recover idle state after a transaction errorPhilippe Nunes1-0/+10
The "USSD terminated by network" notification is handled to recover the idle state in case of USSD transaction error.
2012-06-18ussd: send NotRecognized error for invalid USSDDenis Kenzior1-1/+1
2012-05-20Do not set signature and reply in GDBus tablesLucas De Marchi1-9/+9
Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
2012-05-20Convert GDBus methods to use macro helpersLucas De Marchi1-11/+18
With these macro helpers we can separate in/out arguments and use their own vector.
2012-05-20Constify GDBus signal tablesHenrique Dante de Almeida1-1/+1
Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20Constify GDBus method tablesHenrique Dante de Almeida1-1/+1
Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-01-18ussd: Use __ofono_atom_findDenis Kenzior1-6/+4
2011-10-10core: Update copyright informationMarcel Holtmann1-1/+1
2011-01-23ussd: Use global definition of supplementary services interfaceMarcel Holtmann1-8/+9
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-25/+23
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-11-22src: coding style fixes - rule M6Jeevaka Badrappan1-4/+4
2010-10-10ussd: pass call_in_progress to valid_ussd_stringPekka Pessi1-1/+13
Query the voicecall atom whether a call is in progress and pass this information along to valid_ussd_string.
2010-10-10common: fixup logic of valid_ussd_string()Pekka Pessi1-1/+1
The logic of valid_ussd_string was not quite correct as it didn't take care of size 1 USSD strings. In addition, call_in_progress parameter is passed in to take care of size 2 USSD strings which might start with a '1' according to the rules of 22.030. The comment about USSD routing is removed, it is out of scope of oFono. The cellular network routes the USSD requests based on the rules laid out in the 22.090, however, any string that can be encoded according to the rules of 23.030 is valid USSD.
2010-10-06ussd: check g_try_new0 return valuePekka Pessi1-0/+3
2010-09-21Fix multi-line comment style issuesJeevaka Badrappan1-5/+7
2010-09-16ussd: debug log notifysPekka Pessi1-0/+41
2010-09-15ussd: Give proper errorsDenis Kenzior1-2/+2
2010-09-15ussd: No need for these structure membersDenis Kenzior1-8/+0
2010-09-15ussd: Add __ofono_ussd_initiate internal apiJeevaka Badrappan1-5/+96
2010-09-15ussd: Fix up minor style issueDenis Kenzior1-2/+2
2010-09-14ussd: Driver API changesJeevaka Badrappan1-6/+33
To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive Command.
2010-09-09ussd: Add __ofono_ussd_is_busyYang Gu1-0/+11
Send SS requires Call Forwarding / Call Settings / Call Barring to check whether USSD is currently busy. If it is, then the SIM should be notified appropriately. We introduce a function __ofono_ussd_is_busy to help with this.
2010-08-16ussd: Be extra pedantic trying to CancelDenis Kenzior1-0/+7
If we initiated a Respond() transaction, but have not returned from the callback. Or if we already called Cancel and it hasn't returned yet.
2010-08-16ussd: Properly handle cancellationsDenis Kenzior1-13/+15
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