summaryrefslogtreecommitdiffstats
path: root/src/stk.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-17stk: Partially handle Refresh commandAndrzej Zaborowski1-0/+65
Only the four "NAA initialisation" modes are handled at the moment.
2011-02-02stk: Fix style issuesAki Niemi1-4/+6
2011-01-26stk: Fix issue in stk_alpha_id_setJeevaka Badrappan1-1/+6
Fixes the crash seen with the null alpha identifier. Also removed the icon check since the decision of whether to inform the user of the action is dependent entirely on whether the alpha identifier is provided by the UICC.
2011-01-24stk: change timeout from 10 to 3mintuesJeevaka Badrappan1-1/+1
2011-01-20stk: Handle Launch Browser proactive commandJeevaka Badrappan1-0/+79
2011-01-12stk: make use of ADD_ERROR_RESULT macroJeevaka Badrappan1-39/+30
2011-01-12stk: add additional info for terminal busy resultJeevaka Badrappan1-8/+37
As per the ETSI TS 102 223 specification 8.12.2, it is mandatory to provide additional information for the general result "ME currently unable to process command".
2011-01-06stk: Remove unwanted error checkJeevaka Badrappan1-5/+0
Possible return values of __ofono_voicecall_tone_send are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
2010-12-27stk: Remove unneeded assignmentDenis Kenzior1-3/+1
2010-12-27stk: fix issue in set up menu handlingJeevaka Badrappan1-13/+15
2010-12-23stk: Send the AlphaId's to agentAndrzej Zaborowski1-2/+7
Terminate session if return signature doesn't match but allow agent to return from the call if it does match.
2010-12-10stk: fix issue to avoid null pointer for alpha_idGuillaume Lucas1-7/+6
If a SET UP CALL proactive command with no alpha identifier occurs, the alpha_id pointer will be set to NULL. This will generate a crash in the stkagent with dbus function. To avoid this we use an empty string if the alpha identifier is not present in the command.
2010-12-10stk: No need to check for null textDenis Kenzior1-13/+8
For Set up idle mode text
2010-12-08stk: Handle provide local info proactive commandYang Gu1-0/+77
2010-11-30stk: Add busy error for the display text commandGuillaume Lucas1-0/+15
According to the sequence 1.2 of the ETSI TS 102 384 a busy screen error should be returns for the display text proactive command when the ME is not able to display the text.
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-31/+31
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-25stk: use bigger timeout in DisplayTextAndrzej Zaborowski1-0/+3
When the wait for user confirmation bit is set.
2010-11-23stk: Minor style fixDenis Kenzior1-1/+1
2010-11-23stk: Handle null Text fieldAndrzej Zaborowski1-0/+3
Add a NULL check in dbus_apply_text_attributes because in some places (like DisplayText handler) we call it without checking and we just check the return value once.
2010-11-22src: coding style fixes - rule M6Jeevaka Badrappan1-2/+2
2010-11-08stk: API for SMS Point-to-Point download to UICCAndrzej Zaborowski1-0/+39
The callback returns the TP-User-Data element content of the RP-ACK or RP-ERROR message, returned by the UICC.
2010-11-04sms: Refactor __ofono_sms_txq_submitDenis Kenzior1-3/+4
2010-10-28stk: Handle Send SS in handled_notifyDenis Kenzior1-0/+5
2010-10-27stk: Remove ofono_stk_terminal_response_sent_notifyDenis Kenzior1-7/+11
Not needed for now. We can always put this back in later if need be.
2010-10-27stk: Handle more commands in handled_notifyAndrzej Zaborowski1-0/+27
2010-10-25stk: Default to general beep if no tone is providedDenis Kenzior1-1/+1
According to section 6.6.5 of 102.223
2010-10-25stk: Handle the Play Tone proactive command.Andrzej Zaborowski1-0/+131
2010-10-25stk: Add duration_to_msecs to reduce duplication.Andrzej Zaborowski1-35/+26
2010-10-22stk: Nitpick some newline issuesDenis Kenzior1-4/+5
2010-10-22stk: Apply STK text attributes as htmlAndrzej Zaborowski1-25/+123
2010-10-22stk: use null character instead of 0Denis Kenzior1-2/+3
Slightly better readability
2010-10-22stk: Remove reference to positive EINVALDenis Kenzior1-3/+6
Move it to the original call where it belongs
2010-10-22stk: Handle the Send DTMF proactive commandAndrzej Zaborowski1-1/+142
The default_agent_notify and session_agent_notify changes below are needed for respond_on_exit commands to be able to free up their resources, reset alpha id, etc. Commands other than Send DTMF that use respond_on_exit are all associated with a agent method call and get notified about agent exit in the callback.
2010-10-14stk: Add a debug to print the handled command typeDenis Kenzior1-0/+2
2010-10-14API for STK driver to signal executed commandsAndrzej Zaborowski1-0/+38
Some modems are able to handle some proactive commands in their firmware or otherwise, if the command doesn't require input from user. Nevertheles ofono may need to update internal state or notify the user where necessary. With this api the driver can notify core that a command is being executed in the modem or that a command is finished executing and the TERMINAL RESPONSE has been sent to SIM. It would also be possible for a driver to handle a command.
2010-10-14stk: Simplify and add icon to alphaId apiAndrzej Zaborowski1-18/+7
The assumption is now that stk_alpha_id_set will handle NULL or empty alphaIds or icons.
2010-10-14stk: Make the stk properties not optionalDenis Kenzior1-30/+21
2010-10-14stk: IdleModeIcon and MainMenuIcon propertiesAndrzej Zaborowski1-0/+23
2010-10-14stk: Rename sms_submit_req to extern_reqAndrzej Zaborowski1-8/+13
2010-10-14stk: Reflow stk_menu_create slightlyDenis Kenzior1-7/+8
2010-10-14stk: Add icon ID information in stk_menuAndrzej Zaborowski1-3/+22
2010-10-14stk: Pass icon IDs in stk agent request parametersAndrzej Zaborowski1-14/+14
2010-10-02stk: Additional info for failed Send USSD caseJeevaka Badrappan1-1/+8
2010-09-24stk: Fix missing inlude for encode_hex_own_bufMarcel Holtmann1-0/+1
2010-09-23stk: Add skeleton Refresh handlerDenis Kenzior1-0/+66
2010-09-21stk: Language Notification proactive cmd supportJeevaka Badrappan1-0/+11
2010-09-21sms: Refactor __ofono_sms_txq_submitDenis Kenzior1-2/+6
2010-09-15stk: Refactor Send USSD error handlingDenis Kenzior1-13/+6
2010-09-15stk: Fix style issuesDenis Kenzior1-0/+2
2010-09-15stk: Handling of Send USSD proactive commandJeevaka Badrappan1-1/+172