Siemens c55 sms control help please


Closed Thread
Results 1 to 40 of 86

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    On my searchs i find more info now i can send the sms from hterminal but not from the pic i read that "Hserout [20]" is the Ctrl+z end command but some thing is still missing for me i belave the problem must be on the sending command..... plz give ne some hellp.Thanks


    Hserout ["at", 13]
    Hserout ["at+cmgs=16", 13]
    Hserout ["079153912601000011000c915391663921010000aa02ef35" ,13]
    Hserout [20]

  2. #2
    Join Date
    Dec 2007
    Location
    Cd. Juarez, Mexico
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Here is a section from my program to send a sms. I'm using a WAVECOM modem, but I think the AT commans are the same for all brands.

    sms:
    HSerout ["AT",13]
    HSERIN 5000, SMS,[WAIT("OK")] ' wait for response ok for 5 seconds
    HSerout ["AT+CMGF=1",13] 'Set Text Mode
    HSERIN 5000, SMS,[WAIT("OK")] ' wait for response ok for 5 seconds
    HSerout ["AT+CMGS=",str tel\14,13] ' dial the phone number
    HSERIN 5000 , SMS, [WAIT(">")] 'wait for a response to send the message
    HSerout ["Esto es solo una prueba",13] 'write the message
    HSerout [26] 'exit message mode
    Pause 500
    GOTO ESPERA 'exit sms rutine

    and it works great!!!!!!!

    I hope it can help you

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Hi,

    thanks for caring, but de siemens c55 do not have text sms only pdu. I think i need in the pdu array some send command... like i have used in hterminal the ctrl+z.
    (Mi problema esta en comandar la trama pdu)

    Gracias

    Thanks,

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,159


    Did you find this post helpful? Yes | No

    Default

    Hi Norbac. Are you sure it is working? After AT+CMGS= there is a need for " character. Maybe your module does not needed.

    Here is an older post I gave as an example:

    Code:
    HSerout ["AT+CMGS=",34,your numbers here,34,13]
    hserin 2000,noresp,[wait(">")]
    HSerout ["your message here",26]
    hSerin 5000,noresp,[wait("OK")]
    LCDOut com,1,"Sent OK":Pause 1000
    GoTo .....
    noresp:
    LCDOut com,1,"Message not sent...":Pause 1000
    GoTo....
    34 is " character
    26 is Ctrl+Z character

    To Camolas: find another mobile with text. PDU is difficult format. Does not worth it. You may find cheap phones and modules to try.

    Ioannis
    Last edited by Ioannis; - 30th June 2008 at 19:09.

  5. #5
    Join Date
    Dec 2007
    Location
    Cd. Juarez, Mexico
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    You are rigth, according with the standard, the CMGS command needs a " for the phone number. But for some reason on my modem does not need it. I will change just to follow the standard.

    Thanks for your feedback.

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Thanks for caring, i have one nokia 6230 but i have tried for one month to connect it to pc but no sucess then i moved to siemens c55 and made it. Can you please just tell me how i have to do (pbp code, because my pdu array works fine in pc connection) to end my pdu array and send the send command (ctrl+z) ??

    Thanks

    By by


    Quote Originally Posted by Ioannis View Post
    Hi Norbac. Are you sure it is working? After AT+CMGS= there is a need for " character. Maybe your module does not needed.

    Here is an older post I gave as an example:

    Code:
    HSerout ["AT+CMGS=",34,your numbers here,34,13]
    hserin 2000,noresp,[wait(">")]
    HSerout ["your message here",26]
    hSerin 5000,noresp,[wait("OK")]
    LCDOut com,1,"Sent OK":Pause 1000
    GoTo .....
    noresp:
    LCDOut com,1,"Message not sent...":Pause 1000
    GoTo....
    34 is " character
    26 is Ctrl+Z character

    To Camolas: find another mobile with text. PDU is difficult format. Does not worth it. You may find cheap phones and modules to try.

    Ioannis

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,159


    Did you find this post helpful? Yes | No

    Default

    I gave you the code. You even quoted to the reply. Please read carefully. The ctrl-Z is there. As for the PDU I cannot help you, sorry.

    Ioannis

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Hi,

    The pdu is fine no problem, are this command lines ok?


    Hserout ["at", 13]
    Hserout ["at+cmgs=16", 13]
    Hserout ["079153912601000011000c915391663921010000aa02ef35" ,13, 26]


    Thanks for caring

    Quote Originally Posted by Ioannis View Post
    I gave you the code. You even quoted to the reply. Please read carefully. The ctrl-Z is there. As for the PDU I cannot help you, sorry.

    Ioannis

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,159


    Did you find this post helpful? Yes | No

    Default

    If you mean the syntax then yes, I don't see any problem, except the 13 on the last. Just remove it.

    Ioannis

Similar Threads

  1. sms to control pic..pls help...
    By Ziki in forum mel PIC BASIC Pro
    Replies: 53
    Last Post: - 12th April 2010, 21:19
  2. Replies: 11
    Last Post: - 19th August 2009, 15:23
  3. SMS control for Relays
    By charudatt in forum Code Examples
    Replies: 15
    Last Post: - 2nd May 2009, 00:08
  4. Reading a SMS to an array
    By KA5MAL in forum GSM
    Replies: 3
    Last Post: - 17th June 2008, 17:24
  5. Control RC servo via Parallax Servo Control
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th September 2005, 08:18

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts