aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/device/crespo/misc.h4
-rw-r--r--include/misc.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/include/device/crespo/misc.h b/include/device/crespo/misc.h
index 9feacf2..20fb276 100644
--- a/include/device/crespo/misc.h
+++ b/include/device/crespo/misc.h
@@ -30,9 +30,9 @@ struct ipc_misc_me_version {
} __attribute__((__packed__));
struct ipc_misc_me_sn {
- unsigned char unk;
+ unsigned char type; // IPC_MISC_ME_SN_SERIAL_NUM*
unsigned char length;
- char imei[32];
+ char data[32];
} __attribute__((__packed__));
#endif
diff --git a/include/misc.h b/include/misc.h
index 475c532..bccc9b4 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -34,6 +34,11 @@ struct ipc_message_info;
#define IPC_MISC_ME_SN 0x0A03
#define IPC_MISC_TIME_INFO 0x0A07
+#define IPC_MISC_ME_SN_SERIAL_NUM 0x01
+#define IPC_MISC_ME_SN_SERIAL_NUM_SERIAL 0x04
+#define IPC_MISC_ME_SN_SERIAL_NUM_MANUFACTURE_DATE 0x05
+#define IPC_MISC_ME_SN_SERIAL_NUM_BARCODE 0x06
+
struct ipc_misc_time_info {
unsigned char tz_valid, daylight_valid;
unsigned char year, mon, day;