prerak
Newbie level 4
I am using ARM LPC2138 with a SIM900 module. One serial port UART0 is used for hyper term and another to communicate with SIM900
I have developed my own serial protocol wrapping over sim900 commands.
Everything works fine, except for a strange issue.
I am using a command wrapper (e.g. ^6:<my string>~$) to send string over tcp ip. internally it uses AT+CIPSEND, waits for the ">" prompt and then sends the string
I am using the same method for number of cases - works fine. But as soon as I try to send "data" as string, it does not return prompt.
It is intriguing, because the prompt should be returned as a result of "AT+CIPSEND" and the string is sent only after that.
The controller has no way of knowing which string is going to follow, still it does not return prompt only for the string "data".
Any clues will be greatly appreciated!
Thanks,
Prerak
I have developed my own serial protocol wrapping over sim900 commands.
Everything works fine, except for a strange issue.
I am using a command wrapper (e.g. ^6:<my string>~$) to send string over tcp ip. internally it uses AT+CIPSEND, waits for the ">" prompt and then sends the string
I am using the same method for number of cases - works fine. But as soon as I try to send "data" as string, it does not return prompt.
It is intriguing, because the prompt should be returned as a result of "AT+CIPSEND" and the string is sent only after that.
The controller has no way of knowing which string is going to follow, still it does not return prompt only for the string "data".
Any clues will be greatly appreciated!
Thanks,
Prerak