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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/10 14:17
Read: times


 
#174630 - CR n LF
Responding to: ???'s previous message
I have been trying with carriage return and line feed and yes i am working in text mode.

Now suppose i am getting a response from the modem as
/*****************************/
AT+CMGF="+919988179000"
>

This comes down to :-

65 84 43 67 77 83 61 34 57 49 57 57 65
65 49 55 57 48 55 52 34 13 13 10 62 32
/*****************************/

Now i will get this string on one go.
I will store this string in an array.

How will i know where to stop and start processing my array.
While i am receiving the characters i cannot perform the comparison ?
?? Or can i ??

in this i am getting the 13 and 10 in between the reply as well. Although i can manipulate then string once i have it but how will i know that i have to start processing of the string ?? ?????



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