Change mbtk_ril : 1
Change-Id: I28648cc4a7afd7cc9b2729a9d74a6182cb596edf
diff --git a/mbtk/libmbtk_ril/mbtk_info.c b/mbtk/libmbtk_ril/mbtk_info.c
index 5f8ec6a..b61a3b0 100755
--- a/mbtk/libmbtk_ril/mbtk_info.c
+++ b/mbtk/libmbtk_ril/mbtk_info.c
@@ -213,6 +213,9 @@
case MBTK_INFO_ID_DEV_VERSION_REQ:
case MBTK_INFO_ID_DEV_VERSION_RSP:
return "VERSION";
+ case MBTK_INFO_ID_DEV_MODEL_REQ:
+ case MBTK_INFO_ID_DEV_MODEL_RSP:
+ return "MODEL";
// <uint8> 0:Close 1:Open
case MBTK_INFO_ID_DEV_VOLTE_REQ:
case MBTK_INFO_ID_DEV_VOLTE_RSP:
@@ -221,10 +224,18 @@
case MBTK_INFO_ID_DEV_TEMP_REQ: // Temperature
case MBTK_INFO_ID_DEV_TEMP_RSP:
return "TEMPERATURE";
+ case MBTK_INFO_ID_DEV_CELL_TIME_REQ:
+ case MBTK_INFO_ID_DEV_CELL_TIME_RSP:
+ return "CELL_TIME";
case MBTK_INFO_ID_DEV_TIME_REQ: // Time
case MBTK_INFO_ID_DEV_TIME_RSP:
return "Time";
+ case MBTK_INFO_ID_DEV_MODEM_REQ:
+ case MBTK_INFO_ID_DEV_MODEM_RSP:
+ return "MODEM";
+
// Sim Information
+
// <uint8> 0:NOT_EXIST 1:READY ...
case MBTK_INFO_ID_SIM_STATE_REQ:
case MBTK_INFO_ID_SIM_STATE_RSP:
diff --git a/mbtk/libmbtk_ril/mbtk_info.h b/mbtk/libmbtk_ril/mbtk_info.h
index 573ba84..d58c498 100755
--- a/mbtk/libmbtk_ril/mbtk_info.h
+++ b/mbtk/libmbtk_ril/mbtk_info.h
@@ -54,8 +54,8 @@
MBTK_INFO_ID_DEV_TIME_REQ, // Time
MBTK_INFO_ID_DEV_TIME_RSP,
//<string> "23/03/20,01:58:00+32"
- MBTK_INFO_ID_NET_TIME_REQ, // Time
- MBTK_INFO_ID_NET_TIME_RSP,
+ MBTK_INFO_ID_DEV_CELL_TIME_REQ, // Time
+ MBTK_INFO_ID_DEV_CELL_TIME_RSP,
MBTK_INFO_ID_DEV_MODEM_REQ,
MBTK_INFO_ID_DEV_MODEM_RSP,
diff --git a/mbtk/libmbtk_ril/mbtk_info_api.c b/mbtk/libmbtk_ril/mbtk_info_api.c
index 0e4043b..b226408 100755
--- a/mbtk/libmbtk_ril/mbtk_info_api.c
+++ b/mbtk/libmbtk_ril/mbtk_info_api.c
@@ -1762,7 +1762,7 @@
return -1;
}
//printf("mbtk_net_time_get begin info_item_process\n");
- if(info_item_process(handle, MBTK_INFO_ID_NET_TIME_REQ, NULL, 0, buff) > 0) {
+ if(info_item_process(handle, MBTK_INFO_ID_DEV_CELL_TIME_REQ, NULL, 0, buff) > 0) {
memcpy(time_str,buff,strlen(buff));
uint8 *temp = strstr(time_str, ",");