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,222 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/module_config.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :serial, :message, 2, "meshtastic.ModuleConfig.SerialConfig"
|
12
|
-
optional :external_notification, :message, 3, "meshtastic.ModuleConfig.ExternalNotificationConfig"
|
13
|
-
optional :store_forward, :message, 4, "meshtastic.ModuleConfig.StoreForwardConfig"
|
14
|
-
optional :range_test, :message, 5, "meshtastic.ModuleConfig.RangeTestConfig"
|
15
|
-
optional :telemetry, :message, 6, "meshtastic.ModuleConfig.TelemetryConfig"
|
16
|
-
optional :canned_message, :message, 7, "meshtastic.ModuleConfig.CannedMessageConfig"
|
17
|
-
optional :audio, :message, 8, "meshtastic.ModuleConfig.AudioConfig"
|
18
|
-
optional :remote_hardware, :message, 9, "meshtastic.ModuleConfig.RemoteHardwareConfig"
|
19
|
-
optional :neighbor_info, :message, 10, "meshtastic.ModuleConfig.NeighborInfoConfig"
|
20
|
-
optional :ambient_lighting, :message, 11, "meshtastic.ModuleConfig.AmbientLightingConfig"
|
21
|
-
optional :detection_sensor, :message, 12, "meshtastic.ModuleConfig.DetectionSensorConfig"
|
22
|
-
optional :paxcounter, :message, 13, "meshtastic.ModuleConfig.PaxcounterConfig"
|
23
|
-
end
|
24
|
-
end
|
25
|
-
add_message "meshtastic.ModuleConfig.MQTTConfig" do
|
26
|
-
optional :enabled, :bool, 1
|
27
|
-
optional :address, :string, 2
|
28
|
-
optional :username, :string, 3
|
29
|
-
optional :password, :string, 4
|
30
|
-
optional :encryption_enabled, :bool, 5
|
31
|
-
optional :json_enabled, :bool, 6
|
32
|
-
optional :tls_enabled, :bool, 7
|
33
|
-
optional :root, :string, 8
|
34
|
-
optional :proxy_to_client_enabled, :bool, 9
|
35
|
-
optional :map_reporting_enabled, :bool, 10
|
36
|
-
optional :map_report_settings, :message, 11, "meshtastic.ModuleConfig.MapReportSettings"
|
37
|
-
end
|
38
|
-
add_message "meshtastic.ModuleConfig.MapReportSettings" do
|
39
|
-
optional :publish_interval_secs, :uint32, 1
|
40
|
-
optional :position_precision, :uint32, 2
|
41
|
-
end
|
42
|
-
add_message "meshtastic.ModuleConfig.RemoteHardwareConfig" do
|
43
|
-
optional :enabled, :bool, 1
|
44
|
-
optional :allow_undefined_pin_access, :bool, 2
|
45
|
-
repeated :available_pins, :message, 3, "meshtastic.RemoteHardwarePin"
|
46
|
-
end
|
47
|
-
add_message "meshtastic.ModuleConfig.NeighborInfoConfig" do
|
48
|
-
optional :enabled, :bool, 1
|
49
|
-
optional :update_interval, :uint32, 2
|
50
|
-
optional :transmit_over_lora, :bool, 3
|
51
|
-
end
|
52
|
-
add_message "meshtastic.ModuleConfig.DetectionSensorConfig" do
|
53
|
-
optional :enabled, :bool, 1
|
54
|
-
optional :minimum_broadcast_secs, :uint32, 2
|
55
|
-
optional :state_broadcast_secs, :uint32, 3
|
56
|
-
optional :send_bell, :bool, 4
|
57
|
-
optional :name, :string, 5
|
58
|
-
optional :monitor_pin, :uint32, 6
|
59
|
-
optional :detection_trigger_type, :enum, 7, "meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType"
|
60
|
-
optional :use_pullup, :bool, 8
|
61
|
-
end
|
62
|
-
add_enum "meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType" do
|
63
|
-
value :LOGIC_LOW, 0
|
64
|
-
value :LOGIC_HIGH, 1
|
65
|
-
value :FALLING_EDGE, 2
|
66
|
-
value :RISING_EDGE, 3
|
67
|
-
value :EITHER_EDGE_ACTIVE_LOW, 4
|
68
|
-
value :EITHER_EDGE_ACTIVE_HIGH, 5
|
69
|
-
end
|
70
|
-
add_message "meshtastic.ModuleConfig.AudioConfig" do
|
71
|
-
optional :codec2_enabled, :bool, 1
|
72
|
-
optional :ptt_pin, :uint32, 2
|
73
|
-
optional :bitrate, :enum, 3, "meshtastic.ModuleConfig.AudioConfig.Audio_Baud"
|
74
|
-
optional :i2s_ws, :uint32, 4
|
75
|
-
optional :i2s_sd, :uint32, 5
|
76
|
-
optional :i2s_din, :uint32, 6
|
77
|
-
optional :i2s_sck, :uint32, 7
|
78
|
-
end
|
79
|
-
add_enum "meshtastic.ModuleConfig.AudioConfig.Audio_Baud" do
|
80
|
-
value :CODEC2_DEFAULT, 0
|
81
|
-
value :CODEC2_3200, 1
|
82
|
-
value :CODEC2_2400, 2
|
83
|
-
value :CODEC2_1600, 3
|
84
|
-
value :CODEC2_1400, 4
|
85
|
-
value :CODEC2_1300, 5
|
86
|
-
value :CODEC2_1200, 6
|
87
|
-
value :CODEC2_700, 7
|
88
|
-
value :CODEC2_700B, 8
|
89
|
-
end
|
90
|
-
add_message "meshtastic.ModuleConfig.PaxcounterConfig" do
|
91
|
-
optional :enabled, :bool, 1
|
92
|
-
optional :paxcounter_update_interval, :uint32, 2
|
93
|
-
optional :wifi_threshold, :int32, 3
|
94
|
-
optional :ble_threshold, :int32, 4
|
95
|
-
end
|
96
|
-
add_message "meshtastic.ModuleConfig.SerialConfig" do
|
97
|
-
optional :enabled, :bool, 1
|
98
|
-
optional :echo, :bool, 2
|
99
|
-
optional :rxd, :uint32, 3
|
100
|
-
optional :txd, :uint32, 4
|
101
|
-
optional :baud, :enum, 5, "meshtastic.ModuleConfig.SerialConfig.Serial_Baud"
|
102
|
-
optional :timeout, :uint32, 6
|
103
|
-
optional :mode, :enum, 7, "meshtastic.ModuleConfig.SerialConfig.Serial_Mode"
|
104
|
-
optional :override_console_serial_port, :bool, 8
|
105
|
-
end
|
106
|
-
add_enum "meshtastic.ModuleConfig.SerialConfig.Serial_Baud" do
|
107
|
-
value :BAUD_DEFAULT, 0
|
108
|
-
value :BAUD_110, 1
|
109
|
-
value :BAUD_300, 2
|
110
|
-
value :BAUD_600, 3
|
111
|
-
value :BAUD_1200, 4
|
112
|
-
value :BAUD_2400, 5
|
113
|
-
value :BAUD_4800, 6
|
114
|
-
value :BAUD_9600, 7
|
115
|
-
value :BAUD_19200, 8
|
116
|
-
value :BAUD_38400, 9
|
117
|
-
value :BAUD_57600, 10
|
118
|
-
value :BAUD_115200, 11
|
119
|
-
value :BAUD_230400, 12
|
120
|
-
value :BAUD_460800, 13
|
121
|
-
value :BAUD_576000, 14
|
122
|
-
value :BAUD_921600, 15
|
123
|
-
end
|
124
|
-
add_enum "meshtastic.ModuleConfig.SerialConfig.Serial_Mode" do
|
125
|
-
value :DEFAULT, 0
|
126
|
-
value :SIMPLE, 1
|
127
|
-
value :PROTO, 2
|
128
|
-
value :TEXTMSG, 3
|
129
|
-
value :NMEA, 4
|
130
|
-
value :CALTOPO, 5
|
131
|
-
value :WS85, 6
|
132
|
-
end
|
133
|
-
add_message "meshtastic.ModuleConfig.ExternalNotificationConfig" do
|
134
|
-
optional :enabled, :bool, 1
|
135
|
-
optional :output_ms, :uint32, 2
|
136
|
-
optional :output, :uint32, 3
|
137
|
-
optional :output_vibra, :uint32, 8
|
138
|
-
optional :output_buzzer, :uint32, 9
|
139
|
-
optional :active, :bool, 4
|
140
|
-
optional :alert_message, :bool, 5
|
141
|
-
optional :alert_message_vibra, :bool, 10
|
142
|
-
optional :alert_message_buzzer, :bool, 11
|
143
|
-
optional :alert_bell, :bool, 6
|
144
|
-
optional :alert_bell_vibra, :bool, 12
|
145
|
-
optional :alert_bell_buzzer, :bool, 13
|
146
|
-
optional :use_pwm, :bool, 7
|
147
|
-
optional :nag_timeout, :uint32, 14
|
148
|
-
optional :use_i2s_as_buzzer, :bool, 15
|
149
|
-
end
|
150
|
-
add_message "meshtastic.ModuleConfig.StoreForwardConfig" do
|
151
|
-
optional :enabled, :bool, 1
|
152
|
-
optional :heartbeat, :bool, 2
|
153
|
-
optional :records, :uint32, 3
|
154
|
-
optional :history_return_max, :uint32, 4
|
155
|
-
optional :history_return_window, :uint32, 5
|
156
|
-
optional :is_server, :bool, 6
|
157
|
-
end
|
158
|
-
add_message "meshtastic.ModuleConfig.RangeTestConfig" do
|
159
|
-
optional :enabled, :bool, 1
|
160
|
-
optional :sender, :uint32, 2
|
161
|
-
optional :save, :bool, 3
|
162
|
-
end
|
163
|
-
add_message "meshtastic.ModuleConfig.TelemetryConfig" do
|
164
|
-
optional :device_update_interval, :uint32, 1
|
165
|
-
optional :environment_update_interval, :uint32, 2
|
166
|
-
optional :environment_measurement_enabled, :bool, 3
|
167
|
-
optional :environment_screen_enabled, :bool, 4
|
168
|
-
optional :environment_display_fahrenheit, :bool, 5
|
169
|
-
optional :air_quality_enabled, :bool, 6
|
170
|
-
optional :air_quality_interval, :uint32, 7
|
171
|
-
optional :power_measurement_enabled, :bool, 8
|
172
|
-
optional :power_update_interval, :uint32, 9
|
173
|
-
optional :power_screen_enabled, :bool, 10
|
174
|
-
optional :health_measurement_enabled, :bool, 11
|
175
|
-
optional :health_update_interval, :uint32, 12
|
176
|
-
optional :health_screen_enabled, :bool, 13
|
177
|
-
end
|
178
|
-
add_message "meshtastic.ModuleConfig.CannedMessageConfig" do
|
179
|
-
optional :rotary1_enabled, :bool, 1
|
180
|
-
optional :inputbroker_pin_a, :uint32, 2
|
181
|
-
optional :inputbroker_pin_b, :uint32, 3
|
182
|
-
optional :inputbroker_pin_press, :uint32, 4
|
183
|
-
optional :inputbroker_event_cw, :enum, 5, "meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar"
|
184
|
-
optional :inputbroker_event_ccw, :enum, 6, "meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar"
|
185
|
-
optional :inputbroker_event_press, :enum, 7, "meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar"
|
186
|
-
optional :updown1_enabled, :bool, 8
|
187
|
-
optional :enabled, :bool, 9
|
188
|
-
optional :allow_input_source, :string, 10
|
189
|
-
optional :send_bell, :bool, 11
|
190
|
-
end
|
191
|
-
add_enum "meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar" do
|
192
|
-
value :NONE, 0
|
193
|
-
value :UP, 17
|
194
|
-
value :DOWN, 18
|
195
|
-
value :LEFT, 19
|
196
|
-
value :RIGHT, 20
|
197
|
-
value :SELECT, 10
|
198
|
-
value :BACK, 27
|
199
|
-
value :CANCEL, 24
|
200
|
-
end
|
201
|
-
add_message "meshtastic.ModuleConfig.AmbientLightingConfig" do
|
202
|
-
optional :led_state, :bool, 1
|
203
|
-
optional :current, :uint32, 2
|
204
|
-
optional :red, :uint32, 3
|
205
|
-
optional :green, :uint32, 4
|
206
|
-
optional :blue, :uint32, 5
|
207
|
-
end
|
208
|
-
add_message "meshtastic.RemoteHardwarePin" do
|
209
|
-
optional :gpio_pin, :uint32, 1
|
210
|
-
optional :name, :string, 2
|
211
|
-
optional :type, :enum, 3, "meshtastic.RemoteHardwarePinType"
|
212
|
-
end
|
213
|
-
add_enum "meshtastic.RemoteHardwarePinType" do
|
214
|
-
value :UNKNOWN, 0
|
215
|
-
value :DIGITAL_READ, 1
|
216
|
-
value :DIGITAL_WRITE, 2
|
217
|
-
end
|
218
|
-
end
|
219
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x1emeshtastic/module_config.proto\x12\nmeshtastic\"\xb4%\n\x0cModuleConfig\x12\x33\n\x04mqtt\x18\x01 \x01(\x0b\x32#.meshtastic.ModuleConfig.MQTTConfigH\x00\x12\x37\n\x06serial\x18\x02 \x01(\x0b\x32%.meshtastic.ModuleConfig.SerialConfigH\x00\x12T\n\x15\x65xternal_notification\x18\x03 \x01(\x0b\x32\x33.meshtastic.ModuleConfig.ExternalNotificationConfigH\x00\x12\x44\n\rstore_forward\x18\x04 \x01(\x0b\x32+.meshtastic.ModuleConfig.StoreForwardConfigH\x00\x12>\n\nrange_test\x18\x05 \x01(\x0b\x32(.meshtastic.ModuleConfig.RangeTestConfigH\x00\x12=\n\ttelemetry\x18\x06 \x01(\x0b\x32(.meshtastic.ModuleConfig.TelemetryConfigH\x00\x12\x46\n\x0e\x63\x61nned_message\x18\x07 \x01(\x0b\x32,.meshtastic.ModuleConfig.CannedMessageConfigH\x00\x12\x35\n\x05\x61udio\x18\x08 \x01(\x0b\x32$.meshtastic.ModuleConfig.AudioConfigH\x00\x12H\n\x0fremote_hardware\x18\t \x01(\x0b\x32-.meshtastic.ModuleConfig.RemoteHardwareConfigH\x00\x12\x44\n\rneighbor_info\x18\n \x01(\x0b\x32+.meshtastic.ModuleConfig.NeighborInfoConfigH\x00\x12J\n\x10\x61mbient_lighting\x18\x0b \x01(\x0b\x32..meshtastic.ModuleConfig.AmbientLightingConfigH\x00\x12J\n\x10\x64\x65tection_sensor\x18\x0c \x01(\x0b\x32..meshtastic.ModuleConfig.DetectionSensorConfigH\x00\x12?\n\npaxcounter\x18\r \x01(\x0b\x32).meshtastic.ModuleConfig.PaxcounterConfigH\x00\x1a\xb0\x02\n\nMQTTConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x10\n\x08password\x18\x04 \x01(\t\x12\x1a\n\x12\x65ncryption_enabled\x18\x05 \x01(\x08\x12\x14\n\x0cjson_enabled\x18\x06 \x01(\x08\x12\x13\n\x0btls_enabled\x18\x07 \x01(\x08\x12\x0c\n\x04root\x18\x08 \x01(\t\x12\x1f\n\x17proxy_to_client_enabled\x18\t \x01(\x08\x12\x1d\n\x15map_reporting_enabled\x18\n \x01(\x08\x12G\n\x13map_report_settings\x18\x0b \x01(\x0b\x32*.meshtastic.ModuleConfig.MapReportSettings\x1aN\n\x11MapReportSettings\x12\x1d\n\x15publish_interval_secs\x18\x01 \x01(\r\x12\x1a\n\x12position_precision\x18\x02 \x01(\r\x1a\x82\x01\n\x14RemoteHardwareConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\"\n\x1a\x61llow_undefined_pin_access\x18\x02 \x01(\x08\x12\x35\n\x0e\x61vailable_pins\x18\x03 \x03(\x0b\x32\x1d.meshtastic.RemoteHardwarePin\x1aZ\n\x12NeighborInfoConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x17\n\x0fupdate_interval\x18\x02 \x01(\r\x12\x1a\n\x12transmit_over_lora\x18\x03 \x01(\x08\x1a\x97\x03\n\x15\x44\x65tectionSensorConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1e\n\x16minimum_broadcast_secs\x18\x02 \x01(\r\x12\x1c\n\x14state_broadcast_secs\x18\x03 \x01(\r\x12\x11\n\tsend_bell\x18\x04 \x01(\x08\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0bmonitor_pin\x18\x06 \x01(\r\x12Z\n\x16\x64\x65tection_trigger_type\x18\x07 \x01(\x0e\x32:.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType\x12\x12\n\nuse_pullup\x18\x08 \x01(\x08\"\x88\x01\n\x0bTriggerType\x12\r\n\tLOGIC_LOW\x10\x00\x12\x0e\n\nLOGIC_HIGH\x10\x01\x12\x10\n\x0c\x46\x41LLING_EDGE\x10\x02\x12\x0f\n\x0bRISING_EDGE\x10\x03\x12\x1a\n\x16\x45ITHER_EDGE_ACTIVE_LOW\x10\x04\x12\x1b\n\x17\x45ITHER_EDGE_ACTIVE_HIGH\x10\x05\x1a\xe4\x02\n\x0b\x41udioConfig\x12\x16\n\x0e\x63odec2_enabled\x18\x01 \x01(\x08\x12\x0f\n\x07ptt_pin\x18\x02 \x01(\r\x12@\n\x07\x62itrate\x18\x03 \x01(\x0e\x32/.meshtastic.ModuleConfig.AudioConfig.Audio_Baud\x12\x0e\n\x06i2s_ws\x18\x04 \x01(\r\x12\x0e\n\x06i2s_sd\x18\x05 \x01(\r\x12\x0f\n\x07i2s_din\x18\x06 \x01(\r\x12\x0f\n\x07i2s_sck\x18\x07 \x01(\r\"\xa7\x01\n\nAudio_Baud\x12\x12\n\x0e\x43ODEC2_DEFAULT\x10\x00\x12\x0f\n\x0b\x43ODEC2_3200\x10\x01\x12\x0f\n\x0b\x43ODEC2_2400\x10\x02\x12\x0f\n\x0b\x43ODEC2_1600\x10\x03\x12\x0f\n\x0b\x43ODEC2_1400\x10\x04\x12\x0f\n\x0b\x43ODEC2_1300\x10\x05\x12\x0f\n\x0b\x43ODEC2_1200\x10\x06\x12\x0e\n\nCODEC2_700\x10\x07\x12\x0f\n\x0b\x43ODEC2_700B\x10\x08\x1av\n\x10PaxcounterConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\"\n\x1apaxcounter_update_interval\x18\x02 \x01(\r\x12\x16\n\x0ewifi_threshold\x18\x03 \x01(\x05\x12\x15\n\rble_threshold\x18\x04 \x01(\x05\x1a\xee\x04\n\x0cSerialConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0c\n\x04\x65\x63ho\x18\x02 \x01(\x08\x12\x0b\n\x03rxd\x18\x03 \x01(\r\x12\x0b\n\x03txd\x18\x04 \x01(\r\x12?\n\x04\x62\x61ud\x18\x05 \x01(\x0e\x32\x31.meshtastic.ModuleConfig.SerialConfig.Serial_Baud\x12\x0f\n\x07timeout\x18\x06 \x01(\r\x12?\n\x04mode\x18\x07 \x01(\x0e\x32\x31.meshtastic.ModuleConfig.SerialConfig.Serial_Mode\x12$\n\x1coverride_console_serial_port\x18\x08 \x01(\x08\"\x8a\x02\n\x0bSerial_Baud\x12\x10\n\x0c\x42\x41UD_DEFAULT\x10\x00\x12\x0c\n\x08\x42\x41UD_110\x10\x01\x12\x0c\n\x08\x42\x41UD_300\x10\x02\x12\x0c\n\x08\x42\x41UD_600\x10\x03\x12\r\n\tBAUD_1200\x10\x04\x12\r\n\tBAUD_2400\x10\x05\x12\r\n\tBAUD_4800\x10\x06\x12\r\n\tBAUD_9600\x10\x07\x12\x0e\n\nBAUD_19200\x10\x08\x12\x0e\n\nBAUD_38400\x10\t\x12\x0e\n\nBAUD_57600\x10\n\x12\x0f\n\x0b\x42\x41UD_115200\x10\x0b\x12\x0f\n\x0b\x42\x41UD_230400\x10\x0c\x12\x0f\n\x0b\x42\x41UD_460800\x10\r\x12\x0f\n\x0b\x42\x41UD_576000\x10\x0e\x12\x0f\n\x0b\x42\x41UD_921600\x10\x0f\"_\n\x0bSerial_Mode\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\n\n\x06SIMPLE\x10\x01\x12\t\n\x05PROTO\x10\x02\x12\x0b\n\x07TEXTMSG\x10\x03\x12\x08\n\x04NMEA\x10\x04\x12\x0b\n\x07\x43\x41LTOPO\x10\x05\x12\x08\n\x04WS85\x10\x06\x1a\xe9\x02\n\x1a\x45xternalNotificationConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x11\n\toutput_ms\x18\x02 \x01(\r\x12\x0e\n\x06output\x18\x03 \x01(\r\x12\x14\n\x0coutput_vibra\x18\x08 \x01(\r\x12\x15\n\routput_buzzer\x18\t \x01(\r\x12\x0e\n\x06\x61\x63tive\x18\x04 \x01(\x08\x12\x15\n\ralert_message\x18\x05 \x01(\x08\x12\x1b\n\x13\x61lert_message_vibra\x18\n \x01(\x08\x12\x1c\n\x14\x61lert_message_buzzer\x18\x0b \x01(\x08\x12\x12\n\nalert_bell\x18\x06 \x01(\x08\x12\x18\n\x10\x61lert_bell_vibra\x18\x0c \x01(\x08\x12\x19\n\x11\x61lert_bell_buzzer\x18\r \x01(\x08\x12\x0f\n\x07use_pwm\x18\x07 \x01(\x08\x12\x13\n\x0bnag_timeout\x18\x0e \x01(\r\x12\x19\n\x11use_i2s_as_buzzer\x18\x0f \x01(\x08\x1a\x97\x01\n\x12StoreForwardConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x11\n\theartbeat\x18\x02 \x01(\x08\x12\x0f\n\x07records\x18\x03 \x01(\r\x12\x1a\n\x12history_return_max\x18\x04 \x01(\r\x12\x1d\n\x15history_return_window\x18\x05 \x01(\r\x12\x11\n\tis_server\x18\x06 \x01(\x08\x1a@\n\x0fRangeTestConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0e\n\x06sender\x18\x02 \x01(\r\x12\x0c\n\x04save\x18\x03 \x01(\x08\x1a\xc9\x03\n\x0fTelemetryConfig\x12\x1e\n\x16\x64\x65vice_update_interval\x18\x01 \x01(\r\x12#\n\x1b\x65nvironment_update_interval\x18\x02 \x01(\r\x12\'\n\x1f\x65nvironment_measurement_enabled\x18\x03 \x01(\x08\x12\"\n\x1a\x65nvironment_screen_enabled\x18\x04 \x01(\x08\x12&\n\x1e\x65nvironment_display_fahrenheit\x18\x05 \x01(\x08\x12\x1b\n\x13\x61ir_quality_enabled\x18\x06 \x01(\x08\x12\x1c\n\x14\x61ir_quality_interval\x18\x07 \x01(\r\x12!\n\x19power_measurement_enabled\x18\x08 \x01(\x08\x12\x1d\n\x15power_update_interval\x18\t \x01(\r\x12\x1c\n\x14power_screen_enabled\x18\n \x01(\x08\x12\"\n\x1ahealth_measurement_enabled\x18\x0b \x01(\x08\x12\x1e\n\x16health_update_interval\x18\x0c \x01(\r\x12\x1d\n\x15health_screen_enabled\x18\r \x01(\x08\x1a\xd6\x04\n\x13\x43\x61nnedMessageConfig\x12\x17\n\x0frotary1_enabled\x18\x01 \x01(\x08\x12\x19\n\x11inputbroker_pin_a\x18\x02 \x01(\r\x12\x19\n\x11inputbroker_pin_b\x18\x03 \x01(\r\x12\x1d\n\x15inputbroker_pin_press\x18\x04 \x01(\r\x12Y\n\x14inputbroker_event_cw\x18\x05 \x01(\x0e\x32;.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar\x12Z\n\x15inputbroker_event_ccw\x18\x06 \x01(\x0e\x32;.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar\x12\\\n\x17inputbroker_event_press\x18\x07 \x01(\x0e\x32;.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar\x12\x17\n\x0fupdown1_enabled\x18\x08 \x01(\x08\x12\x0f\n\x07\x65nabled\x18\t \x01(\x08\x12\x1a\n\x12\x61llow_input_source\x18\n \x01(\t\x12\x11\n\tsend_bell\x18\x0b \x01(\x08\"c\n\x0eInputEventChar\x12\x08\n\x04NONE\x10\x00\x12\x06\n\x02UP\x10\x11\x12\x08\n\x04\x44OWN\x10\x12\x12\x08\n\x04LEFT\x10\x13\x12\t\n\x05RIGHT\x10\x14\x12\n\n\x06SELECT\x10\n\x12\x08\n\x04\x42\x41\x43K\x10\x1b\x12\n\n\x06\x43\x41NCEL\x10\x18\x1a\x65\n\x15\x41mbientLightingConfig\x12\x11\n\tled_state\x18\x01 \x01(\x08\x12\x0f\n\x07\x63urrent\x18\x02 \x01(\r\x12\x0b\n\x03red\x18\x03 \x01(\r\x12\r\n\x05green\x18\x04 \x01(\r\x12\x0c\n\x04\x62lue\x18\x05 \x01(\rB\x11\n\x0fpayload_variant\"d\n\x11RemoteHardwarePin\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x04type\x18\x03 \x01(\x0e\x32!.meshtastic.RemoteHardwarePinType*I\n\x15RemoteHardwarePinType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0c\x44IGITAL_READ\x10\x01\x12\x11\n\rDIGITAL_WRITE\x10\x02\x42g\n\x13\x63om.geeksville.meshB\x12ModuleConfigProtosZ\"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)
|
220
12
|
|
221
13
|
module Meshtastic
|
222
14
|
ModuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig").msgclass
|
data/lib/meshtastic/mqtt_pb.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/mqtt.proto
|
3
4
|
|
@@ -6,30 +7,11 @@ require 'google/protobuf'
|
|
6
7
|
require 'meshtastic/config_pb'
|
7
8
|
require 'meshtastic/mesh_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
optional :gateway_id, :string, 3
|
15
|
-
end
|
16
|
-
add_message "meshtastic.MapReport" do
|
17
|
-
optional :long_name, :string, 1
|
18
|
-
optional :short_name, :string, 2
|
19
|
-
optional :role, :enum, 3, "meshtastic.Config.DeviceConfig.Role"
|
20
|
-
optional :hw_model, :enum, 4, "meshtastic.HardwareModel"
|
21
|
-
optional :firmware_version, :string, 5
|
22
|
-
optional :region, :enum, 6, "meshtastic.Config.LoRaConfig.RegionCode"
|
23
|
-
optional :modem_preset, :enum, 7, "meshtastic.Config.LoRaConfig.ModemPreset"
|
24
|
-
optional :has_default_channel, :bool, 8
|
25
|
-
optional :latitude_i, :sfixed32, 9
|
26
|
-
optional :longitude_i, :sfixed32, 10
|
27
|
-
optional :altitude, :int32, 11
|
28
|
-
optional :position_precision, :uint32, 12
|
29
|
-
optional :num_online_local_nodes, :uint32, 13
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
10
|
+
|
11
|
+
descriptor_data = "\n\x15meshtastic/mqtt.proto\x12\nmeshtastic\x1a\x17meshtastic/config.proto\x1a\x15meshtastic/mesh.proto\"a\n\x0fServiceEnvelope\x12&\n\x06packet\x18\x01 \x01(\x0b\x32\x16.meshtastic.MeshPacket\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x12\n\ngateway_id\x18\x03 \x01(\t\"\xbc\x03\n\tMapReport\x12\x11\n\tlong_name\x18\x01 \x01(\t\x12\x12\n\nshort_name\x18\x02 \x01(\t\x12\x32\n\x04role\x18\x03 \x01(\x0e\x32$.meshtastic.Config.DeviceConfig.Role\x12+\n\x08hw_model\x18\x04 \x01(\x0e\x32\x19.meshtastic.HardwareModel\x12\x18\n\x10\x66irmware_version\x18\x05 \x01(\t\x12\x38\n\x06region\x18\x06 \x01(\x0e\x32(.meshtastic.Config.LoRaConfig.RegionCode\x12?\n\x0cmodem_preset\x18\x07 \x01(\x0e\x32).meshtastic.Config.LoRaConfig.ModemPreset\x12\x1b\n\x13has_default_channel\x18\x08 \x01(\x08\x12\x12\n\nlatitude_i\x18\t \x01(\x0f\x12\x13\n\x0blongitude_i\x18\n \x01(\x0f\x12\x10\n\x08\x61ltitude\x18\x0b \x01(\x05\x12\x1a\n\x12position_precision\x18\x0c \x01(\r\x12\x1e\n\x16num_online_local_nodes\x18\r \x01(\rB_\n\x13\x63om.geeksville.meshB\nMQTTProtosZ\"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)
|
33
15
|
|
34
16
|
module Meshtastic
|
35
17
|
ServiceEnvelope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ServiceEnvelope").msgclass
|
@@ -1,17 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/paxcount.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :uptime, :uint32, 3
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x19meshtastic/paxcount.proto\x12\nmeshtastic\"5\n\x08Paxcount\x12\x0c\n\x04wifi\x18\x01 \x01(\r\x12\x0b\n\x03\x62le\x18\x02 \x01(\r\x12\x0e\n\x06uptime\x18\x03 \x01(\rBc\n\x13\x63om.geeksville.meshB\x0ePaxcountProtosZ\"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)
|
15
12
|
|
16
13
|
module Meshtastic
|
17
14
|
Paxcount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Paxcount").msgclass
|
@@ -1,44 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/portnums.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
value :REMOTE_HARDWARE_APP, 2
|
12
|
-
value :POSITION_APP, 3
|
13
|
-
value :NODEINFO_APP, 4
|
14
|
-
value :ROUTING_APP, 5
|
15
|
-
value :ADMIN_APP, 6
|
16
|
-
value :TEXT_MESSAGE_COMPRESSED_APP, 7
|
17
|
-
value :WAYPOINT_APP, 8
|
18
|
-
value :AUDIO_APP, 9
|
19
|
-
value :DETECTION_SENSOR_APP, 10
|
20
|
-
value :ALERT_APP, 11
|
21
|
-
value :REPLY_APP, 32
|
22
|
-
value :IP_TUNNEL_APP, 33
|
23
|
-
value :PAXCOUNTER_APP, 34
|
24
|
-
value :SERIAL_APP, 64
|
25
|
-
value :STORE_FORWARD_APP, 65
|
26
|
-
value :RANGE_TEST_APP, 66
|
27
|
-
value :TELEMETRY_APP, 67
|
28
|
-
value :ZPS_APP, 68
|
29
|
-
value :SIMULATOR_APP, 69
|
30
|
-
value :TRACEROUTE_APP, 70
|
31
|
-
value :NEIGHBORINFO_APP, 71
|
32
|
-
value :ATAK_PLUGIN, 72
|
33
|
-
value :MAP_REPORT_APP, 73
|
34
|
-
value :POWERSTRESS_APP, 74
|
35
|
-
value :RETICULUM_TUNNEL_APP, 76
|
36
|
-
value :PRIVATE_APP, 256
|
37
|
-
value :ATAK_FORWARDER, 257
|
38
|
-
value :MAX, 511
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x19meshtastic/portnums.proto\x12\nmeshtastic*\xcb\x04\n\x07PortNum\x12\x0f\n\x0bUNKNOWN_APP\x10\x00\x12\x14\n\x10TEXT_MESSAGE_APP\x10\x01\x12\x17\n\x13REMOTE_HARDWARE_APP\x10\x02\x12\x10\n\x0cPOSITION_APP\x10\x03\x12\x10\n\x0cNODEINFO_APP\x10\x04\x12\x0f\n\x0bROUTING_APP\x10\x05\x12\r\n\tADMIN_APP\x10\x06\x12\x1f\n\x1bTEXT_MESSAGE_COMPRESSED_APP\x10\x07\x12\x10\n\x0cWAYPOINT_APP\x10\x08\x12\r\n\tAUDIO_APP\x10\t\x12\x18\n\x14\x44\x45TECTION_SENSOR_APP\x10\n\x12\r\n\tALERT_APP\x10\x0b\x12\r\n\tREPLY_APP\x10 \x12\x11\n\rIP_TUNNEL_APP\x10!\x12\x12\n\x0ePAXCOUNTER_APP\x10\"\x12\x0e\n\nSERIAL_APP\x10@\x12\x15\n\x11STORE_FORWARD_APP\x10\x41\x12\x12\n\x0eRANGE_TEST_APP\x10\x42\x12\x11\n\rTELEMETRY_APP\x10\x43\x12\x0b\n\x07ZPS_APP\x10\x44\x12\x11\n\rSIMULATOR_APP\x10\x45\x12\x12\n\x0eTRACEROUTE_APP\x10\x46\x12\x14\n\x10NEIGHBORINFO_APP\x10G\x12\x0f\n\x0b\x41TAK_PLUGIN\x10H\x12\x12\n\x0eMAP_REPORT_APP\x10I\x12\x13\n\x0fPOWERSTRESS_APP\x10J\x12\x18\n\x14RETICULUM_TUNNEL_APP\x10L\x12\x10\n\x0bPRIVATE_APP\x10\x80\x02\x12\x13\n\x0e\x41TAK_FORWARDER\x10\x81\x02\x12\x08\n\x03MAX\x10\xff\x03\x42]\n\x13\x63om.geeksville.meshB\x08PortnumsZ\"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)
|
42
12
|
|
43
13
|
module Meshtastic
|
44
14
|
PortNum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PortNum").enummodule
|
@@ -1,55 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/powermon.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
value :None, 0
|
12
|
-
value :CPU_DeepSleep, 1
|
13
|
-
value :CPU_LightSleep, 2
|
14
|
-
value :Vext1_On, 4
|
15
|
-
value :Lora_RXOn, 8
|
16
|
-
value :Lora_TXOn, 16
|
17
|
-
value :Lora_RXActive, 32
|
18
|
-
value :BT_On, 64
|
19
|
-
value :LED_On, 128
|
20
|
-
value :Screen_On, 256
|
21
|
-
value :Screen_Drawing, 512
|
22
|
-
value :Wifi_On, 1024
|
23
|
-
value :GPS_Active, 2048
|
24
|
-
end
|
25
|
-
add_message "meshtastic.PowerStressMessage" do
|
26
|
-
optional :cmd, :enum, 1, "meshtastic.PowerStressMessage.Opcode"
|
27
|
-
optional :num_seconds, :float, 2
|
28
|
-
end
|
29
|
-
add_enum "meshtastic.PowerStressMessage.Opcode" do
|
30
|
-
value :UNSET, 0
|
31
|
-
value :PRINT_INFO, 1
|
32
|
-
value :FORCE_QUIET, 2
|
33
|
-
value :END_QUIET, 3
|
34
|
-
value :SCREEN_ON, 16
|
35
|
-
value :SCREEN_OFF, 17
|
36
|
-
value :CPU_IDLE, 32
|
37
|
-
value :CPU_DEEPSLEEP, 33
|
38
|
-
value :CPU_FULLON, 34
|
39
|
-
value :LED_ON, 48
|
40
|
-
value :LED_OFF, 49
|
41
|
-
value :LORA_OFF, 64
|
42
|
-
value :LORA_TX, 65
|
43
|
-
value :LORA_RX, 66
|
44
|
-
value :BT_OFF, 80
|
45
|
-
value :BT_ON, 81
|
46
|
-
value :WIFI_OFF, 96
|
47
|
-
value :WIFI_ON, 97
|
48
|
-
value :GPS_OFF, 112
|
49
|
-
value :GPS_ON, 113
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x19meshtastic/powermon.proto\x12\nmeshtastic\"\xe0\x01\n\x08PowerMon\"\xd3\x01\n\x05State\x12\x08\n\x04None\x10\x00\x12\x11\n\rCPU_DeepSleep\x10\x01\x12\x12\n\x0e\x43PU_LightSleep\x10\x02\x12\x0c\n\x08Vext1_On\x10\x04\x12\r\n\tLora_RXOn\x10\x08\x12\r\n\tLora_TXOn\x10\x10\x12\x11\n\rLora_RXActive\x10 \x12\t\n\x05\x42T_On\x10@\x12\x0b\n\x06LED_On\x10\x80\x01\x12\x0e\n\tScreen_On\x10\x80\x02\x12\x13\n\x0eScreen_Drawing\x10\x80\x04\x12\x0c\n\x07Wifi_On\x10\x80\x08\x12\x0f\n\nGPS_Active\x10\x80\x10\"\xff\x02\n\x12PowerStressMessage\x12\x32\n\x03\x63md\x18\x01 \x01(\x0e\x32%.meshtastic.PowerStressMessage.Opcode\x12\x13\n\x0bnum_seconds\x18\x02 \x01(\x02\"\x9f\x02\n\x06Opcode\x12\t\n\x05UNSET\x10\x00\x12\x0e\n\nPRINT_INFO\x10\x01\x12\x0f\n\x0b\x46ORCE_QUIET\x10\x02\x12\r\n\tEND_QUIET\x10\x03\x12\r\n\tSCREEN_ON\x10\x10\x12\x0e\n\nSCREEN_OFF\x10\x11\x12\x0c\n\x08\x43PU_IDLE\x10 \x12\x11\n\rCPU_DEEPSLEEP\x10!\x12\x0e\n\nCPU_FULLON\x10\"\x12\n\n\x06LED_ON\x10\x30\x12\x0b\n\x07LED_OFF\x10\x31\x12\x0c\n\x08LORA_OFF\x10@\x12\x0b\n\x07LORA_TX\x10\x41\x12\x0b\n\x07LORA_RX\x10\x42\x12\n\n\x06\x42T_OFF\x10P\x12\t\n\x05\x42T_ON\x10Q\x12\x0c\n\x08WIFI_OFF\x10`\x12\x0b\n\x07WIFI_ON\x10\x61\x12\x0b\n\x07GPS_OFF\x10p\x12\n\n\x06GPS_ON\x10qBc\n\x13\x63om.geeksville.meshB\x0ePowerMonProtosZ\"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)
|
53
12
|
|
54
13
|
module Meshtastic
|
55
14
|
PowerMon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PowerMon").msgclass
|
@@ -1,25 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/remote_hardware.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :gpio_value, :uint64, 3
|
12
|
-
end
|
13
|
-
add_enum "meshtastic.HardwareMessage.Type" do
|
14
|
-
value :UNSET, 0
|
15
|
-
value :WRITE_GPIOS, 1
|
16
|
-
value :WATCH_GPIOS, 2
|
17
|
-
value :GPIOS_CHANGED, 3
|
18
|
-
value :READ_GPIOS, 4
|
19
|
-
value :READ_GPIOS_REPLY, 5
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n meshtastic/remote_hardware.proto\x12\nmeshtastic\"\xd6\x01\n\x0fHardwareMessage\x12.\n\x04type\x18\x01 \x01(\x0e\x32 .meshtastic.HardwareMessage.Type\x12\x11\n\tgpio_mask\x18\x02 \x01(\x04\x12\x12\n\ngpio_value\x18\x03 \x01(\x04\"l\n\x04Type\x12\t\n\x05UNSET\x10\x00\x12\x0f\n\x0bWRITE_GPIOS\x10\x01\x12\x0f\n\x0bWATCH_GPIOS\x10\x02\x12\x11\n\rGPIOS_CHANGED\x10\x03\x12\x0e\n\nREAD_GPIOS\x10\x04\x12\x14\n\x10READ_GPIOS_REPLY\x10\x05\x42\x63\n\x13\x63om.geeksville.meshB\x0eRemoteHardwareZ\"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)
|
23
12
|
|
24
13
|
module Meshtastic
|
25
14
|
HardwareMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.HardwareMessage").msgclass
|
data/lib/meshtastic/rtttl_pb.rb
CHANGED
@@ -1,15 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/rtttl.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
end
|
12
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x16meshtastic/rtttl.proto\x12\nmeshtastic\"\x1f\n\x0bRTTTLConfig\x12\x10\n\x08ringtone\x18\x01 \x01(\tBf\n\x13\x63om.geeksville.meshB\x11RTTTLConfigProtosZ\"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)
|
13
12
|
|
14
13
|
module Meshtastic
|
15
14
|
RTTTLConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.RTTTLConfig").msgclass
|
@@ -1,59 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/storeforward.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :stats, :message, 2, "meshtastic.StoreAndForward.Statistics"
|
12
|
-
optional :history, :message, 3, "meshtastic.StoreAndForward.History"
|
13
|
-
optional :heartbeat, :message, 4, "meshtastic.StoreAndForward.Heartbeat"
|
14
|
-
optional :text, :bytes, 5
|
15
|
-
end
|
16
|
-
end
|
17
|
-
add_message "meshtastic.StoreAndForward.Statistics" do
|
18
|
-
optional :messages_total, :uint32, 1
|
19
|
-
optional :messages_saved, :uint32, 2
|
20
|
-
optional :messages_max, :uint32, 3
|
21
|
-
optional :up_time, :uint32, 4
|
22
|
-
optional :requests, :uint32, 5
|
23
|
-
optional :requests_history, :uint32, 6
|
24
|
-
optional :heartbeat, :bool, 7
|
25
|
-
optional :return_max, :uint32, 8
|
26
|
-
optional :return_window, :uint32, 9
|
27
|
-
end
|
28
|
-
add_message "meshtastic.StoreAndForward.History" do
|
29
|
-
optional :history_messages, :uint32, 1
|
30
|
-
optional :window, :uint32, 2
|
31
|
-
optional :last_request, :uint32, 3
|
32
|
-
end
|
33
|
-
add_message "meshtastic.StoreAndForward.Heartbeat" do
|
34
|
-
optional :period, :uint32, 1
|
35
|
-
optional :secondary, :uint32, 2
|
36
|
-
end
|
37
|
-
add_enum "meshtastic.StoreAndForward.RequestResponse" do
|
38
|
-
value :UNSET, 0
|
39
|
-
value :ROUTER_ERROR, 1
|
40
|
-
value :ROUTER_HEARTBEAT, 2
|
41
|
-
value :ROUTER_PING, 3
|
42
|
-
value :ROUTER_PONG, 4
|
43
|
-
value :ROUTER_BUSY, 5
|
44
|
-
value :ROUTER_HISTORY, 6
|
45
|
-
value :ROUTER_STATS, 7
|
46
|
-
value :ROUTER_TEXT_DIRECT, 8
|
47
|
-
value :ROUTER_TEXT_BROADCAST, 9
|
48
|
-
value :CLIENT_ERROR, 64
|
49
|
-
value :CLIENT_HISTORY, 65
|
50
|
-
value :CLIENT_STATS, 66
|
51
|
-
value :CLIENT_PING, 67
|
52
|
-
value :CLIENT_PONG, 68
|
53
|
-
value :CLIENT_ABORT, 106
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x1dmeshtastic/storeforward.proto\x12\nmeshtastic\"\x9c\x07\n\x0fStoreAndForward\x12\x37\n\x02rr\x18\x01 \x01(\x0e\x32+.meshtastic.StoreAndForward.RequestResponse\x12\x37\n\x05stats\x18\x02 \x01(\x0b\x32&.meshtastic.StoreAndForward.StatisticsH\x00\x12\x36\n\x07history\x18\x03 \x01(\x0b\x32#.meshtastic.StoreAndForward.HistoryH\x00\x12:\n\theartbeat\x18\x04 \x01(\x0b\x32%.meshtastic.StoreAndForward.HeartbeatH\x00\x12\x0e\n\x04text\x18\x05 \x01(\x0cH\x00\x1a\xcd\x01\n\nStatistics\x12\x16\n\x0emessages_total\x18\x01 \x01(\r\x12\x16\n\x0emessages_saved\x18\x02 \x01(\r\x12\x14\n\x0cmessages_max\x18\x03 \x01(\r\x12\x0f\n\x07up_time\x18\x04 \x01(\r\x12\x10\n\x08requests\x18\x05 \x01(\r\x12\x18\n\x10requests_history\x18\x06 \x01(\r\x12\x11\n\theartbeat\x18\x07 \x01(\x08\x12\x12\n\nreturn_max\x18\x08 \x01(\r\x12\x15\n\rreturn_window\x18\t \x01(\r\x1aI\n\x07History\x12\x18\n\x10history_messages\x18\x01 \x01(\r\x12\x0e\n\x06window\x18\x02 \x01(\r\x12\x14\n\x0clast_request\x18\x03 \x01(\r\x1a.\n\tHeartbeat\x12\x0e\n\x06period\x18\x01 \x01(\r\x12\x11\n\tsecondary\x18\x02 \x01(\r\"\xbc\x02\n\x0fRequestResponse\x12\t\n\x05UNSET\x10\x00\x12\x10\n\x0cROUTER_ERROR\x10\x01\x12\x14\n\x10ROUTER_HEARTBEAT\x10\x02\x12\x0f\n\x0bROUTER_PING\x10\x03\x12\x0f\n\x0bROUTER_PONG\x10\x04\x12\x0f\n\x0bROUTER_BUSY\x10\x05\x12\x12\n\x0eROUTER_HISTORY\x10\x06\x12\x10\n\x0cROUTER_STATS\x10\x07\x12\x16\n\x12ROUTER_TEXT_DIRECT\x10\x08\x12\x19\n\x15ROUTER_TEXT_BROADCAST\x10\t\x12\x10\n\x0c\x43LIENT_ERROR\x10@\x12\x12\n\x0e\x43LIENT_HISTORY\x10\x41\x12\x10\n\x0c\x43LIENT_STATS\x10\x42\x12\x0f\n\x0b\x43LIENT_PING\x10\x43\x12\x0f\n\x0b\x43LIENT_PONG\x10\x44\x12\x10\n\x0c\x43LIENT_ABORT\x10jB\t\n\x07variantBj\n\x13\x63om.geeksville.meshB\x15StoreAndForwardProtosZ\"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)
|
57
12
|
|
58
13
|
module Meshtastic
|
59
14
|
StoreAndForward = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.StoreAndForward").msgclass
|