Hello
I am trying to get a Nav. Packages of binary data wich contain exactly 80 bytes from an ubloc N8U chip.
There is no problem in receiving all the data... -> the arduino gets all bytes even in the correct order.
But becouse there is no final byte or something after a full message, i need to get the whole package -> 80 bytes with on while(Serial.available()) { ... }. But i get the problem that the arduino falls through the while scope every time after the first 10 bytes, then 9 bytes, then 6 bytes and so on
always the same order.
But ONLY menages it to get the whole pakage with one while scope at the FIRST message????
Then i have tried it with another micro controller a teensy
there i got a simular pictur
first message as one package .... and al the other ones plit up in 4 byte packages???
so i get all other then the first messages by 20 while scopes all receiving 4 bytes.
Any advice someon?