Commit Graph

168 Commits

Author SHA1 Message Date
Andrzej Zaborowski 5b1f4d1216 stk: Add icon ID information in stk_menu 2010-10-14 01:13:56 -05:00
Andrzej Zaborowski 198dcc2c28 stk: Pass icon IDs in stk agent request parameters 2010-10-14 00:58:43 -05:00
Jeevaka Badrappan dac67fe363 stk: Additional info for failed Send USSD case 2010-10-02 17:20:08 -05:00
Marcel Holtmann df0a431a41 stk: Fix missing inlude for encode_hex_own_buf 2010-09-24 09:37:14 +09:00
Denis Kenzior a69ae76207 stk: Add skeleton Refresh handler 2010-09-23 13:17:40 -05:00
Jeevaka Badrappan 64b0af24bd stk: Language Notification proactive cmd support 2010-09-21 08:44:48 -05:00
Denis Kenzior 016f168f47 sms: Refactor __ofono_sms_txq_submit 2010-09-21 08:44:47 -05:00
Denis Kenzior 41a55beef3 stk: Refactor Send USSD error handling 2010-09-15 12:03:02 -05:00
Denis Kenzior d966b6593b stk: Fix style issues 2010-09-15 11:58:29 -05:00
Jeevaka Badrappan 47ddc4b70d stk: Handling of Send USSD proactive command 2010-09-15 11:46:23 -05:00
Andrzej Zaborowski 52161db428 stk: Fix User Cancel response to Set Up Call
One of the clean-up commits changed the semantics of the dial request
callback's parameter (NULL if call setup failed, non-NULL if success
or user cancelled).
2010-09-09 21:45:22 -05:00
Denis Kenzior 605d720bd4 voicecall: Refactor ofono_voicecall_busy 2010-08-27 19:06:36 -05:00
Denis Kenzior ce79af6e5c stk: setup call did not handle agent disappearance 2010-08-27 19:01:44 -05:00
Denis Kenzior 07d576bdca stk: Free select item menu
If calling the agent failed for some reason
2010-08-27 19:01:44 -05:00
Denis Kenzior f528e5d566 stk: Reset cancel_cmd to NULL 2010-08-27 19:01:43 -05:00
Denis Kenzior 159903cc53 stk: set cancel_cmd only if agent was called 2010-08-27 19:01:43 -05:00
Andrzej Zaborowski 9e830e3cc8 stk: Handle the Set Up Call proactive command 2010-08-27 12:57:01 -05:00
Andrzej Zaborowski b6488dec41 stk: reorder: Don't access freed memory in Send SMS
Responding to the stk->pending_cmd frees it, we need to read it
before that.
2010-08-20 09:02:29 -05:00
Marcel Holtmann 5ffd12ff9f stk: Fix error messsage from select item method call 2010-08-20 14:48:48 +02:00
Andrzej Zaborowski c8c8116db4 stk: Update agent_called with GetInkey & GetInput 2010-08-18 00:27:38 -05:00
Marcel Holtmann 5dc131c8ea Add a few debug statements to STK core 2010-08-11 14:18:13 -04:00
Denis Kenzior 9b284c7c35 stk: Rip out the HELP stuff for now
We're not supporting it in the current API and doing so is actually
very painful.
2010-08-04 14:47:38 -05:00
Andrzej Zaborowski c09dfb8473 stk: Handle the Get Input proactive command 2010-08-04 14:29:24 -05:00
Andrzej Zaborowski ed169aa02f stk: Handle the Get Inkey proactive command 2010-08-04 14:13:16 -05:00
Denis Kenzior 8697cbbba8 stk: Remove unneeded check
The agent_remove_source will be canceled as part of the session agent
destruction notify.
2010-07-30 18:50:38 -05:00
Denis Kenzior 41017a11f5 stk: Fix typo in comment 2010-07-30 18:34:49 -05:00
Denis Kenzior e2d6d56374 stk: Handle the case where no agent is registered 2010-07-30 18:17:57 -05:00
Denis Kenzior c2cf374857 stk: Get rid of cancel result
And also rework how immediate response display text gets handled.
2010-07-30 17:19:56 -05:00
Denis Kenzior cf249c9fd7 stk: Introduce destroy semantics to stkagent 2010-07-30 17:19:56 -05:00
Denis Kenzior 27e890cc40 stk: Handle errors when sending to the agent fails 2010-07-30 17:19:56 -05:00
Denis Kenzior 2a1eee38bb stk: Get rid of nested switch 2010-07-30 17:19:56 -05:00
Denis Kenzior e5ea6e2193 stk: Handle the new termination semantics
The termination semantics were changed in stkagent.  Now if an agent
sends an invalid response or an unexpected error, then the agent is
terminated, even if it is the default agent.
2010-07-30 17:19:56 -05:00
Denis Kenzior e44d130b8c stk: Simplify sending of terminal responses
Introduce a new send_simple_response function
2010-07-30 17:19:56 -05:00
Denis Kenzior 3434540d8b stkagent: Make DisplayText invocation match API
For now we match the proposed API until we decide that changes are
needed.
2010-07-30 17:19:56 -05:00
Denis Kenzior 0292fe12c0 stkagent: Get rid of nasty g_timeout tricks 2010-07-30 17:19:55 -05:00
Denis Kenzior 7ad5b35a35 stkagent: Refactor stkagent api 2010-07-30 17:19:55 -05:00
Denis Kenzior dc5a2609b3 stkagent: Rename stk_agent_remove
to stk_agent_free
2010-07-30 17:19:55 -05:00
Andrzej Zaborowski b051f28dbe stk: Handle the Display Text proactive command. 2010-07-30 17:19:55 -05:00
Andrzej Zaborowski 3714eb8acd stk: Handle the Select Item proactive command. 2010-07-30 17:19:55 -05:00
Andrzej Zaborowski 47b95122cc stk: Handle the main menu. 2010-07-30 17:19:55 -05:00
Andrzej Zaborowski 5faa3951c2 stk: Utilities to deal with menus. 2010-07-30 17:19:55 -05:00
Andrzej Zaborowski 9654c69d7d stk: Add STK agent registration api. 2010-07-30 17:19:54 -05:00
Andrzej Zaborowski 7c6758af20 stk: Remove an unneeded check. 2010-07-15 15:41:54 -05:00
Denis Kenzior 465a4f5ef5 stk: Simplify poll interval logic 2010-07-08 14:27:35 -05:00
Denis Kenzior 7d98e604c7 stk: Be more paranoid of enums from stk 2010-07-08 14:27:35 -05:00
Andrzej Zaborowski 45d535b802 stk: Handle the Poll Interval proactive command 2010-07-08 14:27:35 -05:00
Denis Kenzior 00cb839c83 style: Use more understandable syntax 2010-07-08 14:27:34 -05:00
Denis Kenzior ea1f6e11f6 stk: Get rid of gratuitous goto abuse 2010-07-08 14:27:34 -05:00
Denis Kenzior 5094b677ca style: Prefer initialized variables on top 2010-07-08 14:27:34 -05:00
Denis Kenzior 84e73a8b7c sms: Refactor ofono_sms_submit introduced by stk
Simplify the logic and get rid of duplicated code
2010-07-08 14:27:34 -05:00
Denis Kenzior db9b67e791 stk: Don't submit all pending envelopes at once 2010-07-08 14:27:34 -05:00
Denis Kenzior 5efd87fe63 stk: Fix copy / paste error 2010-07-08 14:27:34 -05:00
Denis Kenzior a6edf2c803 stk: Get rid of bin to hex converter
That much code for a debug message is pretty silly.  Perhaps an
ofono_debug_hexdump function is in order.
2010-07-08 14:27:34 -05:00
Denis Kenzior d2dc0480db stk: cancelled variable is not used 2010-07-08 14:27:34 -05:00
Andrzej Zaborowski bd33ab6a6f stk: Handle the Timer Management proactive command 2010-07-08 14:27:34 -05:00
Andrzej Zaborowski c0db55513d stk: Handle the Set Up Idle Text proactive command
This adds a SimToolkit dbus interface with just one property
(IdleModeText).
2010-07-08 14:27:34 -05:00
Andrzej Zaborowski 56d927b814 stk: Handle the Send SMS proactive command. 2010-07-08 14:27:34 -05:00
Andrzej Zaborowski de587870d2 stk: Handle ENVELOPEs in a queue, retry on sim busy.
Some envelope types need to be retried when sim reports busy status.
Then envelopes such as Event Download need to be returned in the
order of the event occurences, so need to be handled in a queue.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski 9d46dbc7a5 stk: Handle MoreTime command as a no-op 2010-07-08 14:27:33 -05:00
Andrzej Zaborowski cbdb7278ac stk: Utilities for proactive command/envelope handling. 2010-07-08 14:27:33 -05:00
Marcel Holtmann fd3a89091c Fix previous commit that broke reference to PDU string buffer 2010-06-16 16:49:14 +02:00
Marcel Holtmann e2790ba646 Fix memory allocation handling for STK Proactive command debug 2010-06-16 15:55:53 +02:00
Andrzej Zaborowski 6e4277eef8 stkutil: Refactor struct stk_other_address 2010-06-15 12:06:47 -05:00
Andrzej Zaborowski 7e5ef25c5a stk: Use envelope encoding utility from stkutil.c 2010-06-09 12:26:32 -05:00
Denis Kenzior ab4cae5479 Fix: The null check should be done elsewhere 2010-04-15 16:49:41 -05:00
Denis Kenzior 9271842748 Fix: Make the name a bit clearer 2010-04-15 16:49:41 -05:00
Denis Kenzior 632dc4c7e9 Fix: No glib types in oFono public API 2010-04-15 16:49:41 -05:00
Andrzej Zaborowski aad4d0de78 Add Sim Toolkit atom
- Add ofono_stk atom in stk.c
- Move envelope command from sim driver to stk driver
2010-04-15 16:49:40 -05:00