From 17599580d808911e3ff52aa36683a3d820c5f527 Mon Sep 17 00:00:00 2001 From: Jarko Poutiainen Date: Thu, 24 Mar 2011 15:46:29 +0200 Subject: gatchat: introduce send for +CPOS --- gatchat/gatchat.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gatchat') 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); -- cgit v1.2.3