Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/31/10 12:52
Read: times


 
Msg Score: -1
 -1 Didn't Search First
#174670 - Dear Andy
Responding to: ???'s previous message
I need some help in finding the data on finite state machines. could not find anything online also did not have much time today as i mostly work outdoors. Can you please send me some links.

Also yes i am using interrupt drives serial at 9600. I was trying to program using your serial buffer concept but i have to ask one thing.

One single reply from my sim300c may contain more than one 13's and 10's.... so how will my isr know when to signal the main loop that the buffer has the complete reply and not the partial reply and more is still to come after this 10 or 13 ??

What i am trying to do is that use the 'strcmp' to compare the strings that i have stored in the code space. Now suppose that characters in my buffer that i have to compare are from place 0 to place 6 i.e. 7 characters in all. the 7th place is 13 and the 8th place is 10. now once the comparison is made, i will shift the complete buffer and remove the 7 characters that i have already compared....can i do this ... please suggest if i am being stupid

List of 33 messages in thread
TopicAuthorDate
GSM Module Testing            01/01/70 00:00      
   9-wire VS 3-wire            01/01/70 00:00      
   Don't guess!            01/01/70 00:00      
   I will            01/01/70 00:00      
      missed the point            01/01/70 00:00      
      probably the commonest beginner's mistake with AT commands            01/01/70 00:00      
         ohhhkie            01/01/70 00:00      
   it is working, BUT !            01/01/70 00:00      
      Look at string manipulation on other targets - almost same            01/01/70 00:00      
         which other targets,            01/01/70 00:00      
            RE: printf            01/01/70 00:00      
               sorry            01/01/70 00:00      
                  Do you need generic formatting?            01/01/70 00:00      
                     HANG            01/01/70 00:00      
                        RTFM            01/01/70 00:00      
                     puts, itoa            01/01/70 00:00      
                        itoa() isn't generally available            01/01/70 00:00      
                           None of which            01/01/70 00:00      
                     If you do need generic formatting...            01/01/70 00:00      
                  Any 'C' textbook...            01/01/70 00:00      
   how to read a reply ??            01/01/70 00:00      
      CRLF - and V.250            01/01/70 00:00      
      carriage return and line feed            01/01/70 00:00      
      CR n LF            01/01/70 00:00      
         A State Machine...            01/01/70 00:00      
            Dear Andy            01/01/70 00:00      
               google academy            01/01/70 00:00      
               Oh, come on!            01/01/70 00:00      
                  State Machines are easy...            01/01/70 00:00      
                     IAR Article on State MachineDesign            01/01/70 00:00      
               Thanks            01/01/70 00:00      
                  Another keyword you might try...            01/01/70 00:00      
   It is working !!            01/01/70 00:00      

Back to Subject List