pub fn parse_aprs_weather_positionless(
info: &[u8],
) -> Result<AprsWeather, AprsError>Expand description
Parse a positionless APRS weather report (_MMDDHHMMdata).
Weather data uses single-letter field tags followed by fixed-width numeric values. Common fields:
c= wind direction (3 digits, degrees)s= wind speed (3 digits, mph)g= gust (3 digits, mph)t= temperature (3 digits, Fahrenheit, may be negative)r= rain last hour (3 digits, hundredths of inch)p= rain last 24h (3 digits, hundredths of inch)P= rain since midnight (3 digits, hundredths of inch)h= humidity (2 digits, 00=100%)b= barometric pressure (5 digits, tenths of mbar)
ยงErrors
Returns AprsError::InvalidFormat if the info field does not begin
with the _ data type identifier.