How to read serial with interrupt serial?
问题 I'm trying to read NMEA message in Linux. But I can't get a completely message: 54.441,V,,,,,0.00,0.00,010720,,,N*42 $GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32 $GPGGA,020954.441,,,,,0,0,,,M,,M,,*43 $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGSV,1,1,00*79 $GLGSV,1,1,00*65 $GPGLL,,,,,020954.441,V,N*71 $GP The first line and last line is the one message but it have been splited. I thing, It's cause by sleep 1 second. And It's not right at all. I think I should use interrupt serial. My