Click here to Skip to main content
15,896,154 members

Comments by Member 14209587 (Top 2 by date)

Member 14209587 16-Oct-22 11:18am View    
Ok, but how?

I have tried to do a do while , serial_datareceived1-bytes in buffer, but same result.
i know how many bytes to wait for, first char is the number, including first char.
Could it have to do with all the zero's ?
Line recieves is 33(21 hex) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF.
Have no EOL Sign, but not a problem in App for phone, and dont know if that helps.
Member 14209587 16-Oct-22 10:10am View    
Did some more investergating, "!" is ASCII for "33" that i send from MCU. IT then only recieve first CHAR of date. not all 33 bytes.