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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/09/05 17:30
Read: times


 
#96924 - Message string
Responding to: ???'s previous message
Kurnia Brahmana said:
The message just simple
unsigned char code over_heated [] = {'Over heated at section 1',0x1a, 13,10,0};

That certainly isn't it - that wouldn't even compile!

Always use cut-and-paste when posting code; never retype - retyping almost guarantees that the code in the post is not the same as the code you're actually debugging!

What you need is:
unsigned char code over_heated [] = "Over heated at section 1x1Anr";
or maybe
unsigned char code over_heated [] = "Over heated at section 1x1Ax0Dx0A";
Note that this use of "escape sequences" is standard 'C' - see any 'C' textbook.

Also, check your GSM Manual - do you really need CRLF, or just CR, or...
http://www.8052.com/forum/read.phtml?id=96366

List of 18 messages in thread
TopicAuthorDate
CTRL Z, ASCII, in sending sms.            01/01/70 00:00      
   Manual?            01/01/70 00:00      
      Manual ?            01/01/70 00:00      
         Nary (narry)            01/01/70 00:00      
   GSM problems            01/01/70 00:00      
      GSM problems            01/01/70 00:00      
         Ctrl+Z - the name says it all!            01/01/70 00:00      
      After the Terminal...            01/01/70 00:00      
         Ctrl Z, thank you.            01/01/70 00:00      
            ATV - Result Codes            01/01/70 00:00      
            Message string            01/01/70 00:00      
               Message String, Ctrl Z, Problem Solved.            01/01/70 00:00      
            Ctrl -Z            01/01/70 00:00      
   Language?            01/01/70 00:00      
   One step back            01/01/70 00:00      
   Just a thought... EOF?            01/01/70 00:00      
      filesystem            01/01/70 00:00      
         ...            01/01/70 00:00      

Back to Subject List