From a04e6effed0b81ec7495df2a1448484645b20cc5 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 12 Jan 2007 23:57:33 +0000 Subject: - use talloc (of samba project) to debug memory allocations and simplify code - introduce new ucmd_alloc() function - add DTMF support to gsmd, libgsmd and gsmd-util - fix crash of libgsmd when events don't have handlers registered - implement call progress for TI modem - split modem init string in separate commands to fit our parser git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@544 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/event.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'include/gsmd/event.h') diff --git a/include/gsmd/event.h b/include/gsmd/event.h index 6ae4e02..acffba5 100644 --- a/include/gsmd/event.h +++ b/include/gsmd/event.h @@ -55,4 +55,25 @@ enum gsmd_netreg_state { __NUM_GSMD_NETREG }; +enum gsmd_call_progress { + GSMD_CALLPROG_SETUP = 0, + GSMD_CALLPROG_DISCONNECT = 1, + GSMD_CALLPROG_ALERT = 2, + GSMD_CALLPROG_CALL_PROCEED = 3, + GSMD_CALLPROG_SYNC = 4, + GSMD_CALLPROG_PROGRESS = 5, + GSMD_CALLPROG_CONNECTED = 6, + GSMD_CALLPROG_RELEASE = 7, + GSMD_CALLPROG_REJECT = 8, + GSMD_CALLPROG_UNKNOWN = 9, + __NUM_GSMD_CALLPROG +}; + +enum gsmd_call_direction { + GSMD_CALL_DIR_MO = 0, /* Mobile Originated (Outgoing) */ + GSMD_CALL_DIR_MT = 1, /* Mobile Terminated (Incoming) */ + GSMD_CALL_DIR_CCBS = 2, /* network initiated MO */ + GSMD_CALL_DIR_MO_REDIAL = 3, /* Mobile Originated Redial */ +}; + #endif -- cgit v1.2.3