Feb 8, 2012 #1 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?
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?
Feb 8, 2012 #2 xpress_embedo Advanced Member level 4 Joined Jul 5, 2011 Messages 1,154 Helped 161 Reputation 396 Reaction score 189 Trophy points 1,353 Location India Activity points 10,591 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
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
Feb 8, 2012 #3 saeed_pk Full Member level 4 Joined May 20, 2006 Messages 237 Helped 35 Reputation 68 Reaction score 28 Trophy points 1,308 Location Islamabad, Pakistan Activity points 2,655 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\"");
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\"");