最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

Android4G专网模块信号的上报过程

IT圈 admin 26浏览 0评论

2024年3月13日发(作者:邝品)

47. if (rsrpIconLevel != -1) return rsrpIconLevel;

48.

49. /* Valid values are (0-63, 99) as defined in TS 36.331 */

50. if (mLteSignalStrength > 63) rssiIconLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;

51. else if (mLteSignalStrength >= 12) rssiIconLevel = SIGNAL_STRENGTH_GREAT;

52. else if (mLteSignalStrength >= 8) rssiIconLevel = SIGNAL_STRENGTH_GOOD;

53. else if (mLteSignalStrength >= 5) rssiIconLevel = SIGNAL_STRENGTH_MODERATE;

54. else if (mLteSignalStrength >= 0) rssiIconLevel = SIGNAL_STRENGTH_POOR;

55. if (DBG) log("getLTELevel - rssi:" + mLteSignalStrength + " rssiIconLevel:"

56. + rssiIconLevel);

57. return rssiIconLevel;

58.

59. }

2024年3月13日发(作者:邝品)

47. if (rsrpIconLevel != -1) return rsrpIconLevel;

48.

49. /* Valid values are (0-63, 99) as defined in TS 36.331 */

50. if (mLteSignalStrength > 63) rssiIconLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;

51. else if (mLteSignalStrength >= 12) rssiIconLevel = SIGNAL_STRENGTH_GREAT;

52. else if (mLteSignalStrength >= 8) rssiIconLevel = SIGNAL_STRENGTH_GOOD;

53. else if (mLteSignalStrength >= 5) rssiIconLevel = SIGNAL_STRENGTH_MODERATE;

54. else if (mLteSignalStrength >= 0) rssiIconLevel = SIGNAL_STRENGTH_POOR;

55. if (DBG) log("getLTELevel - rssi:" + mLteSignalStrength + " rssiIconLevel:"

56. + rssiIconLevel);

57. return rssiIconLevel;

58.

59. }

发布评论

评论列表 (0)

  1. 暂无评论