Merge "[Bugfix][T106][task-view-108] lynq_get_urc_info get wcdma rscp/ecno value error"
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-network/lynq_network.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-network/lynq_network.cpp
index 1fd2780..b8627a3 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-network/lynq_network.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-network/lynq_network.cpp
@@ -1745,7 +1745,9 @@
int resp_type;
int none = 0;
int NR_sum = 0;
- int size=p->dataSize();
+ int size=p->dataSize();
+ int rscp;
+ int ecno;
p->readInt32(&resp_type);
p->readInt32(&s_module_wait_urc_id);
p->readInt32(&s_module_urc_slot_id);
@@ -1805,12 +1807,14 @@
p->readInt32(&none);
p->readInt32(&s_network_urc_solSigStren.wcdma_signalstrength);
p->readInt32(&none);//bitErrorRate
- p->readInt32(&s_network_urc_solSigStren.rscp);
- p->readInt32(&s_network_urc_solSigStren.ecno);
+ p->readInt32(&rscp);
+ p->readInt32(&ecno);
if(is_rssi_valid(s_network_urc_solSigStren.wcdma_signalstrength))
{
s_network_urc_solSigStren.wcdma_sig_valid = 1;
- LYINFLOG("urc_WCDMA_signalstrength:%d",s_network_urc_solSigStren.wcdma_signalstrength);
+ convert_rscp(rscp,&s_network_urc_solSigStren.rscp);
+ convert_ecno(ecno,&s_network_urc_solSigStren.ecno);
+ LYINFLOG("urc_WCDMA_signalstrength:%d",s_network_urc_solSigStren.wcdma_signalstrength);
}else{
s_network_urc_solSigStren.wcdma_sig_valid = 0;
}