diff options
Diffstat (limited to 'include/device/h1')
-rw-r--r-- | include/device/h1/call.h | 59 | ||||
-rw-r--r-- | include/device/h1/disp.h | 30 | ||||
-rw-r--r-- | include/device/h1/gen.h | 34 | ||||
-rw-r--r-- | include/device/h1/misc.h | 38 | ||||
-rw-r--r-- | include/device/h1/net.h | 41 | ||||
-rw-r--r-- | include/device/h1/sms.h | 40 |
6 files changed, 0 insertions, 242 deletions
diff --git a/include/device/h1/call.h b/include/device/h1/call.h deleted file mode 100644 index 43a1928..0000000 --- a/include/device/h1/call.h +++ /dev/null @@ -1,59 +0,0 @@ -/** - * This file is part of libsamsung-ipc. - * - * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> - * 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 2 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_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_... - unsigned char length; - unsigned char prefix; // IPC_CALL_PREFIX_... - unsigned char number[86]; -} __attribute__((__packed__)); - -struct ipc_call_status { - unsigned char type; - unsigned char id; - unsigned char state; - unsigned char reason; - unsigned char end_cause; -} __attribute__((__packed__)); - -struct ipc_call_list_entry { - unsigned char type; // IPC_CALL_TYPE_... - unsigned char idx; - unsigned char term; // IPC_CALL_TERM_... - unsigned char state; // IPC_CALL_LIST_ENTRY_STATE_... - unsigned char mpty; - unsigned char number_len; - unsigned char unk4; -} __attribute__((__packed__)); - -#endif - -// vim:ts=4:sw=4:expandtab diff --git a/include/device/h1/disp.h b/include/device/h1/disp.h deleted file mode 100644 index 2f0c15c..0000000 --- a/include/device/h1/disp.h +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This file is part of libsamsung-ipc. - * - * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> - * - * 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 2 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_H1_DISP_H__ -#define __DEVICE_H1_DISP_H__ - -struct ipc_disp_icon_info { - unsigned char unk, rssi, battery, act, reg; -} __attribute__((__packed__)); - -#endif - -// vim:ts=4:sw=4:expandtab diff --git a/include/device/h1/gen.h b/include/device/h1/gen.h deleted file mode 100644 index b3ddb5c..0000000 --- a/include/device/h1/gen.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * This file is part of libsamsung-ipc. - * - * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> - * Copyright (C) 2011 Simon Busch <morphis@gravedo.de> - * - * 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 2 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_H1_GEN_H__ -#define __DEVICE_H1_GEN_H__ - -struct ipc_gen_phone_res { - unsigned char group; - unsigned char index; - unsigned short code; - unsigned char unk; -} __attribute__((__packed__)); - -#endif - -// vim:ts=4:sw=4:expandtab diff --git a/include/device/h1/misc.h b/include/device/h1/misc.h deleted file mode 100644 index 179e7b3..0000000 --- a/include/device/h1/misc.h +++ /dev/null @@ -1,38 +0,0 @@ -/** - * This file is part of libsamsung-ipc. - * - * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> - * - * 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 2 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_H1_MISC_H__ -#define __DEVICE_H1_MISC_H__ - -struct ipc_misc_me_version { - char sw_version[32]; - char hw_version[32]; - char cal_date[32]; - char misc[32]; -} __attribute__((__packed__)); - -struct ipc_misc_me_sn { - unsigned char length; - char imei[32]; -} __attribute__((__packed__)); - -#endif - -// vim:ts=4:sw=4:expandtab diff --git a/include/device/h1/net.h b/include/device/h1/net.h deleted file mode 100644 index 8f3c449..0000000 --- a/include/device/h1/net.h +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file is part of libsamsung-ipc. - * - * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> - * Copyright (C) 2011 Simon Busch <morphis@gravedo.de> - * - * 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 2 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_H1_NET_H__ -#define __DEVICE_H1_NET_H__ - -#define IPC_NET_ACCESS_TECHNOLOGY_GSM 0x01 -#define IPC_NET_ACCESS_TECHNOLOGY_GSM2 0x02 -#define IPC_NET_ACCESS_TECHNOLOGY_GPRS 0x03 -#define IPC_NET_ACCESS_TECHNOLOGY_EDGE 0x04 -#define IPC_NET_ACCESS_TECHNOLOGY_UMTS 0x05 - -struct ipc_net_current_plmn { - char unk0; - unsigned char slevel; - unsigned char plmn[6]; - unsigned char type; - unsigned short lac; -} __attribute__((__packed__)); - -#endif - -// vim:ts=4:sw=4:expandtab diff --git a/include/device/h1/sms.h b/include/device/h1/sms.h deleted file mode 100644 index bb305d5..0000000 --- a/include/device/h1/sms.h +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 2 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_H1_SMS_H__ -#define __DEVICE_H1_SMS_H__ - -#define IPC_SMS_ACK_NO_ERROR 0x0000 -#define IPC_SMS_ACK_PDA_FULL_ERROR 0x8080 -#define IPC_SMS_ACK_MALFORMED_REQ_ERROR 0x8061 -#define IPC_SMS_ACK_UNSPEC_ERROR 0x806F - -struct ipc_sms_incoming_msg { - unsigned char type, unk, length; -} __attribute__((__packed__)); - -struct ipc_sms_send_msg { - unsigned char hint, length; -} __attribute__((__packed__)); - - -#endif - -// vim:ts=4:sw=4:expandtab |