首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Gammu -可以接收短信,但不能拨号

Gammu -可以接收短信,但不能拨号
EN

Stack Overflow用户
提问于 2015-06-18 21:29:46
回答 1查看 2.1K关注 0票数 0

使用我的gammu配置,在华为的E220调制解调器上,我可以接收短信,但我不能拨号。

下面是我的gammu配置文件(由gammu和gammu使用):

代码语言:javascript
复制
# Configuration file for Gammu SMS Daemon

# Gammu library configuration, see gammurc(5)
[gammu]
port = /dev/ttyUSB0
model =
connection = at19200
synchronizetime = yes
logfile = /var/log/gammulog
logformat = textall
use_locking =
gammuloc =

# SMSD configuration, see gammu-smsdrc(5)
[smsd]
service = files
PIN = 0000
logfile = /tmp/smsd.log
# Increase for debugging information
debuglevel = 0
RunOnReceive = /opt/SMS/onreceive.sh

# Paths where messages are stored
inboxpath = /var/spool/gammu/inbox/
outboxpath = /var/spool/gammu/outbox/
sentsmspath = /var/spool/gammu/sent/
errorsmspath = /var/spool/gammu/error/

对方言的命令:

gammu -c /etc/gammu-smsdrc方言xxxxxxxx

这是原木:

代码语言:javascript
复制
[Gammu            - 1.31.90 built 08:54:06 May 23 2012 using GCC 4.6]
[Connection       - "at19200"]
[Connection index - 0]
[Model type       - ""]
[Device           - "/dev/ttyUSB0"]
[Running on       - Linux, kernel 3.18.11+ (#781 PREEMPT Tue Apr 21 18:02:18 BST 2015)]
Serial device: DTR is up, RTS is up, CAR is up, CTS is up
Setting speed to 19200
[Module           - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D                                                          ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D                                                      AT.
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.
Phone does not support enabled echo, it can not work with Gammu!
Init:GSM_TryGetModel failed with error TIMEOUT[14]: Aucune réponse dans le temps d'attente spécifié: Le téléphone n'est peut-être pas connecté.
[Terminating]
[Closing]
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-06-22 06:49:31

你在调用gammu的时候停止短信了吗?这些操作不能在同一设备上同时执行。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30926123

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档