Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check balance amount using AT Command

Tags:

modem

sim-card

Is it possible to check balance amount of my SIM card using AT Command? Or is there any other way to do this without taking out the SIM card from GSM modem?or using PHP script..?

Thank you.

like image 460
Irene Ling Avatar asked Jul 21 '26 03:07

Irene Ling


1 Answers

You can send a SMS message via AT commands to a phone number the operator uses for reporting the balance.

For example: Vodafone.nz uses text 'BAL' on phone number 777. The operator then sends back the balance via incoming SMS message.

To send a message use AT+CMGF and AT+CMGS commands.

To read a message (containing the balance) use AT+CMGR command.

like image 72
mole Avatar answered Jul 26 '26 07:07

mole



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!