-
April 26th, 2013, 05:47 AM
#1
HELP! Need code to SMS clients !
Hello
Greetings from Portugal !
I have an app in VB6 + Access DB to manage a veterinary clinic. Not commercial just for my own use.
After several years allways making some small/big alterations, finnally I decided to introduce the hability to send SMS to the clients. Just for marketing or just to remind something else.
So, I have 2 situations, but seems the same solution.
First one, send to a specific client a pre-defined text or not.
Second one, filter on the database some clients and send to all the same message.
I found 2 (commercial) solutions on the web. But I think the code for a simple sms app it's not so complicated (it's true....i didn't YET writed it)
I think I need to initialize the modem (in my case a nokia cell phone attached to a COM port)
Then send the respective AT commands with the number and the message.
And receive a report of success or not of that delivery.
Nothing more
Now, anyone here has some code that can share with me ?
Kind regards in advance.
Hugo
-
April 26th, 2013, 09:25 AM
#2
Re: HELP! Need code to SMS clients !
Does your "nokia cell phone attached to a COM port" allow you to use AT commands?
Did you, at least try to send SMS using this phone and Hyperterminal?
Victor Nijegorodov
-
April 26th, 2013, 10:52 AM
#3
Re: HELP! Need code to SMS clients !
Originally Posted by VictorN
Does your "nokia cell phone attached to a COM port" allow you to use AT commands?
Did you, at least try to send SMS using this phone and Hyperterminal?
Hello, and thank you for your reply.
The answer is NO. because I don't know the AT commands to do that.
Can you sugest ?
Regards
-
April 26th, 2013, 11:00 AM
#4
Re: HELP! Need code to SMS clients !
Suppose, you'd like to send SMS to phone no. +1234343434. You first send to modem
Code:
At+CMGS=+1234343434
Then after you got the responseyou send the text adding CtrlZ at the end of message:
Code:
Some message to some phoneCtrlZ
Victor Nijegorodov
-
April 26th, 2013, 11:16 AM
#5
Re: HELP! Need code to SMS clients !
Thank you. I will try it asap.
I was trying with a nokia N80, because I have the USB communication cable. But each experience I do, the port state goes crazy and I need to restart the laptop again.
Today I bought an USB-SERIAL adapter to coonect an NOKIA 6310, described as ideal to connect to a PC
Let's see, I will do your test and I will give you the feedback
Regards
-
April 26th, 2013, 11:22 AM
#6
Re: HELP! Need code to SMS clients !
Victor Nijegorodov
-
April 26th, 2013, 03:53 PM
#7
Re: HELP! Need code to SMS clients !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|