0

我的任务是找出哪个 GSM 调制解调器连接到哪个串行端口,并在 python 中编写一个程序来执行以下工作。

现在,由于多个 sim 卡可以连接到给定的调制解调器,我的任务是找到每个调制解调器中的 sim 卡的详细信息。

我使用 minicom 将 AT 命令传递给调制解调器。

4

1 回答 1

0

要识别串行端口上连接的调制解调器类型,您可以使用 AT 命令

ATI         Request Identification Information
AT+GMI      Request Manufacturer Identification
AT+GMM      Request Model Identification
AT+GMR      Request Revision Identification
AT+GOI      Request Global Object Identification
AT+GSN      Request Product Serial Number Identification
AT+CGMI     Request Manufacturer Identification
AT+CGMM     Request Model Identification
AT+CGMR     Request Revision Identification
AT+CGSN     Request Product Serial Number Identification
AT+CIMI     Request international mobile subscriber identity

关于确定哪个 dualsim,没有标准化的方法来做到这一点。

如果你真的很喜欢冒险并且不害怕进入 SIM 的不直观且没有什么是容易理解的文档领域(使用 AT+CSIM/AT+CRSM),你可能会在一些 EF 中找到一些有用的信息(但我或多或少地提到这个选项只是为了完整性......)。

于 2013-05-22T21:50:23.717 回答