lib/meshtastic/config_pb.rb in meshtastic-0.0.81 vs lib/meshtastic/config_pb.rb in meshtastic-0.0.82

- old
+ new

@@ -1,10 +1,12 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: meshtastic/config.proto require 'google/protobuf' +require 'meshtastic/device_ui_pb' + Google::Protobuf::DescriptorPool.generated_pool.build do add_file("meshtastic/config.proto", :syntax => :proto3) do add_message "meshtastic.Config" do oneof :payload_variant do optional :device, :message, 1, "meshtastic.Config.DeviceConfig" @@ -12,16 +14,18 @@ optional :power, :message, 3, "meshtastic.Config.PowerConfig" optional :network, :message, 4, "meshtastic.Config.NetworkConfig" optional :display, :message, 5, "meshtastic.Config.DisplayConfig" optional :lora, :message, 6, "meshtastic.Config.LoRaConfig" optional :bluetooth, :message, 7, "meshtastic.Config.BluetoothConfig" + optional :security, :message, 8, "meshtastic.Config.SecurityConfig" + optional :sessionkey, :message, 9, "meshtastic.Config.SessionkeyConfig" + optional :device_ui, :message, 10, "meshtastic.DeviceUIConfig" end end add_message "meshtastic.Config.DeviceConfig" do optional :role, :enum, 1, "meshtastic.Config.DeviceConfig.Role" optional :serial_enabled, :bool, 2 - optional :debug_log_enabled, :bool, 3 optional :button_gpio, :uint32, 4 optional :buzzer_gpio, :uint32, 5 optional :rebroadcast_mode, :enum, 6, "meshtastic.Config.DeviceConfig.RebroadcastMode" optional :node_info_broadcast_secs, :uint32, 7 optional :double_tap_as_button_press, :bool, 8 @@ -40,16 +44,19 @@ value :SENSOR, 6 value :TAK, 7 value :CLIENT_HIDDEN, 8 value :LOST_AND_FOUND, 9 value :TAK_TRACKER, 10 + value :ROUTER_LATE, 11 end add_enum "meshtastic.Config.DeviceConfig.RebroadcastMode" do value :ALL, 0 value :ALL_SKIP_DECODING, 1 value :LOCAL_ONLY, 2 value :KNOWN_ONLY, 3 + value :NONE, 4 + value :CORE_PORTNUMS_ONLY, 5 end add_message "meshtastic.Config.PositionConfig" do optional :position_broadcast_secs, :uint32, 1 optional :position_broadcast_smart_enabled, :bool, 2 optional :fixed_position, :bool, 3 @@ -89,20 +96,22 @@ optional :wait_bluetooth_secs, :uint32, 4 optional :sds_secs, :uint32, 6 optional :ls_secs, :uint32, 7 optional :min_wake_secs, :uint32, 8 optional :device_battery_ina_address, :uint32, 9 + optional :powermon_enables, :uint64, 32 end add_message "meshtastic.Config.NetworkConfig" do optional :wifi_enabled, :bool, 1 optional :wifi_ssid, :string, 3 optional :wifi_psk, :string, 4 optional :ntp_server, :string, 5 optional :eth_enabled, :bool, 6 optional :address_mode, :enum, 7, "meshtastic.Config.NetworkConfig.AddressMode" optional :ipv4_config, :message, 8, "meshtastic.Config.NetworkConfig.IpV4Config" optional :rsyslog_server, :string, 9 + optional :enabled_protocols, :uint32, 10 end add_message "meshtastic.Config.NetworkConfig.IpV4Config" do optional :ip, :fixed32, 1 optional :gateway, :fixed32, 2 optional :subnet, :fixed32, 3 @@ -110,10 +119,14 @@ end add_enum "meshtastic.Config.NetworkConfig.AddressMode" do value :DHCP, 0 value :STATIC, 1 end + add_enum "meshtastic.Config.NetworkConfig.ProtocolFlags" do + value :NO_BROADCAST, 0 + value :UDP_BROADCAST, 1 + end add_message "meshtastic.Config.DisplayConfig" do optional :screen_on_secs, :uint32, 1 optional :gps_format, :enum, 2, "meshtastic.Config.DisplayConfig.GpsCoordinateFormat" optional :auto_screen_carousel_secs, :uint32, 3 optional :compass_north_top, :bool, 4 @@ -121,10 +134,11 @@ optional :units, :enum, 6, "meshtastic.Config.DisplayConfig.DisplayUnits" optional :oled, :enum, 7, "meshtastic.Config.DisplayConfig.OledType" optional :displaymode, :enum, 8, "meshtastic.Config.DisplayConfig.DisplayMode" optional :heading_bold, :bool, 9 optional :wake_on_tap_or_motion, :bool, 10 + optional :compass_orientation, :enum, 11, "meshtastic.Config.DisplayConfig.CompassOrientation" end add_enum "meshtastic.Config.DisplayConfig.GpsCoordinateFormat" do value :DEC, 0 value :DMS, 1 value :UTM, 2 @@ -146,10 +160,20 @@ value :DEFAULT, 0 value :TWOCOLOR, 1 value :INVERTED, 2 value :COLOR, 3 end + add_enum "meshtastic.Config.DisplayConfig.CompassOrientation" do + value :DEGREES_0, 0 + value :DEGREES_90, 1 + value :DEGREES_180, 2 + value :DEGREES_270, 3 + value :DEGREES_0_INVERTED, 4 + value :DEGREES_90_INVERTED, 5 + value :DEGREES_180_INVERTED, 6 + value :DEGREES_270_INVERTED, 7 + end add_message "meshtastic.Config.LoRaConfig" do optional :use_preset, :bool, 1 optional :modem_preset, :enum, 2, "meshtastic.Config.LoRaConfig.ModemPreset" optional :bandwidth, :uint32, 3 optional :spread_factor, :uint32, 4 @@ -161,12 +185,14 @@ optional :tx_power, :int32, 10 optional :channel_num, :uint32, 11 optional :override_duty_cycle, :bool, 12 optional :sx126x_rx_boosted_gain, :bool, 13 optional :override_frequency, :float, 14 + optional :pa_fan_disabled, :bool, 15 repeated :ignore_incoming, :uint32, 103 optional :ignore_mqtt, :bool, 104 + optional :config_ok_to_mqtt, :bool, 105 end add_enum "meshtastic.Config.LoRaConfig.RegionCode" do value :UNSET, 0 value :US, 1 value :EU_433, 2 @@ -184,20 +210,24 @@ value :UA_433, 14 value :UA_868, 15 value :MY_433, 16 value :MY_919, 17 value :SG_923, 18 + value :PH_433, 19 + value :PH_868, 20 + value :PH_915, 21 end add_enum "meshtastic.Config.LoRaConfig.ModemPreset" do value :LONG_FAST, 0 value :LONG_SLOW, 1 value :VERY_LONG_SLOW, 2 value :MEDIUM_SLOW, 3 value :MEDIUM_FAST, 4 value :SHORT_SLOW, 5 value :SHORT_FAST, 6 value :LONG_MODERATE, 7 + value :SHORT_TURBO, 8 end add_message "meshtastic.Config.BluetoothConfig" do optional :enabled, :bool, 1 optional :mode, :enum, 2, "meshtastic.Config.BluetoothConfig.PairingMode" optional :fixed_pin, :uint32, 3 @@ -205,10 +235,21 @@ add_enum "meshtastic.Config.BluetoothConfig.PairingMode" do value :RANDOM_PIN, 0 value :FIXED_PIN, 1 value :NO_PIN, 2 end + add_message "meshtastic.Config.SecurityConfig" do + optional :public_key, :bytes, 1 + optional :private_key, :bytes, 2 + repeated :admin_key, :bytes, 3 + optional :is_managed, :bool, 4 + optional :serial_enabled, :bool, 5 + optional :debug_log_api_enabled, :bool, 6 + optional :admin_channel_enabled, :bool, 8 + end + add_message "meshtastic.Config.SessionkeyConfig" do + end end end module Meshtastic Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config").msgclass @@ -220,16 +261,20 @@ Config::PositionConfig::GpsMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.PositionConfig.GpsMode").enummodule Config::PowerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.PowerConfig").msgclass Config::NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig").msgclass Config::NetworkConfig::IpV4Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig.IpV4Config").msgclass Config::NetworkConfig::AddressMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig.AddressMode").enummodule + Config::NetworkConfig::ProtocolFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig.ProtocolFlags").enummodule Config::DisplayConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig").msgclass Config::DisplayConfig::GpsCoordinateFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.GpsCoordinateFormat").enummodule Config::DisplayConfig::DisplayUnits = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.DisplayUnits").enummodule Config::DisplayConfig::OledType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.OledType").enummodule Config::DisplayConfig::DisplayMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.DisplayMode").enummodule + Config::DisplayConfig::CompassOrientation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.CompassOrientation").enummodule Config::LoRaConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.LoRaConfig").msgclass Config::LoRaConfig::RegionCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.LoRaConfig.RegionCode").enummodule Config::LoRaConfig::ModemPreset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.LoRaConfig.ModemPreset").enummodule Config::BluetoothConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.BluetoothConfig").msgclass Config::BluetoothConfig::PairingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.BluetoothConfig.PairingMode").enummodule + Config::SecurityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.SecurityConfig").msgclass + Config::SessionkeyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.SessionkeyConfig").msgclass end