Qualcomm手机NV中某些项的含义解析

1. tdscdma_op_plmn_list
<NvEfsItem fullpathname="/nv/item_files/modem/nas/tdscdma_op_plmn_list" name="UNKNOWN" mapping="direct" encoding="dec" index="0">4,100,240,0,100,240,32,100,240,112,100,240,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</NvEfsItem>


4,100,240,0,100,240,32,100,240,112,100,240,128,改成16进制是

0x03 0x64 0xf0 0x00 0x64 0xf0 0x20 0x64 0xf0 0x70 0x64 0xf0 0x80

参考:http://www.cnblogs.com/bastard/archive/2013/05/09/3068602.html,里面提到0x03 0x64 0xf0 0x00 0x64 0xf0 0x20 0x64 0xf0 0x70 (46000, 46002, 46007)

那么整个代表:4项,分别是 46000, 46002, 46007, 46008


NV65602:Location – /nv/item_files/modem/nas/ehplmn

         Default value – 0x03 0x64 0xf0 0x00 0x64 0xf0 0x20 0x64 0xf0 0x70 (46000, 46002, 46007)    

         NV70189:Location – /nv/item_files/modem/nas/ tdscdma_op_plmn_list

         Default value – 0x03 0x64 0xf0 0x00 0x64 0xf0 0x20 0x64 0xf0 0x70 (46000, 46002, 46007)

Modem代码中处理与PLMN相关的函数:

         reg_sim.c :reg_sim_read_ehplmn_list 


2. rat_acq_order

公司解决通话M无法接听问题,这个NV项调整为
<NvEfsItem fullpathname="/sd/rat_acq_order" name="UNKNOWN" mapping="direct" encoding="dec" index="0">0,8,0,6,9,11,3,5,2,4,0,0,0,0</NvEfsItem>

搜索代码,找到pdsm_stubs.h

  SYS_SYS_MODE_NONE = -1,  /* FOR INTERNAL USE ONLY! */

  /** @endcond

  */


  SYS_SYS_MODE_NO_SRV=0,

    /**< No service; NV_MODE_INACTIVE. */


  SYS_SYS_MODE_AMPS=1,

    /**< Analog Mobile Phone System (AMPS) mode. */


  SYS_SYS_MODE_CDMA=2,

    /**< CDMA mode. */


  SYS_SYS_MODE_GSM=3,

    /**< GSM mode. */


  SYS_SYS_MODE_HDR=4,

    /**< HDR mode. */


  SYS_SYS_MODE_WCDMA=5,

    /**< WCDMA mode. */


  SYS_SYS_MODE_GPS=6,

    /**< GPS mode. */


  SYS_SYS_MODE_GW=7,

    /**< GSM and WCDMA mode. */


  SYS_SYS_MODE_WLAN=8,

    /**< WLAN mode. */


  SYS_SYS_MODE_LTE=9,

    /**< LTE mode. */


  SYS_SYS_MODE_GWL=10,

    /**< GSM, WCDMA, and LTE mode. */


  SYS_SYS_MODE_TDS=11,

  /**< TDS mode. */

结合代码

0,8,0,6,9,11,3,5,2,4,0,0,0,0 大概这么理解:8项,NO_SRV, GPS, LTE, TDS, GSM, WCDMA, CDMA, HDR。好像是网络搜网次序。TDS估计是TDSCDMA,那就是除了GPS,然后4G/3G/2G(对移动而言)。

函数qmi_nasi_sys_sel_pref_ind,。



郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。