checking sim900 last byte sent to controller

Status
Not open for further replies.

mohamed.elsabagh

Full Member level 2
Joined
Oct 27, 2010
Messages
145
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,298
Visit site
Activity points
2,320
How a micrcontroller connected ti sim900 would know the end of packet send by the sim900.
For example if i send the AT command AT to sim900 it responses with OK so how would i make my controller know that the byte which contains the 'K' is the last byte from the sim900 module without using software delays???
 

You can test using the following format
Commands are usually followed by a response that includes.”<CR><LF><response><CR><LF>”
 

But What if in the response there are several <CR><LF> and i can't know how many of them such as reading a message or reading webserver data
 

Any command followed by" <CR><LF><response><CR><LF>"

*But remember one thing the command will be echo first.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…