Skip to content
View in the app

A better way to browse. Learn more.

Thailand News and Discussion Forum | ASEANNOW

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

3/4G Modem. router and AT commands

Featured Replies

I'm trying to use a Huawei E3276S dongle with a GL-MT300N V2 router.  The connection to the network was straightforward enough and it's working well.

 

What I'm trying to do is work out how to send USSD codes through the router interface to check balance and buy one off internet packages.

 

The limited research I've done suggests AT+CUSD=1, "#123",15 should work but it errors out  with +CM# ERROR: UNKOWN

 

Any ideas or suggestions of another way to do what I want with swapping the SIM between the dongle and a phone?

 

Thanks

 

 

 

 

 

Seems dongle/SIM connects to True mobile?

You want to send "#123"?

Isn't it "#123#"?

is there an extra space between

1,

and

"#123

?

 

try the test command (show phone number):

AT+CUSD=1,"99",15

 

 

  • Author
9 minutes ago, KhunBENQ said:

 

Seems dongle/SIM connects to True mobile?

You want to send "#123"?

Isn't it "#123#"?

Yes  I'm trying to use True.

 

That was just a typo on here.  I was sending the correct code when I tried. 

  • Author
6 minutes ago, fdsa said:

is there an extra space between


1,

and


"#123

?

 

try the test command (show phone number):


AT+CUSD=1,"99",15

 

 

Sending that command returns "OK" without anything else.

5 minutes ago, JaiMaai said:

Sending that command returns "OK" without anything else.

wait for several seconds, OK is a confirmation of receiving the command and after few seconds it shows the phone number.

 

# socat - /dev/ttyUSB2,b115200,crnl
AT

OK
AT+CUSD=1,"99",15

OK

+CUSD: 0,"MSISDN:66952012345",15   <<<===  shown after few seconds

AT+CUSD=1,"#123",15

OK   <<<<==== and nothing else happens 
AT

OK
AT+CUSD=1,"#123#",15    <<<=== note the second # after 123

OK

+CUSD: 0,"TrueMove-H credit is 16.79 Bt, you can use service until 26/10/2021",15  <<<=== shown after a few seconds

 

 

  • Author

I think part of the problem may be that the router interface is not a fully-fledged terminal and just allows basic input.

 

I'll try and find a way of sending the commands another way,

A.jpg

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.