SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun Feb 28, 2021 22:11
SMSTools3 Community » Help and support Bottom

[solved] AT+CUSD command not working to check balance on HUAWEI E270

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jun 2011
Location: Houston/Texas, United States of America
Operating system name and version: linux Fedora Core 12
Version of smsd: smstools3-3.1.14
Smsd installed from: sources
Name and model of a modem / phone: HUAWEI E270
Interface:USB

Having major issues getting AT+CUSD to work:

Tried almost every option from AT+CUSD=1,"*120#",15 to ATD*120#
Also tried in PDU format. The thing is that AT+CUSD=? returns OK

Any suggestions are welcome. Also any other USB modems know to work with linux and can handle this command AT+CUSD.

2011-07-06 11:30:07,7, GSM1: -> AT+CUSD=1,"AA980C3602",15
2011-07-06 11:30:07,7, GSM1: Command is sent, waiting for the answer
2011-07-06 11:30:23,7, GSM1: put_command expected (\+CUSD:)|(ERROR), timeout occurred. 1.
2011-07-06 11:30:23,7, GSM1: <- OK
2011-07-06 11:30:23,7, GSM1: -> AT+CUSD=1,"AA980C3602",15


« Last edit by algrims on Wed Jul 06, 2011 15:37, 117 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
I assume that you have verified with a handset that *120# is correct sequence and works with your operator, right?

E270 creates more than one USB interface. Check with dmesg what interfaces are available, and try with another one.

Member
Registered:
Jun 2011
Location: Houston/Texas, United States of America
Topic owner
Yes the sequence is correct. You were right about the USB port.
I tried with the other one and it worked.

Now that leads me to the question of how to make sure that when server is rebooted it always assigns same usb port to the device? That's in case we have more than one modem.

Thanks.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
algrims wrote
Now that leads me to the question of how to make sure that when server is rebooted it always assigns same usb port to the device? That's in case we have more than one modem.

You need something like shown in this post: [solved] Multiple GSM Modems. If your modems are not identical, see also this: Ubuntu (10.04.1) /dev/ttyUSBx changes at reboot, FIX using udev.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.