summaryrefslogtreecommitdiffstats
path: root/src/stk.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-22stk: Fix sizeof on memcpyLucas De Marchi1-1/+1
src/stk.c: In function ‘__ofono_cbs_sim_download’: src/stk.c:283:45: error: argument to ‘sizeof’ in ‘memcpy’ call is the same expression as the source; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memcpy(&e.cbs_pp_download.page, msg, sizeof(msg)); ^
2013-01-01stk: Fix crash with Modem-Handled SIM RefreshDenis Kenzior1-1/+7
2013-01-01Revert "stk: Fix crash in SIM refresh handling"Denis Kenzior1-2/+2
This reverts commit dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5.
2012-11-28stk: Fix Set Up Call with pause charactersDenis Kenzior1-1/+14
Set Up Call with extra DTMF characters after the phone number should be set up with only the dialed number. Otherwise we get a sequence like this: {VoiceCallManager} [CallAdded] /ifx_0/voicecall01 { LineIdentification = +012340123456c1c2, Name = , Emergency = False, Multiparty = False, RemoteHeld = False, State = alerting, RemoteMultiparty = False }
2012-11-28stk: Print what kind of info the SIM wantsDenis Kenzior1-3/+45
In Provide Local Information implementation
2012-11-28stk: Handle self explanatory icons in idle mode textDenis Kenzior1-5/+9
2012-11-28stk: Handle icon self explanatory in play toneDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in get inputDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in get inkeyDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in display textDenis Kenzior1-0/+4
2012-11-28stk: Handle icon self explanatory in menusDenis Kenzior1-0/+5
2012-11-22stk: Fix crash in SIM refresh handlingDenis Kenzior1-2/+2
2012-11-22stk: Always include IdleModeText in GetPropertiesDenis Kenzior1-1/+1
2012-11-22stk: Use the shorter timeout for select itemDenis Kenzior1-1/+1
2012-11-22stk: use longer timeout for ImmediateResponseDenis Kenzior1-0/+3
2012-11-22stk: Use short timeout for get_inkeyDenis Kenzior1-1/+1
2012-11-22stk: Use a shorter timeout for DisplayTextDenis Kenzior1-2/+2
For any commands that are tagged as wait-for-user to clear, we should use the shorter timeout. The test system expects 25 to 35 seconds.
2012-10-31stk: Tweak the concept of continuous tonesDenis Kenzior1-4/+12
The spec explicitly mentions continuous or repeatable tones. 02.40 only mentions the RP-ACK tone as a single tone, all other tones seem to be repeatable
2012-09-17stk: AID shall not be displayed in certain casesPhilippe Nunes1-0/+12
When the icon is marked as self explanatory, the AID should not be displayed.
2012-09-17stk: move number conversion to a utility functionPhilippe Nunes1-15/+43
The dialing number provided by the Setup Call proactive command may contain pause and DTMF characters.
2012-08-30stk: Fix comment styleDenis Kenzior1-3/+1
2012-08-30stk: Ask for immediate digit response as requiredPhilippe Nunes1-2/+7
This is done by using the stk_agent_request_quick_digit function introduced in the previous commit.
2012-08-30stk: Check if an agent is registered when UI is requiredPhilippe Nunes1-0/+9
In case of unsolicited proactive command, we could have a crash when no agent was registered.
2012-08-30stk: Display action information while sending USSDPhilippe Nunes1-5/+14
2012-06-16stk: Fix crash when envelope returns syncDenis Kenzior1-3/+4
ofonod[13066]: src/stk.c:stk_select_item() ofonod[13066]: src/stk.c:stk_select_item() ofonod[13066]: src/stk.c:stk_send_envelope() ofonod[13066]: drivers/qmimodem/stk.c:qmi_envelope() ofonod[13066]: src/stk.c:envelope_cb() length 0 ofonod[13066]: src/stk.c:menu_selection_envelope_cb() ofonod[13066]: Sending Menu Selection to UICC failed process 13066: arguments to dbus_message_new_error() were incorrect, assertion "reply_to != NULL" failed in file dbus-message.c line 1333. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace ofonod[13066]: Aborting (signal 6) [./src/ofonod] ofonod[13066]: ++++++++ backtrace ++++++++
2012-05-20Do not set signature and reply in GDBus tablesLucas De Marchi1-7/+7
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-8/+14
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-18stk: find_atom only returns registered atomsDenis Kenzior1-9/+4
This seems to be an oversight from an earlier refactoring.
2012-01-18stk: Use __ofono_atom_findDenis Kenzior1-73/+28
2011-10-10core: Update copyright informationMarcel Holtmann1-1/+1
2011-08-14stk: Fix crashesDenis Kenzior1-36/+13
2011-07-25stk: Fix missing break statementDenis Kenzior1-0/+1
2011-07-25stk: Make sure to set cancel_cmdDenis Kenzior1-17/+34
For handled commands, in case the terminal response is not reported by the modem, we must set the cancel_cmd variable so the command is canceled properly. This patch also modifies the behavior so that pending_cmd is freed, since stk_proactive_command_cancel expects cancel_cmd to be set if pending_cmd is not NULL.
2011-07-25stk: Remove code that does nothingDenis Kenzior1-3/+0
2011-07-25stk: Fix possible crashDenis Kenzior1-4/+4
We can't call stk_command_free on a NULL object
2011-07-25stk: Handle set up call in handled_notifyJeevaka Badrappan1-26/+140
2011-07-15stk: Fix crash seen in stk_alpha_id_unsetJeevaka Badrappan1-1/+6
If there is no default agent, then current agent also will be NULL. So, call stk_agent_request_cancel only when there is a valid current agent.
2011-07-06stk: Use the right command pointerAndrzej Zaborowski1-1/+1
2011-05-31stk: Cancel pending DTMF tones if session is endedDenis Kenzior1-13/+25
The Send DTMF command is special in its use of DisplayAction method of STK agent. This allows the user to send a 'User Terminated Session' response to the SIM. If the user performs this action, then any pending DTMFs should also be canceled as soon as possible.
2011-05-31stk: simplify respond_on_exit flag handlingPhilippe Nunes1-25/+2
respond_on_exit flag is set by commands which are dispatched to the agent, so that if the agent exits prematurely, a 'User Terminated Session' response is sent to the SIM. There were a couple of corner cases not quite handled correctly: - During Set Up Call, if the user confirmation phase succeeded and the call was dispatched to voicecall atom successfully, and the agent exited at this point, then no terminal response would be sent until the call succeeded / failed. Now the agent termination results in an 'User Terminated Session' response being sent immediately, but the call setup proceeding.
2011-04-05stk: No more need to use get_registeredDenis Kenzior1-3/+3
__ofono_modem_find_atom returns only atoms that are registered now.
2011-04-05stk: Check for USSD atom before othersDenis Kenzior1-6/+6
For efficiency (and consistency) we should check for the USSD atom before checking CallForwarding, CallBarring, and CallSettings atoms.
2011-04-05stk: Check if terminal is busy before SIM RefreshAndrzej Zaborowski1-23/+71
2011-03-30stk: Handle user termination for Send DTMFPhilippe Nunes1-5/+21
2011-03-23stk: Fix getenv failure caseJeevaka Badrappan1-3/+3
2011-03-16stk: fix issue with Get Inkey variable timeoutJeevaka Badrappan1-2/+26
2011-03-02stk: Handle Refresh if also performed by modemAndrzej Zaborowski1-6/+30
2011-02-28stk: Make sure to reset respond_on_exitAndrzej Zaborowski1-0/+1
This fixes a crash spotted by Lasse Kunnasluoto documented at http://lists.ofono.org/pipermail/ofono/2011-February/009211.html