E160E USB GSM Modem Continuously Dumps Data Into The Serial Port

拥有回忆 提交于 2019-12-12 03:31:09

问题


I'm using a python script to send using Serial , a simple AT Command in this case "AT". That normally returns OK , if everything is going well.

The problem is that after a few seconds the GSM Modem Will Dump the following. RSSI:19 (yes i know this is the signal strength).

It also dumps :

BOOT:23243559,0,0,0,77

This is only occurs from time to time and it ONLY Happens in Linux it doesn't happen in Windows.

I tested this using the python script and putty in Linux and using Hyperterminal in Windows. With the same serial config.

Thanks for the help.


回答1:


Ok , So After A Couple Of Trial And Errors. If you ever face this problem

Keep In Mind That E160 opens two (2) USB "ports" with the OS. These two ports both can support AT Commands but one acts more like an "Status Monitor" Port while the other acts like a normal Port.

--- The Following Is Only Based On Experience ---

The Monitor port always has the highest number ( it's the second to register , you can take a look at dmesg ).

Also !

Its the port where CNMI Reports will come from so in short :

USB0 , Send At Commands no garbage ( you do all the stuff here )

USB1 , Monitor Port , Periodic Reports , Network Status And SMS Received Alerts are ONLY broadcasted here.

If you need help just respond :)




回答2:


The question is pretty old, but probably it will help to somebody, the following command:

AT^CURC=0

disables the periodic status notifications



来源:https://stackoverflow.com/questions/11744513/e160e-usb-gsm-modem-continuously-dumps-data-into-the-serial-port

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!