meshtastic 0.0.122 → 0.0.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTOGEN_meshtastic_protobufs.sh +1 -1
- data/Gemfile +1 -1
- data/lib/meshtastic/admin_pb.rb +6 -100
- data/lib/meshtastic/apponly_pb.rb +6 -8
- data/lib/meshtastic/atak_pb.rb +6 -66
- data/lib/meshtastic/cannedmessages_pb.rb +6 -7
- data/lib/meshtastic/channel_pb.rb +6 -27
- data/lib/meshtastic/clientonly_pb.rb +6 -14
- data/lib/meshtastic/config_pb.rb +6 -247
- data/lib/meshtastic/connection_status_pb.rb +6 -33
- data/lib/meshtastic/device_ui_pb.rb +6 -73
- data/lib/meshtastic/deviceonly_pb.rb +6 -61
- data/lib/meshtastic/interdevice_pb.rb +6 -31
- data/lib/meshtastic/localonly_pb.rb +6 -31
- data/lib/meshtastic/mesh_pb.rb +6 -427
- data/lib/meshtastic/module_config_pb.rb +6 -214
- data/lib/meshtastic/mqtt_pb.rb +6 -24
- data/lib/meshtastic/paxcount_pb.rb +6 -9
- data/lib/meshtastic/portnums_pb.rb +6 -36
- data/lib/meshtastic/powermon_pb.rb +6 -47
- data/lib/meshtastic/remote_hardware_pb.rb +6 -17
- data/lib/meshtastic/rtttl_pb.rb +6 -7
- data/lib/meshtastic/storeforward_pb.rb +6 -51
- data/lib/meshtastic/telemetry_pb.rb +6 -131
- data/lib/meshtastic/version.rb +1 -1
- data/lib/meshtastic/xmodem_pb.rb +6 -20
- data/lib/nanopb_pb.rb +6 -63
- metadata +15 -1
@@ -1,41 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/connection_status.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
proto3_optional :bluetooth, :message, 3, "meshtastic.BluetoothConnectionStatus"
|
12
|
-
proto3_optional :serial, :message, 4, "meshtastic.SerialConnectionStatus"
|
13
|
-
end
|
14
|
-
add_message "meshtastic.WifiConnectionStatus" do
|
15
|
-
optional :status, :message, 1, "meshtastic.NetworkConnectionStatus"
|
16
|
-
optional :ssid, :string, 2
|
17
|
-
optional :rssi, :int32, 3
|
18
|
-
end
|
19
|
-
add_message "meshtastic.EthernetConnectionStatus" do
|
20
|
-
optional :status, :message, 1, "meshtastic.NetworkConnectionStatus"
|
21
|
-
end
|
22
|
-
add_message "meshtastic.NetworkConnectionStatus" do
|
23
|
-
optional :ip_address, :fixed32, 1
|
24
|
-
optional :is_connected, :bool, 2
|
25
|
-
optional :is_mqtt_connected, :bool, 3
|
26
|
-
optional :is_syslog_connected, :bool, 4
|
27
|
-
end
|
28
|
-
add_message "meshtastic.BluetoothConnectionStatus" do
|
29
|
-
optional :pin, :uint32, 1
|
30
|
-
optional :rssi, :int32, 2
|
31
|
-
optional :is_connected, :bool, 3
|
32
|
-
end
|
33
|
-
add_message "meshtastic.SerialConnectionStatus" do
|
34
|
-
optional :baud, :uint32, 1
|
35
|
-
optional :is_connected, :bool, 2
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\"meshtastic/connection_status.proto\x12\nmeshtastic\"\xb1\x02\n\x16\x44\x65viceConnectionStatus\x12\x33\n\x04wifi\x18\x01 \x01(\x0b\x32 .meshtastic.WifiConnectionStatusH\x00\x88\x01\x01\x12;\n\x08\x65thernet\x18\x02 \x01(\x0b\x32$.meshtastic.EthernetConnectionStatusH\x01\x88\x01\x01\x12=\n\tbluetooth\x18\x03 \x01(\x0b\x32%.meshtastic.BluetoothConnectionStatusH\x02\x88\x01\x01\x12\x37\n\x06serial\x18\x04 \x01(\x0b\x32\".meshtastic.SerialConnectionStatusH\x03\x88\x01\x01\x42\x07\n\x05_wifiB\x0b\n\t_ethernetB\x0c\n\n_bluetoothB\t\n\x07_serial\"g\n\x14WifiConnectionStatus\x12\x33\n\x06status\x18\x01 \x01(\x0b\x32#.meshtastic.NetworkConnectionStatus\x12\x0c\n\x04ssid\x18\x02 \x01(\t\x12\x0c\n\x04rssi\x18\x03 \x01(\x05\"O\n\x18\x45thernetConnectionStatus\x12\x33\n\x06status\x18\x01 \x01(\x0b\x32#.meshtastic.NetworkConnectionStatus\"{\n\x17NetworkConnectionStatus\x12\x12\n\nip_address\x18\x01 \x01(\x07\x12\x14\n\x0cis_connected\x18\x02 \x01(\x08\x12\x19\n\x11is_mqtt_connected\x18\x03 \x01(\x08\x12\x1b\n\x13is_syslog_connected\x18\x04 \x01(\x08\"L\n\x19\x42luetoothConnectionStatus\x12\x0b\n\x03pin\x18\x01 \x01(\r\x12\x0c\n\x04rssi\x18\x02 \x01(\x05\x12\x14\n\x0cis_connected\x18\x03 \x01(\x08\"<\n\x16SerialConnectionStatus\x12\x0c\n\x04\x62\x61ud\x18\x01 \x01(\r\x12\x14\n\x0cis_connected\x18\x02 \x01(\x08\x42\x65\n\x13\x63om.geeksville.meshB\x10\x43onnStatusProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
39
12
|
|
40
13
|
module Meshtastic
|
41
14
|
DeviceConnectionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.DeviceConnectionStatus").msgclass
|
@@ -1,81 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/device_ui.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :screen_timeout, :uint32, 3
|
12
|
-
optional :screen_lock, :bool, 4
|
13
|
-
optional :settings_lock, :bool, 5
|
14
|
-
optional :pin_code, :uint32, 6
|
15
|
-
optional :theme, :enum, 7, "meshtastic.Theme"
|
16
|
-
optional :alert_enabled, :bool, 8
|
17
|
-
optional :banner_enabled, :bool, 9
|
18
|
-
optional :ring_tone_id, :uint32, 10
|
19
|
-
optional :language, :enum, 11, "meshtastic.Language"
|
20
|
-
optional :node_filter, :message, 12, "meshtastic.NodeFilter"
|
21
|
-
optional :node_highlight, :message, 13, "meshtastic.NodeHighlight"
|
22
|
-
optional :calibration_data, :bytes, 14
|
23
|
-
optional :map_data, :message, 15, "meshtastic.Map"
|
24
|
-
end
|
25
|
-
add_message "meshtastic.NodeFilter" do
|
26
|
-
optional :unknown_switch, :bool, 1
|
27
|
-
optional :offline_switch, :bool, 2
|
28
|
-
optional :public_key_switch, :bool, 3
|
29
|
-
optional :hops_away, :int32, 4
|
30
|
-
optional :position_switch, :bool, 5
|
31
|
-
optional :node_name, :string, 6
|
32
|
-
optional :channel, :int32, 7
|
33
|
-
end
|
34
|
-
add_message "meshtastic.NodeHighlight" do
|
35
|
-
optional :chat_switch, :bool, 1
|
36
|
-
optional :position_switch, :bool, 2
|
37
|
-
optional :telemetry_switch, :bool, 3
|
38
|
-
optional :iaq_switch, :bool, 4
|
39
|
-
optional :node_name, :string, 5
|
40
|
-
end
|
41
|
-
add_message "meshtastic.GeoPoint" do
|
42
|
-
optional :zoom, :int32, 1
|
43
|
-
optional :latitude, :int32, 2
|
44
|
-
optional :longitude, :int32, 3
|
45
|
-
end
|
46
|
-
add_message "meshtastic.Map" do
|
47
|
-
optional :home, :message, 1, "meshtastic.GeoPoint"
|
48
|
-
optional :style, :string, 2
|
49
|
-
optional :follow_gps, :bool, 3
|
50
|
-
end
|
51
|
-
add_enum "meshtastic.Theme" do
|
52
|
-
value :DARK, 0
|
53
|
-
value :LIGHT, 1
|
54
|
-
value :RED, 2
|
55
|
-
end
|
56
|
-
add_enum "meshtastic.Language" do
|
57
|
-
value :ENGLISH, 0
|
58
|
-
value :FRENCH, 1
|
59
|
-
value :GERMAN, 2
|
60
|
-
value :ITALIAN, 3
|
61
|
-
value :PORTUGUESE, 4
|
62
|
-
value :SPANISH, 5
|
63
|
-
value :SWEDISH, 6
|
64
|
-
value :FINNISH, 7
|
65
|
-
value :POLISH, 8
|
66
|
-
value :TURKISH, 9
|
67
|
-
value :SERBIAN, 10
|
68
|
-
value :RUSSIAN, 11
|
69
|
-
value :DUTCH, 12
|
70
|
-
value :GREEK, 13
|
71
|
-
value :NORWEGIAN, 14
|
72
|
-
value :SLOVENIAN, 15
|
73
|
-
value :UKRAINIAN, 16
|
74
|
-
value :SIMPLIFIED_CHINESE, 30
|
75
|
-
value :TRADITIONAL_CHINESE, 31
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x1ameshtastic/device_ui.proto\x12\nmeshtastic\"\xbe\x03\n\x0e\x44\x65viceUIConfig\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x19\n\x11screen_brightness\x18\x02 \x01(\r\x12\x16\n\x0escreen_timeout\x18\x03 \x01(\r\x12\x13\n\x0bscreen_lock\x18\x04 \x01(\x08\x12\x15\n\rsettings_lock\x18\x05 \x01(\x08\x12\x10\n\x08pin_code\x18\x06 \x01(\r\x12 \n\x05theme\x18\x07 \x01(\x0e\x32\x11.meshtastic.Theme\x12\x15\n\ralert_enabled\x18\x08 \x01(\x08\x12\x16\n\x0e\x62\x61nner_enabled\x18\t \x01(\x08\x12\x14\n\x0cring_tone_id\x18\n \x01(\r\x12&\n\x08language\x18\x0b \x01(\x0e\x32\x14.meshtastic.Language\x12+\n\x0bnode_filter\x18\x0c \x01(\x0b\x32\x16.meshtastic.NodeFilter\x12\x31\n\x0enode_highlight\x18\r \x01(\x0b\x32\x19.meshtastic.NodeHighlight\x12\x18\n\x10\x63\x61libration_data\x18\x0e \x01(\x0c\x12!\n\x08map_data\x18\x0f \x01(\x0b\x32\x0f.meshtastic.Map\"\xa7\x01\n\nNodeFilter\x12\x16\n\x0eunknown_switch\x18\x01 \x01(\x08\x12\x16\n\x0eoffline_switch\x18\x02 \x01(\x08\x12\x19\n\x11public_key_switch\x18\x03 \x01(\x08\x12\x11\n\thops_away\x18\x04 \x01(\x05\x12\x17\n\x0fposition_switch\x18\x05 \x01(\x08\x12\x11\n\tnode_name\x18\x06 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x07 \x01(\x05\"~\n\rNodeHighlight\x12\x13\n\x0b\x63hat_switch\x18\x01 \x01(\x08\x12\x17\n\x0fposition_switch\x18\x02 \x01(\x08\x12\x18\n\x10telemetry_switch\x18\x03 \x01(\x08\x12\x12\n\niaq_switch\x18\x04 \x01(\x08\x12\x11\n\tnode_name\x18\x05 \x01(\t\"=\n\x08GeoPoint\x12\x0c\n\x04zoom\x18\x01 \x01(\x05\x12\x10\n\x08latitude\x18\x02 \x01(\x05\x12\x11\n\tlongitude\x18\x03 \x01(\x05\"L\n\x03Map\x12\"\n\x04home\x18\x01 \x01(\x0b\x32\x14.meshtastic.GeoPoint\x12\r\n\x05style\x18\x02 \x01(\t\x12\x12\n\nfollow_gps\x18\x03 \x01(\x08*%\n\x05Theme\x12\x08\n\x04\x44\x41RK\x10\x00\x12\t\n\x05LIGHT\x10\x01\x12\x07\n\x03RED\x10\x02*\x9a\x02\n\x08Language\x12\x0b\n\x07\x45NGLISH\x10\x00\x12\n\n\x06\x46RENCH\x10\x01\x12\n\n\x06GERMAN\x10\x02\x12\x0b\n\x07ITALIAN\x10\x03\x12\x0e\n\nPORTUGUESE\x10\x04\x12\x0b\n\x07SPANISH\x10\x05\x12\x0b\n\x07SWEDISH\x10\x06\x12\x0b\n\x07\x46INNISH\x10\x07\x12\n\n\x06POLISH\x10\x08\x12\x0b\n\x07TURKISH\x10\t\x12\x0b\n\x07SERBIAN\x10\n\x12\x0b\n\x07RUSSIAN\x10\x0b\x12\t\n\x05\x44UTCH\x10\x0c\x12\t\n\x05GREEK\x10\r\x12\r\n\tNORWEGIAN\x10\x0e\x12\r\n\tSLOVENIAN\x10\x0f\x12\r\n\tUKRAINIAN\x10\x10\x12\x16\n\x12SIMPLIFIED_CHINESE\x10\x1e\x12\x17\n\x13TRADITIONAL_CHINESE\x10\x1f\x42\x63\n\x13\x63om.geeksville.meshB\x0e\x44\x65viceUIProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
79
12
|
|
80
13
|
module Meshtastic
|
81
14
|
DeviceUIConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.DeviceUIConfig").msgclass
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/deviceonly.proto
|
3
4
|
|
@@ -10,67 +11,11 @@ require 'meshtastic/config_pb'
|
|
10
11
|
require 'meshtastic/localonly_pb'
|
11
12
|
require 'nanopb_pb'
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
optional :altitude, :int32, 3
|
19
|
-
optional :time, :fixed32, 4
|
20
|
-
optional :location_source, :enum, 5, "meshtastic.Position.LocSource"
|
21
|
-
end
|
22
|
-
add_message "meshtastic.UserLite" do
|
23
|
-
optional :macaddr, :bytes, 1
|
24
|
-
optional :long_name, :string, 2
|
25
|
-
optional :short_name, :string, 3
|
26
|
-
optional :hw_model, :enum, 4, "meshtastic.HardwareModel"
|
27
|
-
optional :is_licensed, :bool, 5
|
28
|
-
optional :role, :enum, 6, "meshtastic.Config.DeviceConfig.Role"
|
29
|
-
optional :public_key, :bytes, 7
|
30
|
-
end
|
31
|
-
add_message "meshtastic.NodeInfoLite" do
|
32
|
-
optional :num, :uint32, 1
|
33
|
-
optional :user, :message, 2, "meshtastic.UserLite"
|
34
|
-
optional :position, :message, 3, "meshtastic.PositionLite"
|
35
|
-
optional :snr, :float, 4
|
36
|
-
optional :last_heard, :fixed32, 5
|
37
|
-
optional :device_metrics, :message, 6, "meshtastic.DeviceMetrics"
|
38
|
-
optional :channel, :uint32, 7
|
39
|
-
optional :via_mqtt, :bool, 8
|
40
|
-
proto3_optional :hops_away, :uint32, 9
|
41
|
-
optional :is_favorite, :bool, 10
|
42
|
-
optional :is_ignored, :bool, 11
|
43
|
-
optional :next_hop, :uint32, 12
|
44
|
-
end
|
45
|
-
add_message "meshtastic.DeviceState" do
|
46
|
-
optional :my_node, :message, 2, "meshtastic.MyNodeInfo"
|
47
|
-
optional :owner, :message, 3, "meshtastic.User"
|
48
|
-
repeated :receive_queue, :message, 5, "meshtastic.MeshPacket"
|
49
|
-
optional :version, :uint32, 8
|
50
|
-
optional :rx_text_message, :message, 7, "meshtastic.MeshPacket"
|
51
|
-
optional :no_save, :bool, 9
|
52
|
-
optional :did_gps_reset, :bool, 11
|
53
|
-
optional :rx_waypoint, :message, 12, "meshtastic.MeshPacket"
|
54
|
-
repeated :node_remote_hardware_pins, :message, 13, "meshtastic.NodeRemoteHardwarePin"
|
55
|
-
end
|
56
|
-
add_message "meshtastic.NodeDatabase" do
|
57
|
-
optional :version, :uint32, 1
|
58
|
-
repeated :nodes, :message, 2, "meshtastic.NodeInfoLite"
|
59
|
-
end
|
60
|
-
add_message "meshtastic.ChannelFile" do
|
61
|
-
repeated :channels, :message, 1, "meshtastic.Channel"
|
62
|
-
optional :version, :uint32, 2
|
63
|
-
end
|
64
|
-
add_message "meshtastic.BackupPreferences" do
|
65
|
-
optional :version, :uint32, 1
|
66
|
-
optional :timestamp, :fixed32, 2
|
67
|
-
optional :config, :message, 3, "meshtastic.LocalConfig"
|
68
|
-
optional :module_config, :message, 4, "meshtastic.LocalModuleConfig"
|
69
|
-
optional :channels, :message, 5, "meshtastic.ChannelFile"
|
70
|
-
optional :owner, :message, 6, "meshtastic.User"
|
71
|
-
end
|
72
|
-
end
|
73
|
-
end
|
14
|
+
|
15
|
+
descriptor_data = "\n\x1bmeshtastic/deviceonly.proto\x12\nmeshtastic\x1a\x18meshtastic/channel.proto\x1a\x15meshtastic/mesh.proto\x1a\x1ameshtastic/telemetry.proto\x1a\x17meshtastic/config.proto\x1a\x1ameshtastic/localonly.proto\x1a\x0cnanopb.proto\"\x90\x01\n\x0cPositionLite\x12\x12\n\nlatitude_i\x18\x01 \x01(\x0f\x12\x13\n\x0blongitude_i\x18\x02 \x01(\x0f\x12\x10\n\x08\x61ltitude\x18\x03 \x01(\x05\x12\x0c\n\x04time\x18\x04 \x01(\x07\x12\x37\n\x0flocation_source\x18\x05 \x01(\x0e\x32\x1e.meshtastic.Position.LocSource\"\xd0\x01\n\x08UserLite\x12\x13\n\x07macaddr\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x11\n\tlong_name\x18\x02 \x01(\t\x12\x12\n\nshort_name\x18\x03 \x01(\t\x12+\n\x08hw_model\x18\x04 \x01(\x0e\x32\x19.meshtastic.HardwareModel\x12\x13\n\x0bis_licensed\x18\x05 \x01(\x08\x12\x32\n\x04role\x18\x06 \x01(\x0e\x32$.meshtastic.Config.DeviceConfig.Role\x12\x12\n\npublic_key\x18\x07 \x01(\x0c\"\xc3\x02\n\x0cNodeInfoLite\x12\x0b\n\x03num\x18\x01 \x01(\r\x12\"\n\x04user\x18\x02 \x01(\x0b\x32\x14.meshtastic.UserLite\x12*\n\x08position\x18\x03 \x01(\x0b\x32\x18.meshtastic.PositionLite\x12\x0b\n\x03snr\x18\x04 \x01(\x02\x12\x12\n\nlast_heard\x18\x05 \x01(\x07\x12\x31\n\x0e\x64\x65vice_metrics\x18\x06 \x01(\x0b\x32\x19.meshtastic.DeviceMetrics\x12\x0f\n\x07\x63hannel\x18\x07 \x01(\r\x12\x10\n\x08via_mqtt\x18\x08 \x01(\x08\x12\x16\n\thops_away\x18\t \x01(\rH\x00\x88\x01\x01\x12\x13\n\x0bis_favorite\x18\n \x01(\x08\x12\x12\n\nis_ignored\x18\x0b \x01(\x08\x12\x10\n\x08next_hop\x18\x0c \x01(\rB\x0c\n\n_hops_away\"\xeb\x02\n\x0b\x44\x65viceState\x12\'\n\x07my_node\x18\x02 \x01(\x0b\x32\x16.meshtastic.MyNodeInfo\x12\x1f\n\x05owner\x18\x03 \x01(\x0b\x32\x10.meshtastic.User\x12-\n\rreceive_queue\x18\x05 \x03(\x0b\x32\x16.meshtastic.MeshPacket\x12\x0f\n\x07version\x18\x08 \x01(\r\x12/\n\x0frx_text_message\x18\x07 \x01(\x0b\x32\x16.meshtastic.MeshPacket\x12\x13\n\x07no_save\x18\t \x01(\x08\x42\x02\x18\x01\x12\x19\n\rdid_gps_reset\x18\x0b \x01(\x08\x42\x02\x18\x01\x12+\n\x0brx_waypoint\x18\x0c \x01(\x0b\x32\x16.meshtastic.MeshPacket\x12\x44\n\x19node_remote_hardware_pins\x18\r \x03(\x0b\x32!.meshtastic.NodeRemoteHardwarePin\"t\n\x0cNodeDatabase\x12\x0f\n\x07version\x18\x01 \x01(\r\x12S\n\x05nodes\x18\x02 \x03(\x0b\x32\x18.meshtastic.NodeInfoLiteB*\x92?\'\x92\x01$std::vector<meshtastic_NodeInfoLite>\"E\n\x0b\x43hannelFile\x12%\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x13.meshtastic.Channel\x12\x0f\n\x07version\x18\x02 \x01(\r\"\xe2\x01\n\x11\x42\x61\x63kupPreferences\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x11\n\ttimestamp\x18\x02 \x01(\x07\x12\'\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x17.meshtastic.LocalConfig\x12\x34\n\rmodule_config\x18\x04 \x01(\x0b\x32\x1d.meshtastic.LocalModuleConfig\x12)\n\x08\x63hannels\x18\x05 \x01(\x0b\x32\x17.meshtastic.ChannelFile\x12\x1f\n\x05owner\x18\x06 \x01(\x0b\x32\x10.meshtastic.UserBm\n\x13\x63om.geeksville.meshB\nDeviceOnlyZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x92?\x0b\xc2\x01\x08<vector>b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
74
19
|
|
75
20
|
module Meshtastic
|
76
21
|
PositionLite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PositionLite").msgclass
|
@@ -1,39 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/interdevice.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :float_value, :float, 2
|
12
|
-
optional :uint32_value, :uint32, 3
|
13
|
-
end
|
14
|
-
end
|
15
|
-
add_message "meshtastic.InterdeviceMessage" do
|
16
|
-
oneof :data do
|
17
|
-
optional :nmea, :string, 1
|
18
|
-
optional :sensor, :message, 2, "meshtastic.SensorData"
|
19
|
-
end
|
20
|
-
end
|
21
|
-
add_enum "meshtastic.MessageType" do
|
22
|
-
value :ACK, 0
|
23
|
-
value :COLLECT_INTERVAL, 160
|
24
|
-
value :BEEP_ON, 161
|
25
|
-
value :BEEP_OFF, 162
|
26
|
-
value :SHUTDOWN, 163
|
27
|
-
value :POWER_ON, 164
|
28
|
-
value :SCD41_TEMP, 176
|
29
|
-
value :SCD41_HUMIDITY, 177
|
30
|
-
value :SCD41_CO2, 178
|
31
|
-
value :AHT20_TEMP, 179
|
32
|
-
value :AHT20_HUMIDITY, 180
|
33
|
-
value :TVOC_INDEX, 181
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x1cmeshtastic/interdevice.proto\x12\nmeshtastic\"j\n\nSensorData\x12%\n\x04type\x18\x01 \x01(\x0e\x32\x17.meshtastic.MessageType\x12\x15\n\x0b\x66loat_value\x18\x02 \x01(\x02H\x00\x12\x16\n\x0cuint32_value\x18\x03 \x01(\rH\x00\x42\x06\n\x04\x64\x61ta\"V\n\x12InterdeviceMessage\x12\x0e\n\x04nmea\x18\x01 \x01(\tH\x00\x12(\n\x06sensor\x18\x02 \x01(\x0b\x32\x16.meshtastic.SensorDataH\x00\x42\x06\n\x04\x64\x61ta*\xd5\x01\n\x0bMessageType\x12\x07\n\x03\x41\x43K\x10\x00\x12\x15\n\x10\x43OLLECT_INTERVAL\x10\xa0\x01\x12\x0c\n\x07\x42\x45\x45P_ON\x10\xa1\x01\x12\r\n\x08\x42\x45\x45P_OFF\x10\xa2\x01\x12\r\n\x08SHUTDOWN\x10\xa3\x01\x12\r\n\x08POWER_ON\x10\xa4\x01\x12\x0f\n\nSCD41_TEMP\x10\xb0\x01\x12\x13\n\x0eSCD41_HUMIDITY\x10\xb1\x01\x12\x0e\n\tSCD41_CO2\x10\xb2\x01\x12\x0f\n\nAHT20_TEMP\x10\xb3\x01\x12\x13\n\x0e\x41HT20_HUMIDITY\x10\xb4\x01\x12\x0f\n\nTVOC_INDEX\x10\xb5\x01\x42\x66\n\x13\x63om.geeksville.meshB\x11InterdeviceProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
37
12
|
|
38
13
|
module Meshtastic
|
39
14
|
SensorData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.SensorData").msgclass
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/localonly.proto
|
3
4
|
|
@@ -6,37 +7,11 @@ require 'google/protobuf'
|
|
6
7
|
require 'meshtastic/config_pb'
|
7
8
|
require 'meshtastic/module_config_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
optional :power, :message, 3, "meshtastic.Config.PowerConfig"
|
15
|
-
optional :network, :message, 4, "meshtastic.Config.NetworkConfig"
|
16
|
-
optional :display, :message, 5, "meshtastic.Config.DisplayConfig"
|
17
|
-
optional :lora, :message, 6, "meshtastic.Config.LoRaConfig"
|
18
|
-
optional :bluetooth, :message, 7, "meshtastic.Config.BluetoothConfig"
|
19
|
-
optional :version, :uint32, 8
|
20
|
-
optional :security, :message, 9, "meshtastic.Config.SecurityConfig"
|
21
|
-
end
|
22
|
-
add_message "meshtastic.LocalModuleConfig" do
|
23
|
-
optional :mqtt, :message, 1, "meshtastic.ModuleConfig.MQTTConfig"
|
24
|
-
optional :serial, :message, 2, "meshtastic.ModuleConfig.SerialConfig"
|
25
|
-
optional :external_notification, :message, 3, "meshtastic.ModuleConfig.ExternalNotificationConfig"
|
26
|
-
optional :store_forward, :message, 4, "meshtastic.ModuleConfig.StoreForwardConfig"
|
27
|
-
optional :range_test, :message, 5, "meshtastic.ModuleConfig.RangeTestConfig"
|
28
|
-
optional :telemetry, :message, 6, "meshtastic.ModuleConfig.TelemetryConfig"
|
29
|
-
optional :canned_message, :message, 7, "meshtastic.ModuleConfig.CannedMessageConfig"
|
30
|
-
optional :audio, :message, 9, "meshtastic.ModuleConfig.AudioConfig"
|
31
|
-
optional :remote_hardware, :message, 10, "meshtastic.ModuleConfig.RemoteHardwareConfig"
|
32
|
-
optional :neighbor_info, :message, 11, "meshtastic.ModuleConfig.NeighborInfoConfig"
|
33
|
-
optional :ambient_lighting, :message, 12, "meshtastic.ModuleConfig.AmbientLightingConfig"
|
34
|
-
optional :detection_sensor, :message, 13, "meshtastic.ModuleConfig.DetectionSensorConfig"
|
35
|
-
optional :paxcounter, :message, 14, "meshtastic.ModuleConfig.PaxcounterConfig"
|
36
|
-
optional :version, :uint32, 8
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
10
|
+
|
11
|
+
descriptor_data = "\n\x1ameshtastic/localonly.proto\x12\nmeshtastic\x1a\x17meshtastic/config.proto\x1a\x1emeshtastic/module_config.proto\"\xb2\x03\n\x0bLocalConfig\x12/\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1f.meshtastic.Config.DeviceConfig\x12\x33\n\x08position\x18\x02 \x01(\x0b\x32!.meshtastic.Config.PositionConfig\x12-\n\x05power\x18\x03 \x01(\x0b\x32\x1e.meshtastic.Config.PowerConfig\x12\x31\n\x07network\x18\x04 \x01(\x0b\x32 .meshtastic.Config.NetworkConfig\x12\x31\n\x07\x64isplay\x18\x05 \x01(\x0b\x32 .meshtastic.Config.DisplayConfig\x12+\n\x04lora\x18\x06 \x01(\x0b\x32\x1d.meshtastic.Config.LoRaConfig\x12\x35\n\tbluetooth\x18\x07 \x01(\x0b\x32\".meshtastic.Config.BluetoothConfig\x12\x0f\n\x07version\x18\x08 \x01(\r\x12\x33\n\x08security\x18\t \x01(\x0b\x32!.meshtastic.Config.SecurityConfig\"\xfb\x06\n\x11LocalModuleConfig\x12\x31\n\x04mqtt\x18\x01 \x01(\x0b\x32#.meshtastic.ModuleConfig.MQTTConfig\x12\x35\n\x06serial\x18\x02 \x01(\x0b\x32%.meshtastic.ModuleConfig.SerialConfig\x12R\n\x15\x65xternal_notification\x18\x03 \x01(\x0b\x32\x33.meshtastic.ModuleConfig.ExternalNotificationConfig\x12\x42\n\rstore_forward\x18\x04 \x01(\x0b\x32+.meshtastic.ModuleConfig.StoreForwardConfig\x12<\n\nrange_test\x18\x05 \x01(\x0b\x32(.meshtastic.ModuleConfig.RangeTestConfig\x12;\n\ttelemetry\x18\x06 \x01(\x0b\x32(.meshtastic.ModuleConfig.TelemetryConfig\x12\x44\n\x0e\x63\x61nned_message\x18\x07 \x01(\x0b\x32,.meshtastic.ModuleConfig.CannedMessageConfig\x12\x33\n\x05\x61udio\x18\t \x01(\x0b\x32$.meshtastic.ModuleConfig.AudioConfig\x12\x46\n\x0fremote_hardware\x18\n \x01(\x0b\x32-.meshtastic.ModuleConfig.RemoteHardwareConfig\x12\x42\n\rneighbor_info\x18\x0b \x01(\x0b\x32+.meshtastic.ModuleConfig.NeighborInfoConfig\x12H\n\x10\x61mbient_lighting\x18\x0c \x01(\x0b\x32..meshtastic.ModuleConfig.AmbientLightingConfig\x12H\n\x10\x64\x65tection_sensor\x18\r \x01(\x0b\x32..meshtastic.ModuleConfig.DetectionSensorConfig\x12=\n\npaxcounter\x18\x0e \x01(\x0b\x32).meshtastic.ModuleConfig.PaxcounterConfig\x12\x0f\n\x07version\x18\x08 \x01(\rBd\n\x13\x63om.geeksville.meshB\x0fLocalOnlyProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
40
15
|
|
41
16
|
module Meshtastic
|
42
17
|
LocalConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.LocalConfig").msgclass
|