aboutsummaryrefslogtreecommitdiffstats
path: root/include/device
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/device
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/device')
-rw-r--r--include/device/crespo/sms.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/device/crespo/sms.h b/include/device/crespo/sms.h
new file mode 100644
index 0000000..bafd517
--- /dev/null
+++ b/include/device/crespo/sms.h
@@ -0,0 +1,35 @@
+/**
+ * This file is part of libsamsung-ipc.
+ *
+ * Copyright (C) 2011 Paul Kocialkowski <contact@paulk.fr>
+ *
+ * libsamsung-ipc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * libsamsung-ipc is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef __DEVICE_CRESPO_SMS_H__
+#define __DEVICE_CRESPO_SMS_H__
+
+#define IPC_SMS_ACK_NO_ERROR 0x0000
+#define IPC_SMS_ACK_PDA_FULL_ERROR 0x8080
+#define IPC_SMS_ACK_UNSPEC_ERROR 0x806F
+
+struct ipc_sms_deliv_report_msg {
+ unsigned char type;
+ unsigned short error;
+ unsigned char msg_tpid;
+ unsigned char unk;
+} __attribute__((__packed__));
+
+#endif