Sha256: bf60d2ee48b434eb6f39679e292a1081e174101a4f629ff1aad734e46ed1ca71

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

module AprsParser
  module Structs
    class WxReport < FFI::Struct
      extend AprsParser::TypeSafety

      layout :wind_gust, AprsParser::Converters::DoublePointer,
             :wind_dir, AprsParser::Converters::UintPointer,
             :wind_speed, AprsParser::Converters::DoublePointer,
             :temp, AprsParser::Converters::DoublePointer,
             :temp_in, AprsParser::Converters::DoublePointer,
             :rain_1h, AprsParser::Converters::DoublePointer,
             :rain_24h, AprsParser::Converters::DoublePointer,
             :rain_midnight, AprsParser::Converters::DoublePointer,
             :humidity, AprsParser::Converters::UintPointer,
             :humidity_h, AprsParser::Converters::UintPointer,
             :humidity_in, AprsParser::Converters::UintPointer,
             :pressure, AprsParser::Converters::DoublePointer,
             :luminosity, AprsParser::Converters::UintPointer,
             :snow_24h, AprsParser::Converters::DoublePointer,
             :soft, :string
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aprs_parser-1.0.0 lib/aprs_parser/structs/wx_report.rb
aprs_parser-1.0.0.pre lib/aprs_parser/structs/wx_report.rb