summaryrefslogtreecommitdiffstats
path: root/include/stk.h
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2010-10-13 15:54:16 +0200
committerDenis Kenzior <denkenz@gmail.com>2010-10-14 04:17:02 -0500
commit404e0838da1a12b54efa3f78cbc1c9df496962d2 (patch)
tree2f709aeee9b13e0136ee4d3ab3c9addf34cb4550 /include/stk.h
parent526cf25dc8759bca9cf6ca46f8af3d0d55dc9d4c (diff)
downloadofono-404e0838da1a12b54efa3f78cbc1c9df496962d2.tar.bz2
API for STK driver to signal executed commands
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.
Diffstat (limited to 'include/stk.h')
-rw-r--r--include/stk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/stk.h b/include/stk.h
index 638da9cb..8f548d39 100644
--- a/include/stk.h
+++ b/include/stk.h
@@ -67,6 +67,13 @@ void ofono_stk_proactive_command_notify(struct ofono_stk *stk,
void ofono_stk_proactive_session_end_notify(struct ofono_stk *stk);
+void ofono_stk_proactive_command_handled_notify(struct ofono_stk *stk,
+ int length,
+ const unsigned char *pdu);
+void ofono_stk_terminal_response_sent_notify(struct ofono_stk *stk,
+ int length,
+ const unsigned char *pdu);
+
#ifdef __cplusplus
}
#endif