From b5875caa0d77c181352ba7b6d65bc6e9091d01f2 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 2 Oct 2008 14:13:55 +0300 Subject: Add support for current call list query Support for the AT+CLCC command and the +CLCC:... unsolicited result code. --- audio/telephony.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'audio/telephony.h') diff --git a/audio/telephony.h b/audio/telephony.h index 72608dc5..2581b00f 100644 --- a/audio/telephony.h +++ b/audio/telephony.h @@ -114,6 +114,7 @@ void telephony_answer_call_req(void *telephony_device); void telephony_dial_number_req(void *telephony_device, const char *number); void telephony_transmit_dtmf_req(void *telephony_device, char tone); void telephony_subscriber_number_req(void *telephony_device); +int telephony_list_current_calls_req(void *telephony_device); /* AG responses to HF requests. These are implemented by headset.c */ int telephony_event_reporting_rsp(void *telephony_device, cme_error_t err); @@ -124,6 +125,7 @@ int telephony_answer_call_rsp(void *telephony_device, cme_error_t err); int telephony_dial_number_rsp(void *telephony_device, cme_error_t err); int telephony_transmit_dtmf_rsp(void *telephony_device, cme_error_t err); int telephony_subscriber_number_rsp(void *telephony_device, cme_error_t err); +int telephony_list_current_calls_rsp(void *telephony_device, cme_error_t err); /* Event indications by AG. These are implemented by headset.c */ int telephony_event_ind(int index); @@ -132,6 +134,9 @@ int telephony_incoming_call_ind(const char *number, int type); int telephony_calling_stopped_ind(void); int telephony_ready_ind(uint32_t features, const struct indicator *indicators, int rh); +int telephony_list_current_call_ind(int idx, int dir, int status, int mode, + int mprty, const char *number, + int type); /* Helper function for quick indicator updates */ static inline int telephony_update_indicator(struct indicator *indicators, -- cgit