Huawei E173 USB dongle and SMS problems
Mübin İçyer <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAA9KBAAxJ0_sWSN1n=xYBe+kownFApd3byM_eW-QUhf+3Th+rg@mail.gmail.com> |
Hello, I have a Huawei E173 USB dongle and SIM card inside. I want only to receive SMS. I don't want to connect to internet over dongle. I receive always error messages in log file: Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: CMS Error 500: "unknown error" Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: GSM_GetSMSStatus failed with error UNKNOWN[27]: Unknown error. Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Leaving GSM_GetSMSStatus Mon 2016/07/04 12:21:58 gammu-smsd[2570]: Error getting SMS status: Unknown error. (UNKNOWN[27]) Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Entering GSM_GetSecurityStatus Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Getting security code status Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: SENDING frametype 0x00/length 0x09/9 Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D AT+CPIN?. Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 1 "AT+CPIN?" Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 2 "+CPIN: READY" Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 3 "OK" Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Checking line: OK Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: AT reply state: 1 Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: RECEIVED frametype 0x00/length 0x1F/31 Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN AT+CPIN?...+CPIN It seems that the dongle replies to command AT+CPIN? Configuration file /etc/gammu-smsdrc: # Configuration file for Gammu SMS Daemon # Gammu library configuration, see gammurc(5) [gammu] # Please configure this! port = /dev/phone2 # Device = 0x12d1:0x1001 Connection = at # Debugging #logformat = textall # SMSD configuration, see gammu-smsdrc(5) [smsd] service = files logfile = /var/log/gammu_smsd.log # Increase for debugging information debuglevel = 2 RunOnReceive=sudo /home/bananapi/Projects/sms/sms_parse.py # 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/ What is the Problem? What can I do? And second question Thanks. ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users