aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-12-07 20:14:27 +0100
committerPaulK <contact@paulk.fr>2011-12-07 20:19:45 +0100
commita874a1e9f5fc38df67d019380a90ddf207c5c3e7 (patch)
tree8d0ca23734fcc1f24dc7e7137568ac1fefd2bc3e /include
parentbfe37a777e32279700632c131779b93aae13808e (diff)
downloadexternal_libsamsung-ipc-a874a1e9f5fc38df67d019380a90ddf207c5c3e7.zip
external_libsamsung-ipc-a874a1e9f5fc38df67d019380a90ddf207c5c3e7.tar.gz
external_libsamsung-ipc-a874a1e9f5fc38df67d019380a90ddf207c5c3e7.tar.bz2
Added DTMF support and corrected call structure
Diffstat (limited to 'include')
-rw-r--r--include/call.h10
-rw-r--r--include/device/crespo/call.h7
-rw-r--r--include/device/h1/call.h6
3 files changed, 19 insertions, 4 deletions
diff --git a/include/call.h b/include/call.h
index c8c4cce..bc34227 100644
--- a/include/call.h
+++ b/include/call.h
@@ -67,12 +67,14 @@
#define IPC_CALL_TERM_MO 0x01
#define IPC_CALL_TERM_MT 0x02
+#define IPC_CALL_DTMF_STATE_START 0x01
+#define IPC_CALL_DTMF_STATE_STOP 0x02
+
struct ipc_message_info;
-struct ipc_call_incoming {
- unsigned char type; // IPC_CALL_TYPE_...
- unsigned char id;
- unsigned char line;
+struct ipc_call_cont_dtmf {
+ unsigned char state;
+ unsigned char tone;
} __attribute__((__packed__));
void ipc_call_outgoing_setup(struct ipc_call_outgoing *message, unsigned char type,
diff --git a/include/device/crespo/call.h b/include/device/crespo/call.h
index 0207421..778698e 100644
--- a/include/device/crespo/call.h
+++ b/include/device/crespo/call.h
@@ -22,6 +22,13 @@
#ifndef __DEVICE_CRESPO_CALL_H__
#define __DEVICE_CRESPO_CALL_H__
+struct ipc_call_incoming {
+ unsigned char unk;
+ unsigned char type; // IPC_CALL_TYPE_...
+ unsigned char id;
+ unsigned char line;
+} __attribute__((__packed__));
+
struct ipc_call_outgoing {
unsigned char unk;
unsigned char type; // IPC_CALL_TYPE_...
diff --git a/include/device/h1/call.h b/include/device/h1/call.h
index ec7be6c..b19a046 100644
--- a/include/device/h1/call.h
+++ b/include/device/h1/call.h
@@ -22,6 +22,12 @@
#ifndef __DEVICE_H1_CALL_H__
#define __DEVICE_H1_CALL_H__
+struct ipc_call_incoming {
+ unsigned char type; // IPC_CALL_TYPE_...
+ unsigned char id;
+ unsigned char line;
+} __attribute__((__packed__));
+
struct ipc_call_outgoing {
unsigned char type; // IPC_CALL_TYPE_...
unsigned char identity; // IPC_CALL_IDENTITY_...