【问题标题】:gammu no configuration foundgammu 找不到配置
【发布时间】:2014-01-17 02:06:52
【问题描述】:

我在 Windows 中使用 gammu 时遇到问题。第一次安装成功,但是当我重新安装 gammu 时,我无法读取配置文件,除了在命令中声明 gammurc 路径:

gammu -c Mypath\gammurc identify

但我不能这样做:

gammu identify

它会显示消息:

Warning: No configuration file found!
Warning: No configuration read, using builtin defaults!
Error opening device, it doesn't exist.

你知道如何在 windows 中解决这个问题吗?

【问题讨论】:

  • 仍然找不到解决方案,因此 gammu 可以自动读取配置文件。但是通过在我需要的每个命令中声明文件配置的完整路径,我得到了我想要的,它也适用于运行服务的 gammu-smsd。

标签: php windows command gammu


【解决方案1】:

把 gammurc 放在这个文件夹上(用 windows 用户名替换用户名) C:\Users\用户名\AppData\Roaming

这是一个示例文件内容

[gammu]
port= com12:
connection = at115200

我在 nokia cs-18 3g/gsm 调制解调器上使用这个配置文件

【讨论】:

    【解决方案2】:

    你应该把 gammurc 放在 bin 目录下。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-18
      • 2015-09-27
      • 2012-01-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多