aboutsummaryrefslogtreecommitdiff
path: root/u300-ril-services.c
AgeCommit message (Collapse)Author
2011-08-02CallForwarding: Set/handle time value in AT+CCFCGjermund Hodnebrog
When reason is "no reply", RIL_REQUEST_QUERY_CALL_FORWARD_STATUS should return timeSeconds value from AT+CCFC response. Also when reason is "no reply" and status is "enable" or "registrarion" timeSeconds parameter from RIL_REQUEST_SET_CALL_FORWARD should be included in AT+CCFC. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2011-08-02Generic: queueRunner synchronizationKim Tommy Humborstad
* RIL queueRunners are now synchronized so runners do not start handling requests before the default thread has finished its initialization. * Screenstate is now properly handled in all modem states. If screenstate request is received in state RADIO_STATE_UNAVAILBLE (when modem communication is impossible) the state is stored and executed as soon as modem is available. * NOTE: A workaround is added for handling the long RIL_Init() delay. This is required since Android framework will bounce early RIL requests when RIL_Init() is not finished. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2011-07-25Generic: Improved static variable handling during modem independent restartKim Tommy Humborstad
Grouped static variables and implemented a way to keep control of resetting variables upon modem independent restart. Some variables also needs to be re-reported to Android upon reset and some need to be re-set in the modem. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2011-04-26Services: Added serviceclass change from 0 to 255 for AT+CCFC command.Kim Tommy Humborstad
For query and set call forwarding serviceclass is changed from Android sending 0 to AT command sent with 255. This will remove the serviceclass from being sent from the modem which is required by some networks. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2011-03-02Services: Changed class conversion to 255 for ussd stringsKim Tommy Humborstad
For request functions that can originate from USSD strings written by the user the basic service (BS) class have been converted from 0 into 255. 0 is not a valid value and the 3GPP standard 24.080 specifices that a SS string without BS is to be considered as "all services". Based on that assumption it is more correct to send 255 as class to modem when Android sends 0: User Android RIL AT/Modem (no bs) 0 255 (no bs) Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2011-02-08Services: Set correct dcs when sending USCDKim Lilliestierna XX
Force the dcs code to 15 for all uscd messages. The default behaviour was to not add a dcs code, resulting in the the default "0" beeing used, meaning German. Android ril.h states that it uses utf8 as default encoding, but there is no dcs code for this so the nearest is "15" unspecified. Fixed response message parsing in RIL_UNSOL_ON_USSD Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2011-02-08Supplementary Services: Conditional exclude of Class from AT+CCWA.Kim Tommy HUMBORSTAD
Changed Set/Query Call waiting to exclude Class from AT+CCWA if Android sends Class 0. Some networks does not permit Class to be given. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2011-01-02Supplementary Services: Corrected AT error handling for RIL comamnds; ↵Yiming LI
RIL_REQUEST_SET_CALL_WAITING and RIL_REQUEST_SET_SUPP_SVC_NOTIFICATION so that an AT error message gets forwarded correctly to Android. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-12-07Services: Added support for missing parameters type and number in ↵Sverre Vegge
RIL_UNSOL_SUPP_SVC_NOTIFICATION. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-12-01Generic: Improving readability of RIL by introducing boolean andMagnus REFTEL
new files for function categorization. - Extended error checking on AT Commands during initialization. - Parameter checking added to some request functions. - Added (void) to functions without parameters for u300-ril.h Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-29Audio: Added new file for tty and other audio related functions (removed ↵Magnus REFTEL
from u300-ril.c) Supplementary Services: Code cleanup on RIL_UNSOL_ON_USSD, RIL_UNSOL_ON_USSD, SET_SUPP_SVC_NOTIFICATION. Voice call: Added DTMF and TTY for Emergency calls. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-29Services: Improve code for RIL_REQUEST_QUERY_CALL_FORWARD_STATUS.Magnus REFTEL
Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-29Services: Improve code and bugfix for RIL_REQUEST_SET_CALL_WAITING Call ↵Magnus REFTEL
handling: Improve code for RIL_REQUEST_SEPARATE_CONNECTION, RIL_REQUEST_SET_MUTE and RIL_REQUEST_DTMF. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-28Network: Implemented RIL_UNSOL_RESTRICTED_STATE_CHANGED.Sverre Vegge
Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-28Messaging: Bugfix in GET/SET BROADCAST SMS CONFIG.Bjorn ENGH
Services: Corrected response in requestCancelUSSD(). PDP: Misc. bugfixes; PAP/CHAP, *EIAAUW parameters. Change-Id: Ie0bd04b20c680214c95993b0f01f5d657673370f Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-26Services: Fix for Android sending wrong parameter for query call waiting.André Carvalho de Matos
The default class value sent by Android when the user does not specify the class. Fixed the return value, according to ril.h the second int should only be sent if the the first int has the value 1. Change-Id: Ifd2a3246e812a4f02470b72c1a4bac28f7bb945d Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-26Code cleanup performed in order to make code more consistent and readable.Joakim Roubert
Change-Id: I01bda5c3e966194945400f04e677d53617e22f23 Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-25Services: Fixed issue with Android sending phone number when disabling call ↵Sverre Vegge
forwarding and issue with Android sendding illegal class = 0. Improved error handling for call forwarding. ST-Ericsson ID: ER269578 ER269585 Change-Id: I8f870ffbf5e497179f64af753e254205367400a2 Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-25Services: Fixed derefferencing void data pointer causing segmentation faultAndy Roberts
Code style updates Change-Id: I12097a02c191a45066d610fa9e1d06612f6fa4ea Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-24Updated for fixes from module testingAndy Roberts
Change-Id: I5d2280e1b27dfad345369ff4961cfda29b2049aa Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
2010-11-23Update for engineering releaseAndy Roberts
Change-Id: Ib8360ffe69b5f230d6d42599239e00bb5f33a1e4 Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
2009-10-26Initial contribution. ST-Ericsson Android RIL - DonutChristian Bejram