Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: megamax on January 29, 2016, 08:27:08 PM

Title: MOD-USB3G SMS with AT commands
Post by: megamax on January 29, 2016, 08:27:08 PM
Hi,
in a embedded system connected to internet with the mod-usb3g i would implement a recovery method through sms when connection isn't available.
I tried to receive sms with AT commands but the AT+CMGL="ALL" command answer only "OK". I tried to change storage area with +CMGR, change text and pdu mode, and other but nothing to do.  With another USB dongle it works perfectly. Are there any suggestions?
Title: Re: MOD-USB3G SMS with AT commands
Post by: JohnS on January 29, 2016, 08:37:37 PM
Maybe not in text mode?

John
Title: Re: MOD-USB3G SMS with AT commands
Post by: megamax on January 29, 2016, 09:03:35 PM
I tried both text and pdu mode, you mean something else?
Title: Re: MOD-USB3G SMS with AT commands
Post by: JohnS on January 29, 2016, 09:42:41 PM
Just wondering.  Is it definitely supported by the chip?

John
Title: Re: MOD-USB3G SMS with AT commands
Post by: megamax on January 29, 2016, 11:10:45 PM
I think so.. in the product page (https://www.olimex.com/Products/USB-Modules/MOD-USB3G/ ) is written "supports voice calls and SMS" and generally Huawei E1750 supports sms
Title: Re: MOD-USB3G SMS with AT commands
Post by: megamax on February 15, 2016, 12:28:35 AM
Can be confirmed by Olimex if MOD-USB3G support SMS? Can they test last USB Dongles? Mine is not black and orange such in product photo, is all grey and I bought it on 31/08/2015.
Thanks in advance.
Title: Re: MOD-USB3G SMS with AT commands
Post by: lambda on May 09, 2017, 10:36:04 AM
Hi,

it's a bit late, but I just found this thread while searching for information to fix my own MOD-USB3G problem, so answering this here anyway.

Yes, I can confirm that MOD-USB3G is working well for sending and receiving SMS. I'm using smstools3 and this is the relevant part of my config:

[GSM1]
init = AT+CNMI=0,0,0,0,0
device = /dev/ttyUSB0
incoming = yes
pin = xxxx
baudrate = 115200
#check_memory_method = 2
report_device_details = yes
memory_start = 0
phonecalls = clip
voicecall_clcc = yes


However it seems I can't get outgoing voicecalls to work: The modem hangs in some unkown state most of the time. Unfortunately, I haven't been able to find a reasonable manual for the E1750 yet. There seem to be multiple ways how voice calls could be implemented, so I'm not 100% sure if it is a problem with the HW oder the documentation ...
Title: Re: MOD-USB3G SMS with AT commands
Post by: lambda on May 16, 2017, 10:42:19 AM
Solved the problem with voice calls:
If I use /dev/ttyUSB2 instead of /dev/ttyUSB0 everything works fine!