diff options
author | Jarko Poutiainen <jarko.poutiainen@tieto.com> | 2011-03-24 15:46:29 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-03-28 18:06:58 -0500 |
commit | 17599580d808911e3ff52aa36683a3d820c5f527 (patch) | |
tree | f743f342a1c19627d956cac4d368d7d8de4455f8 /gatchat | |
parent | a23cc178be6e249b86d0cbc35b0292642a4e0a49 (diff) | |
download | ofono-17599580d808911e3ff52aa36683a3d820c5f527.tar.bz2 |
gatchat: introduce send for +CPOS
Diffstat (limited to 'gatchat')
-rw-r--r-- | gatchat/gatchat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gatchat/gatchat.h b/gatchat/gatchat.h index 8cbb5598..eb82daab 100644 --- a/gatchat/gatchat.h +++ b/gatchat/gatchat.h @@ -124,6 +124,14 @@ guint g_at_chat_send_pdu_listing(GAtChat *chat, const char *cmd, GAtNotifyFunc listing, GAtResultFunc func, gpointer user_data, GDestroyNotify notify); +/*! + * Same as g_at_chat_send except parser will know to expect short prompt syntax + * used with +CPOS. + */ +guint g_at_chat_send_and_expect_short_prompt(GAtChat *chat, const char *cmd, + const char **valid_resp, GAtResultFunc func, + gpointer user_data, GDestroyNotify notify); + gboolean g_at_chat_cancel(GAtChat *chat, guint id); gboolean g_at_chat_cancel_all(GAtChat *chat); |