码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2015-02-25 23:53:44      阅读:420      评论:0      收藏:0      [点我收藏+]

标签:qalcomm 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,。



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

标签:qalcomm nv

原文地址:http://8202061.blog.51cto.com/8192061/1615292

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!