How To Parse Sms Message From Gsm Modem
Feb 13, 2012
im 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
View 2 Replies
ADVERTISEMENT
Aug 19, 2010
I have an application, for sending SMS to mobile phones, using a GSM modem and AT commands. It works perfectly, except in one point. If the modem have some problem, for example doesn't have network, or even doesn't have a SIM card, I dont know if the message was sent or not. How can I test if the message was sucefully sent?
View 15 Replies
Jul 11, 2009
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
View 6 Replies
Oct 12, 2011
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
View 5 Replies
Oct 27, 2009
(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 Replies
Jun 8, 2012
I just want to parse simple expressions like IIF(FVAL(PFC) = TRUE, (IIF((ORGVAL(BAS, "2012/12/31") + ORGVAL(DA)) < 6500, (FVAL(BAS) + FVAL(DA)) * 12%, 780)), 0)`After parsing this I should be able to know what functions contains what parameters.
[Code]...
I'm stuck with .Net Framework 2.0, so no Linq or lambda expression goodies for me. Also I want to include the code in my custom library and not just reference it. Can anyone point me to some good library or code.
I just need to parse and not evaluate the expression and find what tokens are in use. After finding the tokens I need to change the expression string before parsing, like if the function ORGVAL is used then the parameter passed has has to be prefixed by an underscore. Like ORGVAL(BAS) will transform to ORGVAL(_BAS). Some functions can have tow parameters like ORGVAL(BAS, "2012/12/31") and this will transform to ORGVAL(_BAS, "2012/12/31")
NOTE: IF THERE ARE OTHER WAYS OF DOING IT PLEASE LET ME KNOW. I WOULD LOVE TO AVOID A PARSER AND LEXER.
View 3 Replies
Mar 28, 2009
I 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 Replies
Dec 20, 2010
where can I find an information/learn how to comunicate with fax modem to create something very simple for fax sending?
View 1 Replies
Jan 26, 2009
I'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 Replies
May 11, 2011
I 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.
View 4 Replies
Nov 5, 2009
Imports System
Imports System.IO.Ports
Public Class Form1
[code].....
View 3 Replies
Sep 15, 2009
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?
View 13 Replies
May 11, 2012
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 Replies
Mar 12, 2009
i,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 Replies
Jan 26, 2012
We 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 Replies
Mar 9, 2010
I 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 Replies
Oct 2, 2010
I 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 Replies
Aug 22, 2009
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 Replies
Aug 10, 2011
I'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
View 1 Replies
Jul 21, 2009
Read Result Of GSM Modem?[code]....
View 1 Replies
Jul 7, 2009
I need to send sms via GPRS Modem with vb.net
View 2 Replies
Jan 6, 2011
I 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].....
View 1 Replies
Feb 9, 2011
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]...
View 2 Replies
Apr 7, 2011
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?
View 1 Replies
Sep 2, 2011
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.
View 2 Replies
Aug 9, 2010
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]....
View 3 Replies
Jan 6, 2010
create a message box that stores my user name, message, and post datetime into the database as messages are sent. Soon came to realise, what if the user changed his name? So I decided to use the user id (icn) to identify the message poster instead. However, my chunk of codes keep giving me the same error. Says that there are no rows in the dataset.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim name As String
Dim icn As String
Dim message As String
[code]....
View 7 Replies
Feb 22, 2009
how to create an error message by message box to tell the user to enter a number only if they key in a character value?
I MEAN AFTER THEY PRESS THE CALCULATE BUTTON
Private Sub btnCalcFat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalcFat.Click
Dim intFat As Integer
intFat = Integer.Parse(txtFat.Text)
lblResultDisplay.Text = txtFat.Text * 9
End Sub
My text box is call txtFat
View 3 Replies
Mar 18, 2010
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]...
View 1 Replies
Jul 29, 2010
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 Replies