Update from v1265 v1.
Change-Id: Iebe5ac139a878e3716a7f69b6fbec5d7ae3f020c
diff --git a/mbtk/mbtk_rild/src/main.c b/mbtk/mbtk_rild/src/main.c
old mode 100644
new mode 100755
index 44b8140..22e739c
--- a/mbtk/mbtk_rild/src/main.c
+++ b/mbtk/mbtk_rild/src/main.c
@@ -967,8 +967,21 @@
}
cell_info.cell[cell_info.cell_num].value10 = (uint32)tmp_int; //cell identiy
+ for(i =0; i < 28; i++)
+ {
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ goto EEMLTESVC_EXIT;
+ }
+ }
+
+ cell_info.cell[cell_info.cell_num].value4 = (uint32)tmp_int; //dlBler
+
cell_info.cell_num++;
+ LOG("LTESVC cell_num : %d", cell_info.cell_num);
+
+
EEMLTESVC_EXIT:
free(free_ptr);
}
@@ -1021,6 +1034,61 @@
}
cell_info.cell[cell_info.cell_num].value5 = (uint32)tmp_int;
LOG("cell value5 : %d", cell_info.cell[cell_info.cell_num].value5);
+
+ LOG("after cellid cell line : %s", line);
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ goto EEMLTEINTER_EXIT;
+ }
+ cell_info.cell[cell_info.cell_num].value6 = (uint32)tmp_int; //mcc
+
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ LOG("exit");
+ goto EEMLTEINTER_EXIT;
+ }
+
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ LOG("exit");
+ goto EEMLTEINTER_EXIT;
+ }
+
+ cell_info.cell[cell_info.cell_num].value7 = (uint32)tmp_int; //mnc
+
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ LOG("exit");
+ goto EEMLTEINTER_EXIT;
+ }
+
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ LOG("exit");
+ goto EEMLTEINTER_EXIT;
+ }
+
+ cell_info.cell[cell_info.cell_num].value8 = (uint32)tmp_int; //cellId
+ LOG("cell value8 : %u", (uint32)cell_info.cell[cell_info.cell_num].value9);
+ for(int i =0; i < 5; i++)
+ {
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ LOG("exit i = %d",i);
+ goto EEMLTEINTER_EXIT;
+ }
+ }
+
+ cell_info.cell[cell_info.cell_num].value9 = (uint32)tmp_int; //band
+ LOG("cell value9 : %d", cell_info.cell[cell_info.cell_num].value9);
+ if (at_tok_nextint(&line, &tmp_int) < 0)
+ {
+ LOG("exit");
+ goto EEMLTEINTER_EXIT;
+ }
+
+ cell_info.cell[cell_info.cell_num].value10 = (uint32)tmp_int; //rssi
+
cell_info.cell_num++;
EEMLTEINTER_EXIT:
free(free_ptr);