From 4ab5a702c263d64e60ba9b50e40e2271f3e312d7 Mon Sep 17 00:00:00 2001 From: PaulK Date: Sat, 29 Oct 2011 18:59:05 +0200 Subject: Added SIM IO table (from FSO), related helpers, crespo SMS ACK and corrections --- include/device/crespo/sms.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 include/device/crespo/sms.h (limited to 'include/device') 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 + * + * 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 . + * + */ + +#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 -- cgit v1.1