Enduro
asked on
VB commands for sending SMS using MsComm
hi there.
Can anyone show me the commands for sending sms using Visual bASic?
I have done the mscomm.
using a Siemens mobile phone.
Can anyone show me the commands for sending sms using Visual bASic?
I have done the mscomm.
using a Siemens mobile phone.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the minimum AT commands are the followings:
<cr> is Carriage Return (ASCII 13)
the number must be written in international format
+COUNTRYCODE_AREACODE_NUMB ER
AT+CMGF=1<cr>
AT+CMGS="+39111999999"<cr>
the phone replies with a different prompt ">"
at this point put the message
this is my message<CTRL-Z>
Of course you should write a little VB routine that sends a command, e.g.
MSComm1.Output = "command string"
and waits for a correct reply before sending another command.
I suggest you to make practice using Windows Terminal emulator and typing AT commands by hand.
Hope it helps
Massimo
<cr> is Carriage Return (ASCII 13)
the number must be written in international format
+COUNTRYCODE_AREACODE_NUMB
AT+CMGF=1<cr>
AT+CMGS="+39111999999"<cr>
the phone replies with a different prompt ">"
at this point put the message
this is my message<CTRL-Z>
Of course you should write a little VB routine that sends a command, e.g.
MSComm1.Output = "command string"
and waits for a correct reply before sending another command.
I suggest you to make practice using Windows Terminal emulator and typing AT commands by hand.
Hope it helps
Massimo
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- points to twalgrave
Please leave any comments here within the
next seven days.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- points to twalgrave
Please leave any comments here within the
next seven days.
per recommendation
SpideyMod
Community Support Moderator @Experts Exchange
SpideyMod
Community Support Moderator @Experts Exchange
http://www.my-siemens.com/com.aperto/MySiemens/Files/Addon/tt/at/mw/hd/hd/s45_me45_step2atcommandset.pdf
Simply send the AT Commands like you would any other AT command to a modem.