This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sending msg

Hi guys I read the topics about interfacing 8051 with gsm modem those are really helpful However when I implemented my program to receive a msg and give an acknowledgment(through sms) for same There went something wrong : While sending my sms modem doesn't send 1st 8 characters of my msg i.e. Consider example:

unsigned char *msg = "abcdefghijklmnop"

then my msg sending routine tend to send ijklmnop thats all can anybody help Thank you

Parents
  • Random guesses:

    - The driver eats the first 8 characters of any message.

    - The modem has a delay after you tell it to "send" while it's ignoring incoming data, but the driver is blasting away anyway; this delay happens to be 8 character times.

    - The caller is bugged, and is actually passing in a pointer deeper into the message string than you think.

    With no information on the code, the hardware, or what you've already tried to diagnose, it's hard to suggest anything.

Reply
  • Random guesses:

    - The driver eats the first 8 characters of any message.

    - The modem has a delay after you tell it to "send" while it's ignoring incoming data, but the driver is blasting away anyway; this delay happens to be 8 character times.

    - The caller is bugged, and is actually passing in a pointer deeper into the message string than you think.

    With no information on the code, the hardware, or what you've already tried to diagnose, it's hard to suggest anything.

Children