diff options
author | PaulK <contact@paulk.fr> | 2011-11-21 19:05:40 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2011-11-21 19:08:50 +0100 |
commit | 2bbccf3d9ee564f0ec0cef8f937c0a1d30775ad2 (patch) | |
tree | e6bb5e2c8fcbf13ee3ab89d6acbb3fd9b21e52a2 /include/sms.h | |
parent | 013c60baf12e8e8165be59819c022a1675708aa4 (diff) | |
download | external_libsamsung-ipc-2bbccf3d9ee564f0ec0cef8f937c0a1d30775ad2.zip external_libsamsung-ipc-2bbccf3d9ee564f0ec0cef8f937c0a1d30775ad2.tar.gz external_libsamsung-ipc-2bbccf3d9ee564f0ec0cef8f937c0a1d30775ad2.tar.bz2 |
Corrected/splitted NET/SMS/PWR headers for crespo and added french PLMN data
Diffstat (limited to 'include/sms.h')
-rw-r--r-- | include/sms.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/include/sms.h b/include/sms.h index 877c2a4..45109d1 100644 --- a/include/sms.h +++ b/include/sms.h @@ -23,6 +23,8 @@ #if defined(DEVICE_CRESPO) #include "device/crespo/sms.h" +#elif defined(DEVICE_H1) +#include "device/h1/sms.h" #endif #define IPC_SMS_SEND_MSG 0x0401 @@ -43,19 +45,12 @@ #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_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; -} __attribute__((__packed__)); - -struct ipc_sms_incoming_msg { - unsigned char type, unk, length; -} __attribute__((__packed__)); +#define IPC_SMS_TYPE_POINT_TO_POINT 1 +#define IPC_SMS_TYPE_STATUS_REPORT 2 +#define IPC_SMS_TYPE_OUTGOING 2 void ipc_sms_send_msg(unsigned char *data, unsigned char length, int request_id); void ipc_sms_deliver_report(int request_id); |