GPS task seems to tune out from the right baud rate from time to time and start autobaud procedure even if it found the right baud rate before. On my device it is able to hold the correct baud rate just for several seconds.
I'm observing the following behavior without this patch: device outputs the GPS NMEA to console and then suddenly switches the GPS baud rate.
I think this happens because GPS data rate is 1Hz - which is exactly equals to timeout of autobaud procedure. So even slight delay causes device to look for data on different baud rate. This bumps timeout to 2 seconds, which makes problem go away on my device.
GPS task seems to tune out from the right baud rate from time to time and start autobaud procedure even if it found the right baud rate before. On my device it is able to hold the correct baud rate just for several seconds.
I'm observing the following behavior without this patch: device outputs the GPS NMEA to console and then suddenly switches the GPS baud rate.
I think this happens because GPS data rate is 1Hz - which is exactly equals to timeout of autobaud procedure. So even slight delay causes device to look for data on different baud rate. This bumps timeout to 2 seconds, which makes problem go away on my device.