Hi-tech c code problem with Usard

Status
Not open for further replies.

samnang39

Full Member level 2
Joined
Oct 26, 2006
Messages
130
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
Cambodia
Activity points
2,246
Dear all

i need to send AT+CMGL="REC UNREAD" though Usart
the problem is symbol " i cannot send it
could anyone show me how to send it?
 

Transmit 61(Decimal) and 0x3D(Hexadecimal) these are the ASCII value of = symbol

Transmit 34(Decimal) and 0x22(Hexadecimal) these are the ASCII value of " symbol

Hope You understand
 
You have to write [\"] if you need to insert ["] in a string
i hope this can solve your problem
just write
SomeUARTTXFuntion("AT+CMGL=\"REC UNREAD\"");
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…