Receive Msg From GSM Modem?
Nov 5, 2009Imports System
Imports System.IO.Ports
Public Class Form1
[code].....
Imports System
Imports System.IO.Ports
Public Class Form1
[code].....
I am working on a program to poll SMSes automatically, i am using the serialPort_DataReceived event to detect any SMSes coming through the serialPort
Private Sub serialPort_DataReceived( _
ByVal sender As Object, _
ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _
Handles serialPort.DataReceived
but the message i received does not contains the full information, may i know that if there is any other received data event that can be used to receive data coming through the serial port which can better receive data from a gsm modem?
I want to write a Solution with VB.Net for Receive "Users" requests and Send specified information to
them with SMS.I use D-Link GSM-Modem (Model:DWM-156).
This model/type of GSM-Modem, has embeded Driver and a Application for Sending/Receiving SMS.on it, and also we can attach MicroSD to the Device. 1-Send/Receive with GSM-Modem and D-Link's application :
when i attach GSM-Modem to USB port, D-Link' app , run automatically , then I heared noises on my Speaker, like when turn on a Mobile. I think this Signals "Hand Shake" with My GSM-Network.
[Code]...
I am working on an assignment whereby i am requested to receive incoming messages via a gsm modem, i have tried to do so by writing at commands to the serial port where the gsm modem is connected to but there's one specific line which gives me error when i tried writing it to the serial port, (AT+CMGL= "ALL") which returns me an error: CMS ERROR: 305 which means Invalid Text mode parameter The following is the codes i have done up to so far, can anyone tell me what is the correct way to write this specific line to the serial port or is there any other methods that is able to do the same thing?[code]...
View 8 RepliesI have to create an application that can receive/send SMS using GSM Modem.
View 4 RepliesI am wondering is there any code to get the text reply from the modem? I am using the itegno W3800 modem. I have used the below method so far but apparently VB.NET windows form doesnt see the incoming data. The message box comes out empty. But when i try the same method with the TMAS Siemens GSM modem, VB.NET can see the incoming data and display out the data string.
here is the code that i have written:
serialPort.Write("AT" & vbCrLf) 'set command message format to text mode(1)
receiveddata = serialPort.ReadExisting()
it works for the TMAS gsm modem.
The baud rate for the TMAS GSM modem is 9600 and the baud rate for the itegno modem is 115200.
For the itegno modem, the data is sort of like stuck at the serial port as after every time i pressed on the button for example "AT"
this "AT" command gets "stuck" at the serialport and run only when i have connected through the serial port in hyper terminal.
I am thinking is it the baud rate for 115200 is too fast for VB to handle? And also is there any way to solve this problem?
i have to revert back to the itegno modem for use for my project at the end of the day.
I am attempting to call a remote modem using a local modem connected via USB. Programming language is VB.NET and I am using the SerialPort control to talk to the modem.
Communication is as follows:
I send: ATZ0[CR]
Modem responds: ATZ0[CR][CR][LF]OK[CR][LF]
I then try to dial a number:
I send: ATDTnnnnnnnnnn[CR] where nnnnnnnnnn is a valid number
The modem responds with:ATDTnnnnnnnnnn[CR][CR][LF]ERROR[CR][LF]
All other commands seem to work without any issues
For info the modem is a MultiTech MT5634ZBA-USB-V92
If I use hyperterminal and type the same commands in it works as expected and dials the number, so it must be something I am doing in my code, possible some setup in the SerialPort control
(from scratch as I've not done this before) how I can stream live through modem-to-modem connection. The modem here refers to dial-up modem (PSTN modem), there is no internet/lan involved.It will be 2 programs, the first is to transmit real-time video from webcam, and the second is to remote video from the first.
View 5 RepliesI am developing Sms Project in vb.net.I can Send and receive Sms Easily. I can attented Incoming call and dial. but not hearing and talk. I connected with com Port. This is possible or not for talking and hearing
View 2 Replieswhere can I find an information/learn how to comunicate with fax modem to create something very simple for fax sending?
View 1 RepliesI'm a novice and after toying with some basic ideas on how to talk to a modem with VB.net, I think there may be much more to it than I realize. (?) I know my modem is fine, I can use hyperterminal to call out on it with no problem.So, how involved is it to talk to a modem? My initial thinking was that I could simply talk to it via a serial port using AT commands sent and rcvd as a string.(?)My modem is set up with COM2 9600 8n1.I've setup a serial port with the same parameters in my code.
View 13 RepliesI am using a 3rd party communication component and it is able to tell me the names of installed modems. Given the modem name, I need the com port associated with that modem (so that I can set the modem baud rate directly through the serial port). I also need a way to determine if that port is already in use.
I am trying to implement automated sms(Short Msg ) system.I implemented sms receiving part.but I could't send a sms as reply.
View 5 Repliesi,ve been searching for sending sms code using gsm modem,but i still coudn't find..is there anybody can give me the code or suitable link for me to get sample code?hope got reply as soon as possible because my due date for my project is 2 weeks to go.
View 4 RepliesWe are having problem regarding on controlling the broadband with the use of visual basic. We need to transfer data from gsm to usb modem, and the usb modem will read the said data, and transfer it to a data base. Can the visual basic help us regarding our problem?
View 1 RepliesI have created a program using FaxServer and FaxDocument. I want to know if there is a way to determine programically if the modem is busy? Busy in terms of it could be sending/receiving a fax or another program is using it. I just need to know if its in use.
View 5 RepliesI need to develop a simple application. That is, with a click of a button, it will call a telephone number through a voice modem.I'm using MS Visual Basic 2010 Express Edition.I refer to this link : [URL]I tried it, by changing phone number and my COM port. I added System as reference too.Unfortunately, it's not doing any good.
View 7 Repliesim having a problem parsing this message from textbox, this is actually sms message from sim i read it from textbox
ex. "+CMGR: "REC UNREAD","SMARTLoa",,"12/02/13,17:13:22+32"
13Feb 17:22: 09212363053 Load Wallet Balance: P1055.57. Ref:540018216951"
i want to parse this message and put in the mysql table,
sender = field 1
SMARTLoa
message = field 2
13Feb 17:22: 09212363053 Load Wallet Balance: P1055.57. Ref:540018216951
time/date = field 3
12/02/13,17:13:22+32
Our project requires machine A to communicate to machine B using modem. For example, machine A will call machine B, issue commands and machine B sends the results back. Also we want machine B to transfer files to machine A if there is something to send.
View 14 RepliesI'm creating a small program in Visual Basic, using Visual Studio 2010, which communicates with a GSM modem via serial port.The connection works, I can even communicate properly with the modem and I can also send sms and mms .. But I can not handle the modem answers ... I'll explain:If I send a command like AT + CSQ modem replies with + CSQ 22.0. This command gives me the value of the signal as a response on a scale of 0-30 ... I can see on the screen (in a dedicated console) but I would like to manage the response in the sense that I would do something like that
IF (answer.text = "+CSQ 22,0") Then
label1.text = "Good"
ELSE
label1.text = "Bad"
END IF
Read Result Of GSM Modem?[code]....
View 1 RepliesI need to send sms via GPRS Modem with vb.net
View 2 RepliesI want to send SMS Via GSM Modem from vb.net application I write code But it is not working .
Here is Code below :
Public Class Form1
Private SMSEngine As SMSCOMMS
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[code].....
i use Telit Ez 10 ( GM862 ) GSM modem. I tried to write simple program that sends AT Commands to modem and see the responds to these commnads. But it does not work. tp correct the VB code.
M[Code]...
I am doing a sms project using VB .net to connect to my gsm modem via serialport. All the connection and everything was working great and I can send and receive sms. Then here come a problem, I need to send long sms more than 160 chars. I read and did some research and I know that I need to use the pdu and udh. I managed to understand slightly of the pdu packet but is still quite confuse on that part.
Anyone can briefly explain the exact way to do the concatented sms (long sms)?Another problem is how can I use vb to encode the data into pdu gsm 7bit data? Is there any built in functions or do i need to write them myself?
i need to develop a web application (aspx) wherein the data connects to a GSM Modem and gets and sends some string to the modem. i have absolutely no idea where to start and how to start. direct me towards a proper page / code wherein i can understand the basics of connecting.i have the vb6 code for the application which used Winsock but the guy who has developed the software is unable to explain anything to me about .net
so i am stuck here with absolutely no idea as to how to do it.
I have a problem in VB, I've never seem that.. Waht a confused thing... In the application I was using for send SMS to many conatiners, I use this
[Code]....
I wrote a fax program that is using Microsoft FaxServer and FaxDocument on a windows 7 machine. I want to be able to check if the modem that the FaxServer is using is busy. I maybe busy for whatever reason (in use by another program, receiving or sending faxes, whatever). What currently happens, is if the modem is busy, the fax is sent to the Windows Queue and waits for the modem to get done. I don't want that to happen. So before sending I want to check if the modem is in use. I have a couple of things I have already done. But I am having issue tying them together.
I can get a list of ports for the computer and I can get the faxserver devices. But I would like to be able to do something like... take the faxserver device it is using(Com1, Com2, Com3...Whatever) and I want to check if it is free.
[Code]...
I have to develop a software which dials a modem thru Gsm using Vb.net.I should dial a system from my pc to modem
View 2 RepliesMy app is to send text messages to mobile phones using Hayes commands.Only 1 workstation has a Modem attached, but the app is a standalone on multiple workstations.
Is there a way to share this modem using virtual comports on the lan?