-
sms messaging using Nokia Card Phone.
Hi,
i have read the artical "Sending SMS Messages from Terminal Devices"
by Al Pritchard. i find it very useful & easy. i tried it using a Nokia
Card Phone V2.0.
i am getting the responses from the card phone, but my message is not going
through?
in the code given by Al Pritchard,
( go to http://www.devx.com/wireless/article...MSap112100.asp for reference.)
/// sample code
' Now send the text to the phone and terminate with (Ctrl-Z)
MSComm1.Output = "This is a test. WOW! "
' The phone will respond with a conformation containing
' the 'message reference number' eg. +CMGS:
/// end
when i used this command, the phone responded with the
text "This is a test. WOW! "
not with +CMGS: some number
i think i am not properly ending the message,
i dont know how to terminate with CTRL + Z
can anyone suggest me how to terminate message with CTRL+Z?
thanks in advance
Ram
-
Re: sms messaging using Nokia Card Phone.
The Nokia Card Phone will require a little bit of
time to respond to the AT+CMGS .... string that
you send to it.
After you get the ">" response from the Nokia Card
Phone (NCP), you will send the message body followed
by a chr(26) or ctrl-z
Note that the NCP actually requires only a chr(13)
or vbCR rather than vbCRLF when sending the AT+CMGS
command. This sometimes feed an additional LineFeed
into the message body which give a first blank line
effect for the message received.
HTH and good luck with trying.
>/// sample code
>
> ' Now send the text to the phone and terminate with (Ctrl-Z)
> MSComm1.Output = "This is a test. WOW! "
> ' The phone will respond with a conformation containing
> ' the 'message reference number' eg. +CMGS:
>
>/// end
>
> when i used this command, the phone responded with the
> text "This is a test. WOW! "
> not with +CMGS: some number
>
> i think i am not properly ending the message,
>
> i dont know how to terminate with CTRL + Z
>
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