Sending AT commands to a SMS modem
Im trying hard to configure a SMS MODEM the GM862
This is a simpel modem with a mobile card connected to my ttyS0
i can put the command manualy in with minicom and this works.
Now i want to automate this function to send is out in a script
The commands that needed to be send to the modem are :
text message that can contain almost anything
The 1st 4 AT commands are to set the sms etc and set the sms to plain txt
the 5th is the mobile #
the 6th line is the SMS itself
the 7th is the end of that txt and must close with a CTRL-Z
now i have tried it with runscript (ofcourse with the send cmd) but this doesnt work then i tried it with minicom -S
but then it wont exit ofcourse no idea how i do this.
the most important thing is after the txt mesage i have to close with a CTRL-Z also know as /z or ^z
im lost anyone ideas how to solve this issue.
Note the txt message must be at the end variable
thnx for the help
hmm maybe the programming section was more wise ....
Last edited by narmida; 10-12-2005 at 08:10 PM.