Jump to content

Send SMS using AT commands to instruct the mobile phone or GSM/GPRS modem to send SMS messages


Recommended Posts

Posted

I know there is many API for sending SMS, but all they relates on payed services, where you pay per each SMS.

I would like to use standard Mobile Phone or GSM/GPRS modem to send SMS messages, and just use my Local GSM provider with my no limited service.

 

Here I found some instructions:
https://www.developershome.com/sms/howToSendSMSFromPC.asp

Anybody has done something similar or anyone is interested in helping?

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Interesting Idea.

At work we have an appliance with on board 8 SIM cards and every SIM has SMTP parameters, so you can compose an email and it will be delivered as SMS.

I use this in a lot of scripts for alerts.

So your idea make me think about an android APP, exposing SMTP account and sending an email to this app on the phone you can trigger  SMS.

But take a look also to this : IFTTT

Just my 2 cents..

Posted

I was searching today for commercial solutions.

And I found one .. very promising.

Look here:
https://www.gsmfavorites.com/gsmhardware/1teltonikamodempcig10/
The Teltonika ModemCOM G10 is fully supported by the ActiveXperts SMS Component software.


http://www.www.smd24.com.pl/pdf/Flyer_ModemPCI-G10_EN.pdf
http://www.www.smd24.com.pl/?a=sklep.view&p=12216

https://www.activexperts.com/sms-component/

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

It sounds like this could work with PuTTy and a USB connection. The article you linked at the top suggests HyperTerminal which isn't available on Win10. :( I'll give it a try later tonight. It's interesting, but it seems like there should be an easier solution.

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

  Reveal hidden contents
Posted (edited)

What are your requirements? or is your goal to have solution with AT commands and AutoIt  and your own phone?

Looking at MS and HUAWEI solution I assume you need 2 apps in some client/server logic

  1. On your phone
  2. On your PC

On your phone app this should happen

 

And many alternatives

 

 

 

 

 

Edited by junkew
Posted

Thank you.
It looks very promising.

btw.
Here is also interesting solution for controling Android Devices http://www.sigma-rt.com/en/tc/

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

i have a personal solution that utilizes android apps Tasker and AutoRemote,

AutoRemote allows you to send data to your android phone remotely in a couple of ways, but most useful is the ability to send data by HTTP so it can be done with practically any scripting language on any OS.

Tasker is a very powerful android automation app, it can intercept the AutoRemote data and perform your pre-defined actions with that data.

they are both paid apps, one time fee totaling $6.98

this would probably only be good for a simple personal use case, i know you were looking at complex commercial use information but i couldt tell if you actually needed commercial duty so apologies if this not for you.

if you decide to try this route let me know and i can help with Tasker.

 

If @error Then
    MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!")
EndIf

"Yeah yeah yeah patience, how long will that take?"  -Ed Gruberman

REAL search results  |  SciTE4AutoIt3 Editor Full Version

Posted (edited)

I was able to get a connection through PuTTy to my phone. I have no idea what any of the commands do yet though, so it doesn't do much besides tell me "NO CARRIER" and (temporarily) break my USB mouse :D

Edit: The only commands that seem to work for me are "at" (returns "ok") and "at&v", which returns a list of semi-colon separated items that I don't understand

Edited by seadoggie01

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

  Reveal hidden contents
Posted

I use USB modem like this

 image.jpeg.5a276a55970e57f7c09368df3ce1137c.jpeg

I send AT command with AutoIt ComPort functions.

 

You could also use your own Android Phone using ADB like this: https://stackoverflow.com/questions/17580199/sending-a-sms-on-android-through-adb

 

Saludos

 

Posted (edited)

Deleted.

Sent Twice. ðŸ˜¤ Due to my slow connection.

 

Saludos

 

Edited by Danyfirex
resent

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...