Siemens c55 sms control help please


Closed Thread
Results 1 to 40 of 86

Hybrid View

  1. #1
    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.

  2. #2
    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.

  3. #3


    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

  4. #4
    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

  5. #5


    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

  6. #6
    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

  7. #7
    Join Date
    Nov 2005
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    Why not store the messagge in the sim memory card and send with the command "AT+CMSS=n",Cr

    Regards

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Hi,

    @ Ioannis tanks i will try later.


    Quote Originally Posted by GioppY View Post
    Why not store the messagge in the sim memory card and send with the command "AT+CMSS=n",Cr

    Regards
    Can you please explain me beter your idea? it will go like this? : Hserout ["AT+CMSS=n", 13]

    n- is posicion number in sim storege?
    no need off [26] Ctrl+z command?


    My code

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

    I have connect to hterminal and this is what the pic is sending:

    ATAT+CMGS=
    16079153912601000011000C915391663921010000AA02EF3

    It miss a 5 on the end , and 16 is not on the AT+CMGS=16

    Can you hellp me people?


    Thanks,
    Last edited by camolas; - 4th July 2008 at 17:10.

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