英文:
EC25 GPS auto initialize
问题
I am using EC25 with embedded board using ubuntu.
当板子启动时,EC25没有从ttyUSB1响应。但如果我在ttyUSB3上写入以下命令:
AT+QGPS=1
我可以从ttyUSB1获得响应(位置、速度等)。
如何在设备上电时自动执行此操作?
我正在尝试使用gtkterm。
我尝试了不同的方法,但没有成功。
我在板子上运行Python,并且有一个用于自动启动我的Python代码的crontab文件。
我想知道用于解决我的问题的命令行或设置。
- 我已经尝试过
AT+QGPSCFG=“autogps”
和AT+QGPSCFG=“autogps”[,<autogps>]
,但它报错 "gne error: 501(device user manuel)" - 我尝试过
AT+QGPSAUTOSTART=1
(我不记得在哪里看到这个命令),但它报错 "error"
问题已解决!
首先
AT+QGPS=1
返回OK
然后
AT+QGPSCFG="autogps",1
返回OK
用于检查命令;
AT+QGPSCFG="autogps"
返回autogps, 1
英文:
I am using EC25 with embedded board using ubuntu.
When board start working EC25 doesnt response from ttyUSB1. But if I write
AT+QGPS=1
at ttyUSB3
, I can get response(location,speed etc.) from ttyUSB1
.
How can I make this automatically when device power on?
I'm trying with gtkterm.
I tried different thing but didnt make it.
I'm running python on board and I have crontab file for auto start my python code.
I would like to know a command line or settings for fixing my problem.
- I already tried to
AT+QGPSCFG=“autogps”
andAT+QGPSCFG=“autogps”[,<autogps>]
but it given error "gne error: 501(device user manuel) - I tried to
AT+QGPSAUTOSTART=1
(I dont remember where I saw this command) but its given "error"
Problem Solved!
First
AT+QGPS=1
return OK
then
AT+QGPSCFG="autogps",1
return OK
for checking the command;
AT+QGPSCFG="autogps"
return autogps, 1
答案1
得分: 0
使用关键词“EC25 GPS”在搜索引擎上找到一个支持论坛https://forums.quectel.com/t/ec25-do-not-get-gps-position-from-gnss-module-after-reboot/9353
为了在上电后自动运行GPS,请参考附加文档中的AT+QGPSCFG=“autogps”命令。
该页面包含一个手册的下载链接。
2.1.9. AT+QGPSCFG=“autogps”[,<autogps>] 启用/禁用GNSS的自动运行
我猜您可能需要使用普通(打字机)引号而不是印刷引号。
请注意,<autogps>
是一个占位符,根据手册,必须替换为0
或1
。[
和]
标记可选部分。正确的命令可能是
AT+QGPSCFG="autogps",1
AT+QGPSCFG="autogps",0
AT+QGPSCFG="autogps"
英文:
Using a search engine with keywords "EC25 GPS" I found a support forum https://forums.quectel.com/t/ec25-do-not-get-gps-position-from-gnss-module-after-reboot/9353
> To make GPS automatically run after power on, please refer to command AT+QGPSCFG=“autogps” of the attached document.
The page contains a download link to the manual.
> 2.1.9. AT+QGPSCFG=“autogps”[,<autogps>] Enable/Disable GNSS to Run Automatically
I guess you might have to use normal (typewriter) quotes instead of typographical quotes.
Note that <autogps>
is a placeholder which has to be replaced with 0
or 1
according to the manual. [
and ]
mark optional parts. Correct command might be
AT+QGPSCFG="autogps",1
AT+QGPSCFG="autogps",0
AT+QGPSCFG="autogps"
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论