DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Ram Guest

    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



  2. #2
    cs Guest

    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
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links