Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2027
  • Last Modified:

SMS from PC via Wavecom M1203 modem

Hello. i have a problem. I m student of IT in denmark. I have developed surveillance application using IP kamera. Application saves an image when movement is detected and overwrite it when next movement is detected.
I have a wavecom modem type M1203A and I have succeded to send sms to my mobile via windows terminal using at commands. What i want is to be able to send a SMS to mobile when my image from kamera is overwrited with new. It means that I want to notify moile telefone user with one sms (using any programming language) when one image is updated. Can anyone help me do this.
0
mirzaabdic
Asked:
mirzaabdic
1 Solution
 
MeffCommented:
Example: Send SMS

AT+CMGF=1[Enter]
AT+CMGS="+491711234567"[Enter]
>Please call office^Z
 +CMGF=1 - set modem in text mode
Send SMS (^Z equals StrgZ). At D2 you can send without international and local code. If you dial with Int. and local code the transmission from foreign networks are ensured.
Source: http://www.gsm-modem.de/gsm-modem-faq.html

Regards
Meff
0
 
mirzaabdicAuthor Commented:
hot to implement this????
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
imarshadCommented:
Here is a sample VB implementation...

Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Private Sub Form_Load()

MSComm1.Settings="9600,n,8,1"        'Change this with the Baud rate of your modem (The one you use with Hyper Terminal)
MSComm1.CommPort=1                     ' Change this with the port your Modem is attached
MSComm1.PortOpen=TRUE            

End Sub

Private Sub Command1_Click()
MSComm1.Output = "AT+CMGF=1" & vbCrLf
Sleep 500
MSComm1.Output = "AT+CMGS=+2000908080" & vbCrLf       'Replace this with your mobile Phone's No.
Sleep 500
MSComm1.Output = "Hello This is my test message"
Sleep 2000
If InStr(MSComm1.Input, "OK") Then
    MsgBox "Message Send"
Else
    MsgBox "Message Not Send"
End If

End Sub
0
 
mirzaabdicAuthor Commented:
this is a stupid Q..
I did not programmed before in VB..how do you run this code....
????
I have .NET installed...
And modem is connected and working I have tested it in terminal.....

?????
Thanks
Regard M.A.
0
 
imarshadCommented:
This code is to be run in VB6....

Imran
0
 
mirzaabdicAuthor Commented:
Yes but what i need to install that

Mirza
0
 
imarshadCommented:
VB6....

Imran
0
 
touchringCommented:
Here's a freeware SMS sender, VisualGSM Lite, which supports DOS and HTTP interface - http://www.sms-gateway-software.com.  You can use Windows Batch files to send SMS using it.

Rgds,
Joshua
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now