aboutsummaryrefslogtreecommitdiffstats
path: root/include/sms.h
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-10-29 18:59:05 +0200
committerPaulK <contact@paulk.fr>2011-10-29 21:58:49 +0200
commit4ab5a702c263d64e60ba9b50e40e2271f3e312d7 (patch)
tree755c69222a6a449157d6e37caf755bd777687b78 /include/sms.h
parentf4923749132fe32f54b4f300f84071481559d606 (diff)
downloadexternal_libsamsung-ipc-4ab5a702c263d64e60ba9b50e40e2271f3e312d7.zip
external_libsamsung-ipc-4ab5a702c263d64e60ba9b50e40e2271f3e312d7.tar.gz
external_libsamsung-ipc-4ab5a702c263d64e60ba9b50e40e2271f3e312d7.tar.bz2
Added SIM IO table (from FSO), related helpers, crespo SMS ACK and corrections
Diffstat (limited to 'include/sms.h')
-rw-r--r--include/sms.h50
1 files changed, 27 insertions, 23 deletions
diff --git a/include/sms.h b/include/sms.h
index a9d185b..877c2a4 100644
--- a/include/sms.h
+++ b/include/sms.h
@@ -21,29 +21,33 @@
#ifndef __SMS_H__
#define __SMS_H__
-#define IPC_SMS_SEND_MSG 0x0401
-#define IPC_SMS_INCOMING_MSG 0x0402
-#define IPC_SMS_READ_MSG 0x0403
-#define IPC_SMS_SAVE_MSG 0x0404
-#define IPC_SMS_DEL_MSG 0x0405
-#define IPC_SMS_DELIVER_REPORT 0x0406
-#define IPC_SMS_DEVICE_READY 0x0407
-#define IPC_SMS_SEL_MEM 0x0408
-#define IPC_SMS_STORED_MSG_COUNT 0x0409
-#define IPC_SMS_SVC_CENTER_ADDR 0x040A
-#define IPC_SMS_SVC_OPTION 0x040B
-#define IPC_SMS_MEM_STATUS 0x040C
-#define IPC_SMS_CBS_MSG 0x040D
-#define IPC_SMS_CBS_CONFIG 0x040E
-#define IPC_SMS_STORED_MSG_STATUS 0x040F
-#define IPC_SMS_PARAM_COUNT 0x0410
-#define IPC_SMS_PARAM 0x0411
-
-#define IPC_SMS_MSG_MULTIPLE 1
-#define IPC_SMS_MSG_SINGLE 2
-
-#define IPC_SMS_TYPE_POINT_TO_POINT 1
-#define IPC_SMS_TYPE_STATUS_REPORT 2
+#if defined(DEVICE_CRESPO)
+#include "device/crespo/sms.h"
+#endif
+
+#define IPC_SMS_SEND_MSG 0x0401
+#define IPC_SMS_INCOMING_MSG 0x0402
+#define IPC_SMS_READ_MSG 0x0403
+#define IPC_SMS_SAVE_MSG 0x0404
+#define IPC_SMS_DEL_MSG 0x0405
+#define IPC_SMS_DELIVER_REPORT 0x0406
+#define IPC_SMS_DEVICE_READY 0x0407
+#define IPC_SMS_SEL_MEM 0x0408
+#define IPC_SMS_STORED_MSG_COUNT 0x0409
+#define IPC_SMS_SVC_CENTER_ADDR 0x040A
+#define IPC_SMS_SVC_OPTION 0x040B
+#define IPC_SMS_MEM_STATUS 0x040C
+#define IPC_SMS_CBS_MSG 0x040D
+#define IPC_SMS_CBS_CONFIG 0x040E
+#define IPC_SMS_STORED_MSG_STATUS 0x040F
+#define IPC_SMS_PARAM_COUNT 0x0410
+#define IPC_SMS_PARAM 0x0411
+
+#define IPC_SMS_MSG_MULTIPLE 1
+#define IPC_SMS_MSG_SINGLE 2
+
+#define IPC_SMS_TYPE_POINT_TO_POINT 1
+#define IPC_SMS_TYPE_STATUS_REPORT 2
struct ipc_sms_send_msg {
unsigned char hint, length;