-
Sending SMS Messages from Terminal Devices Using MSComm Control.
Hi All,
I have read the Topic on "Sending SMS Messages from Terminal Devices
by Al Pritchard" on this Site (DevX)
My Problem is How to Send (Ctrl-Z) Character to the Mobile to Hang up the
Phone. I have Tried ^z, Chr$(26) (for Ctrl+Z Pressed Together), Chr$(13)
(Carraige Return), (ctrl-Z) etc...
But No Success.
Any Help will be Appriciated.
Thank you.
-
Re: Sending SMS Messages from Terminal Devices Using MSComm Control.
Hi Pankil,
you assign Chr$(26) to a string & then send out. ie...
dim sendText as String
sendText = "mobileNumber" + Chr$(26)
MSComm1.Output = sendText + Chr$(13)
Hope this will work..
>Hi All,
>
>I have read the Topic on "Sending SMS Messages from Terminal Devices
>by Al Pritchard" on this Site (DevX)
>
>My Problem is How to Send (Ctrl-Z) Character to the Mobile to Hang up the
>Phone. I have Tried ^z, Chr$(26) (for Ctrl+Z Pressed Together), Chr$(13)
>(Carraige Return), (ctrl-Z) etc...
>But No Success.
>
>Any Help will be Appriciated.
>
>Thank you.
>
-
Re: Sending SMS Messages from Terminal Devices Using MSComm Control.
Hi,
I am using some commands for the siemens m20 Terminal.
when i use the hyperterminal, i get teh information properly
MSComm1.Output = "AT+CSCA?" & vbCrLf
but when i use the above from vb,
RichTextBox1.Text = MSComm1.Input
the response is not being displayed... though is contains some things.. what
could be the reason... do i have to explicity convert to string and parse
it... any idea will be greatly appreciated..
saril
"Thiru" <tarasu@singtel.com> wrote:
>
>Hi Pankil,
>you assign Chr$(26) to a string & then send out. ie...
>
>dim sendText as String
>sendText = "mobileNumber" + Chr$(26)
>
>MSComm1.Output = sendText + Chr$(13)
>
>Hope this will work..
>
>
>>Hi All,
>>
>>I have read the Topic on "Sending SMS Messages from Terminal Devices
>>by Al Pritchard" on this Site (DevX)
>>
>>My Problem is How to Send (Ctrl-Z) Character to the Mobile to Hang up the
>>Phone. I have Tried ^z, Chr$(26) (for Ctrl+Z Pressed Together), Chr$(13)
>>(Carraige Return), (ctrl-Z) etc...
>>But No Success.
>>
>>Any Help will be Appriciated.
>>
>>Thank you.
>>
>
-
Re: Sending SMS Messages from Terminal Devices Using MSComm Control.
Hi Pankil
If u r using vb and mscomm control use following code
mscomm.output= 12(length of pdu) & chr$(13)
wait for ">" to come from modem then
mscomm.output= sms pdu & Chr$(26)
It will solve u r problem
Bye
"Pankil" <sPankil@indiatimes.com> wrote:
>
>Hi All,
>
>I have read the Topic on "Sending SMS Messages from Terminal Devices
>by Al Pritchard" on this Site (DevX)
>
>My Problem is How to Send (Ctrl-Z) Character to the Mobile to Hang up the
>Phone. I have Tried ^z, Chr$(26) (for Ctrl+Z Pressed Together), Chr$(13)
>(Carraige Return), (ctrl-Z) etc...
>But No Success.
>
>Any Help will be Appriciated.
>
>Thank you.
>
-
Re: Sending SMS Messages from Terminal Devices Using MSComm Control.
Hi,
As I mentioned in another devx forum, I'm using chr(26) for (Ctrl-z). It
works great for VB6, using MSComm & a Motorola Timeport.
I have no idea it crashes your mobile but thought this might help.
"Pankil" <sPankil@indiatimes.com> wrote:
>
>Hi All,
>
>I have read the Topic on "Sending SMS Messages from Terminal Devices
>by Al Pritchard" on this Site (DevX)
>
>My Problem is How to Send (Ctrl-Z) Character to the Mobile to Hang up the
>Phone. I have Tried ^z, Chr$(26) (for Ctrl+Z Pressed Together), Chr$(13)
>(Carraige Return), (ctrl-Z) etc...
>But No Success.
>
>Any Help will be Appriciated.
>
>Thank you.
>
-
Problems receiving sms from NOKIA + Visual Basic
Hello.
Help me please, I am working with nokia 6230 + Visual basic 6 + mscomm
It works good sending sms using vBasic, but I can not receive data. This is a problem receiving data, and a message is displayed:
Error '8020': Error reading device
That error occurs when I try to read port: data=mscomm1.input
Help me please
Thanks in advance
-
 Originally Posted by pcapelo
Hello.
Help me please, I am working with nokia 6230 + Visual basic 6 + mscomm
It works good sending sms using vBasic, but I can not receive data. This is a problem receiving data, and a message is displayed:
Error '8020': Error reading device
That error occurs when I try to read port: data=mscomm1.input
Help me please
Thanks in advance
Hello
I have nokia 6230 and i want to interface it with PC to send sms through VB 6.
Respected Sir
I found your website really useful. I badly need ur help.
Actually, In my project, I am using some sensors connected to microcontroller and the microcontroller is interfaced to PC. The readings of the sensors is shown on the PC in Visual Basic 6.
For example, LM35 measures temperature. Incase, there is extreme increase in temperature, an SMS should be sent to the owner or any hospital or any place. For this I have to interface mobile to PC. I need the code in VB 6 to send sms. I have two mobiles: nokia 3310 and nokia 6230. Which one would be easy to use. I think, i can get the data cable for 6230. Can u plz tell me the name for the data cable of 3310. Is it called dau-9p or it has any other name?
For nokia 6230, I want to know about FBus and MBus. I mean, the pin diagram, the connections needed to connect with PC. I want to connect it through serial port. I am getting 0.5V and 4.5V from MAX232, but after this, I dont know, what connections are required? Plz help me.
I need the code in VB 6 to send sms. I know, its long back, u had posted this question, but plz help me. Plz send me the correct code in VB to send sms and do i need to instal any file before creating the form. what is nokia component, i read this somewhere.
Thanks alot for helping...
May God reward you...
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks