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,139 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/telemetry.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
proto3_optional :channel_utilization, :float, 3
|
12
|
-
proto3_optional :air_util_tx, :float, 4
|
13
|
-
proto3_optional :uptime_seconds, :uint32, 5
|
14
|
-
end
|
15
|
-
add_message "meshtastic.EnvironmentMetrics" do
|
16
|
-
proto3_optional :temperature, :float, 1
|
17
|
-
proto3_optional :relative_humidity, :float, 2
|
18
|
-
proto3_optional :barometric_pressure, :float, 3
|
19
|
-
proto3_optional :gas_resistance, :float, 4
|
20
|
-
proto3_optional :voltage, :float, 5
|
21
|
-
proto3_optional :current, :float, 6
|
22
|
-
proto3_optional :iaq, :uint32, 7
|
23
|
-
proto3_optional :distance, :float, 8
|
24
|
-
proto3_optional :lux, :float, 9
|
25
|
-
proto3_optional :white_lux, :float, 10
|
26
|
-
proto3_optional :ir_lux, :float, 11
|
27
|
-
proto3_optional :uv_lux, :float, 12
|
28
|
-
proto3_optional :wind_direction, :uint32, 13
|
29
|
-
proto3_optional :wind_speed, :float, 14
|
30
|
-
proto3_optional :weight, :float, 15
|
31
|
-
proto3_optional :wind_gust, :float, 16
|
32
|
-
proto3_optional :wind_lull, :float, 17
|
33
|
-
proto3_optional :radiation, :float, 18
|
34
|
-
proto3_optional :rainfall_1h, :float, 19
|
35
|
-
proto3_optional :rainfall_24h, :float, 20
|
36
|
-
proto3_optional :soil_moisture, :uint32, 21
|
37
|
-
proto3_optional :soil_temperature, :float, 22
|
38
|
-
end
|
39
|
-
add_message "meshtastic.PowerMetrics" do
|
40
|
-
proto3_optional :ch1_voltage, :float, 1
|
41
|
-
proto3_optional :ch1_current, :float, 2
|
42
|
-
proto3_optional :ch2_voltage, :float, 3
|
43
|
-
proto3_optional :ch2_current, :float, 4
|
44
|
-
proto3_optional :ch3_voltage, :float, 5
|
45
|
-
proto3_optional :ch3_current, :float, 6
|
46
|
-
end
|
47
|
-
add_message "meshtastic.AirQualityMetrics" do
|
48
|
-
proto3_optional :pm10_standard, :uint32, 1
|
49
|
-
proto3_optional :pm25_standard, :uint32, 2
|
50
|
-
proto3_optional :pm100_standard, :uint32, 3
|
51
|
-
proto3_optional :pm10_environmental, :uint32, 4
|
52
|
-
proto3_optional :pm25_environmental, :uint32, 5
|
53
|
-
proto3_optional :pm100_environmental, :uint32, 6
|
54
|
-
proto3_optional :particles_03um, :uint32, 7
|
55
|
-
proto3_optional :particles_05um, :uint32, 8
|
56
|
-
proto3_optional :particles_10um, :uint32, 9
|
57
|
-
proto3_optional :particles_25um, :uint32, 10
|
58
|
-
proto3_optional :particles_50um, :uint32, 11
|
59
|
-
proto3_optional :particles_100um, :uint32, 12
|
60
|
-
proto3_optional :co2, :uint32, 13
|
61
|
-
end
|
62
|
-
add_message "meshtastic.LocalStats" do
|
63
|
-
optional :uptime_seconds, :uint32, 1
|
64
|
-
optional :channel_utilization, :float, 2
|
65
|
-
optional :air_util_tx, :float, 3
|
66
|
-
optional :num_packets_tx, :uint32, 4
|
67
|
-
optional :num_packets_rx, :uint32, 5
|
68
|
-
optional :num_packets_rx_bad, :uint32, 6
|
69
|
-
optional :num_online_nodes, :uint32, 7
|
70
|
-
optional :num_total_nodes, :uint32, 8
|
71
|
-
optional :num_rx_dupe, :uint32, 9
|
72
|
-
optional :num_tx_relay, :uint32, 10
|
73
|
-
optional :num_tx_relay_canceled, :uint32, 11
|
74
|
-
end
|
75
|
-
add_message "meshtastic.HealthMetrics" do
|
76
|
-
proto3_optional :heart_bpm, :uint32, 1
|
77
|
-
proto3_optional :spO2, :uint32, 2
|
78
|
-
proto3_optional :temperature, :float, 3
|
79
|
-
end
|
80
|
-
add_message "meshtastic.Telemetry" do
|
81
|
-
optional :time, :fixed32, 1
|
82
|
-
oneof :variant do
|
83
|
-
optional :device_metrics, :message, 2, "meshtastic.DeviceMetrics"
|
84
|
-
optional :environment_metrics, :message, 3, "meshtastic.EnvironmentMetrics"
|
85
|
-
optional :air_quality_metrics, :message, 4, "meshtastic.AirQualityMetrics"
|
86
|
-
optional :power_metrics, :message, 5, "meshtastic.PowerMetrics"
|
87
|
-
optional :local_stats, :message, 6, "meshtastic.LocalStats"
|
88
|
-
optional :health_metrics, :message, 7, "meshtastic.HealthMetrics"
|
89
|
-
end
|
90
|
-
end
|
91
|
-
add_message "meshtastic.Nau7802Config" do
|
92
|
-
optional :zeroOffset, :int32, 1
|
93
|
-
optional :calibrationFactor, :float, 2
|
94
|
-
end
|
95
|
-
add_enum "meshtastic.TelemetrySensorType" do
|
96
|
-
value :SENSOR_UNSET, 0
|
97
|
-
value :BME280, 1
|
98
|
-
value :BME680, 2
|
99
|
-
value :MCP9808, 3
|
100
|
-
value :INA260, 4
|
101
|
-
value :INA219, 5
|
102
|
-
value :BMP280, 6
|
103
|
-
value :SHTC3, 7
|
104
|
-
value :LPS22, 8
|
105
|
-
value :QMC6310, 9
|
106
|
-
value :QMI8658, 10
|
107
|
-
value :QMC5883L, 11
|
108
|
-
value :SHT31, 12
|
109
|
-
value :PMSA003I, 13
|
110
|
-
value :INA3221, 14
|
111
|
-
value :BMP085, 15
|
112
|
-
value :RCWL9620, 16
|
113
|
-
value :SHT4X, 17
|
114
|
-
value :VEML7700, 18
|
115
|
-
value :MLX90632, 19
|
116
|
-
value :OPT3001, 20
|
117
|
-
value :LTR390UV, 21
|
118
|
-
value :TSL25911FN, 22
|
119
|
-
value :AHT10, 23
|
120
|
-
value :DFROBOT_LARK, 24
|
121
|
-
value :NAU7802, 25
|
122
|
-
value :BMP3XX, 26
|
123
|
-
value :ICM20948, 27
|
124
|
-
value :MAX17048, 28
|
125
|
-
value :CUSTOM_SENSOR, 29
|
126
|
-
value :MAX30102, 30
|
127
|
-
value :MLX90614, 31
|
128
|
-
value :SCD4X, 32
|
129
|
-
value :RADSENS, 33
|
130
|
-
value :INA226, 34
|
131
|
-
value :DFROBOT_RAIN, 35
|
132
|
-
value :DPS310, 36
|
133
|
-
value :RAK12035, 37
|
134
|
-
end
|
135
|
-
end
|
136
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x1ameshtastic/telemetry.proto\x12\nmeshtastic\"\xf3\x01\n\rDeviceMetrics\x12\x1a\n\rbattery_level\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x07voltage\x18\x02 \x01(\x02H\x01\x88\x01\x01\x12 \n\x13\x63hannel_utilization\x18\x03 \x01(\x02H\x02\x88\x01\x01\x12\x18\n\x0b\x61ir_util_tx\x18\x04 \x01(\x02H\x03\x88\x01\x01\x12\x1b\n\x0euptime_seconds\x18\x05 \x01(\rH\x04\x88\x01\x01\x42\x10\n\x0e_battery_levelB\n\n\x08_voltageB\x16\n\x14_channel_utilizationB\x0e\n\x0c_air_util_txB\x11\n\x0f_uptime_seconds\"\x82\x07\n\x12\x45nvironmentMetrics\x12\x18\n\x0btemperature\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12\x1e\n\x11relative_humidity\x18\x02 \x01(\x02H\x01\x88\x01\x01\x12 \n\x13\x62\x61rometric_pressure\x18\x03 \x01(\x02H\x02\x88\x01\x01\x12\x1b\n\x0egas_resistance\x18\x04 \x01(\x02H\x03\x88\x01\x01\x12\x14\n\x07voltage\x18\x05 \x01(\x02H\x04\x88\x01\x01\x12\x14\n\x07\x63urrent\x18\x06 \x01(\x02H\x05\x88\x01\x01\x12\x10\n\x03iaq\x18\x07 \x01(\rH\x06\x88\x01\x01\x12\x15\n\x08\x64istance\x18\x08 \x01(\x02H\x07\x88\x01\x01\x12\x10\n\x03lux\x18\t \x01(\x02H\x08\x88\x01\x01\x12\x16\n\twhite_lux\x18\n \x01(\x02H\t\x88\x01\x01\x12\x13\n\x06ir_lux\x18\x0b \x01(\x02H\n\x88\x01\x01\x12\x13\n\x06uv_lux\x18\x0c \x01(\x02H\x0b\x88\x01\x01\x12\x1b\n\x0ewind_direction\x18\r \x01(\rH\x0c\x88\x01\x01\x12\x17\n\nwind_speed\x18\x0e \x01(\x02H\r\x88\x01\x01\x12\x13\n\x06weight\x18\x0f \x01(\x02H\x0e\x88\x01\x01\x12\x16\n\twind_gust\x18\x10 \x01(\x02H\x0f\x88\x01\x01\x12\x16\n\twind_lull\x18\x11 \x01(\x02H\x10\x88\x01\x01\x12\x16\n\tradiation\x18\x12 \x01(\x02H\x11\x88\x01\x01\x12\x18\n\x0brainfall_1h\x18\x13 \x01(\x02H\x12\x88\x01\x01\x12\x19\n\x0crainfall_24h\x18\x14 \x01(\x02H\x13\x88\x01\x01\x12\x1a\n\rsoil_moisture\x18\x15 \x01(\rH\x14\x88\x01\x01\x12\x1d\n\x10soil_temperature\x18\x16 \x01(\x02H\x15\x88\x01\x01\x42\x0e\n\x0c_temperatureB\x14\n\x12_relative_humidityB\x16\n\x14_barometric_pressureB\x11\n\x0f_gas_resistanceB\n\n\x08_voltageB\n\n\x08_currentB\x06\n\x04_iaqB\x0b\n\t_distanceB\x06\n\x04_luxB\x0c\n\n_white_luxB\t\n\x07_ir_luxB\t\n\x07_uv_luxB\x11\n\x0f_wind_directionB\r\n\x0b_wind_speedB\t\n\x07_weightB\x0c\n\n_wind_gustB\x0c\n\n_wind_lullB\x0c\n\n_radiationB\x0e\n\x0c_rainfall_1hB\x0f\n\r_rainfall_24hB\x10\n\x0e_soil_moistureB\x13\n\x11_soil_temperature\"\x8a\x02\n\x0cPowerMetrics\x12\x18\n\x0b\x63h1_voltage\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12\x18\n\x0b\x63h1_current\x18\x02 \x01(\x02H\x01\x88\x01\x01\x12\x18\n\x0b\x63h2_voltage\x18\x03 \x01(\x02H\x02\x88\x01\x01\x12\x18\n\x0b\x63h2_current\x18\x04 \x01(\x02H\x03\x88\x01\x01\x12\x18\n\x0b\x63h3_voltage\x18\x05 \x01(\x02H\x04\x88\x01\x01\x12\x18\n\x0b\x63h3_current\x18\x06 \x01(\x02H\x05\x88\x01\x01\x42\x0e\n\x0c_ch1_voltageB\x0e\n\x0c_ch1_currentB\x0e\n\x0c_ch2_voltageB\x0e\n\x0c_ch2_currentB\x0e\n\x0c_ch3_voltageB\x0e\n\x0c_ch3_current\"\x85\x05\n\x11\x41irQualityMetrics\x12\x1a\n\rpm10_standard\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x1a\n\rpm25_standard\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x1b\n\x0epm100_standard\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12pm10_environmental\x18\x04 \x01(\rH\x03\x88\x01\x01\x12\x1f\n\x12pm25_environmental\x18\x05 \x01(\rH\x04\x88\x01\x01\x12 \n\x13pm100_environmental\x18\x06 \x01(\rH\x05\x88\x01\x01\x12\x1b\n\x0eparticles_03um\x18\x07 \x01(\rH\x06\x88\x01\x01\x12\x1b\n\x0eparticles_05um\x18\x08 \x01(\rH\x07\x88\x01\x01\x12\x1b\n\x0eparticles_10um\x18\t \x01(\rH\x08\x88\x01\x01\x12\x1b\n\x0eparticles_25um\x18\n \x01(\rH\t\x88\x01\x01\x12\x1b\n\x0eparticles_50um\x18\x0b \x01(\rH\n\x88\x01\x01\x12\x1c\n\x0fparticles_100um\x18\x0c \x01(\rH\x0b\x88\x01\x01\x12\x10\n\x03\x63o2\x18\r \x01(\rH\x0c\x88\x01\x01\x42\x10\n\x0e_pm10_standardB\x10\n\x0e_pm25_standardB\x11\n\x0f_pm100_standardB\x15\n\x13_pm10_environmentalB\x15\n\x13_pm25_environmentalB\x16\n\x14_pm100_environmentalB\x11\n\x0f_particles_03umB\x11\n\x0f_particles_05umB\x11\n\x0f_particles_10umB\x11\n\x0f_particles_25umB\x11\n\x0f_particles_50umB\x12\n\x10_particles_100umB\x06\n\x04_co2\"\x9f\x02\n\nLocalStats\x12\x16\n\x0euptime_seconds\x18\x01 \x01(\r\x12\x1b\n\x13\x63hannel_utilization\x18\x02 \x01(\x02\x12\x13\n\x0b\x61ir_util_tx\x18\x03 \x01(\x02\x12\x16\n\x0enum_packets_tx\x18\x04 \x01(\r\x12\x16\n\x0enum_packets_rx\x18\x05 \x01(\r\x12\x1a\n\x12num_packets_rx_bad\x18\x06 \x01(\r\x12\x18\n\x10num_online_nodes\x18\x07 \x01(\r\x12\x17\n\x0fnum_total_nodes\x18\x08 \x01(\r\x12\x13\n\x0bnum_rx_dupe\x18\t \x01(\r\x12\x14\n\x0cnum_tx_relay\x18\n \x01(\r\x12\x1d\n\x15num_tx_relay_canceled\x18\x0b \x01(\r\"{\n\rHealthMetrics\x12\x16\n\theart_bpm\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x11\n\x04spO2\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x18\n\x0btemperature\x18\x03 \x01(\x02H\x02\x88\x01\x01\x42\x0c\n\n_heart_bpmB\x07\n\x05_spO2B\x0e\n\x0c_temperature\"\xed\x02\n\tTelemetry\x12\x0c\n\x04time\x18\x01 \x01(\x07\x12\x33\n\x0e\x64\x65vice_metrics\x18\x02 \x01(\x0b\x32\x19.meshtastic.DeviceMetricsH\x00\x12=\n\x13\x65nvironment_metrics\x18\x03 \x01(\x0b\x32\x1e.meshtastic.EnvironmentMetricsH\x00\x12<\n\x13\x61ir_quality_metrics\x18\x04 \x01(\x0b\x32\x1d.meshtastic.AirQualityMetricsH\x00\x12\x31\n\rpower_metrics\x18\x05 \x01(\x0b\x32\x18.meshtastic.PowerMetricsH\x00\x12-\n\x0blocal_stats\x18\x06 \x01(\x0b\x32\x16.meshtastic.LocalStatsH\x00\x12\x33\n\x0ehealth_metrics\x18\x07 \x01(\x0b\x32\x19.meshtastic.HealthMetricsH\x00\x42\t\n\x07variant\">\n\rNau7802Config\x12\x12\n\nzeroOffset\x18\x01 \x01(\x05\x12\x19\n\x11\x63\x61librationFactor\x18\x02 \x01(\x02*\x91\x04\n\x13TelemetrySensorType\x12\x10\n\x0cSENSOR_UNSET\x10\x00\x12\n\n\x06\x42ME280\x10\x01\x12\n\n\x06\x42ME680\x10\x02\x12\x0b\n\x07MCP9808\x10\x03\x12\n\n\x06INA260\x10\x04\x12\n\n\x06INA219\x10\x05\x12\n\n\x06\x42MP280\x10\x06\x12\t\n\x05SHTC3\x10\x07\x12\t\n\x05LPS22\x10\x08\x12\x0b\n\x07QMC6310\x10\t\x12\x0b\n\x07QMI8658\x10\n\x12\x0c\n\x08QMC5883L\x10\x0b\x12\t\n\x05SHT31\x10\x0c\x12\x0c\n\x08PMSA003I\x10\r\x12\x0b\n\x07INA3221\x10\x0e\x12\n\n\x06\x42MP085\x10\x0f\x12\x0c\n\x08RCWL9620\x10\x10\x12\t\n\x05SHT4X\x10\x11\x12\x0c\n\x08VEML7700\x10\x12\x12\x0c\n\x08MLX90632\x10\x13\x12\x0b\n\x07OPT3001\x10\x14\x12\x0c\n\x08LTR390UV\x10\x15\x12\x0e\n\nTSL25911FN\x10\x16\x12\t\n\x05\x41HT10\x10\x17\x12\x10\n\x0c\x44\x46ROBOT_LARK\x10\x18\x12\x0b\n\x07NAU7802\x10\x19\x12\n\n\x06\x42MP3XX\x10\x1a\x12\x0c\n\x08ICM20948\x10\x1b\x12\x0c\n\x08MAX17048\x10\x1c\x12\x11\n\rCUSTOM_SENSOR\x10\x1d\x12\x0c\n\x08MAX30102\x10\x1e\x12\x0c\n\x08MLX90614\x10\x1f\x12\t\n\x05SCD4X\x10 \x12\x0b\n\x07RADSENS\x10!\x12\n\n\x06INA226\x10\"\x12\x10\n\x0c\x44\x46ROBOT_RAIN\x10#\x12\n\n\x06\x44PS310\x10$\x12\x0c\n\x08RAK12035\x10%Bd\n\x13\x63om.geeksville.meshB\x0fTelemetryProtosZ\"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)
|
137
12
|
|
138
13
|
module Meshtastic
|
139
14
|
DeviceMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.DeviceMetrics").msgclass
|
data/lib/meshtastic/version.rb
CHANGED
data/lib/meshtastic/xmodem_pb.rb
CHANGED
@@ -1,28 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: meshtastic/xmodem.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :crc16, :uint32, 3
|
12
|
-
optional :buffer, :bytes, 4
|
13
|
-
end
|
14
|
-
add_enum "meshtastic.XModem.Control" do
|
15
|
-
value :NUL, 0
|
16
|
-
value :SOH, 1
|
17
|
-
value :STX, 2
|
18
|
-
value :EOT, 4
|
19
|
-
value :ACK, 6
|
20
|
-
value :NAK, 21
|
21
|
-
value :CAN, 24
|
22
|
-
value :CTRLZ, 26
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n\x17meshtastic/xmodem.proto\x12\nmeshtastic\"\xb6\x01\n\x06XModem\x12+\n\x07\x63ontrol\x18\x01 \x01(\x0e\x32\x1a.meshtastic.XModem.Control\x12\x0b\n\x03seq\x18\x02 \x01(\r\x12\r\n\x05\x63rc16\x18\x03 \x01(\r\x12\x0e\n\x06\x62uffer\x18\x04 \x01(\x0c\"S\n\x07\x43ontrol\x12\x07\n\x03NUL\x10\x00\x12\x07\n\x03SOH\x10\x01\x12\x07\n\x03STX\x10\x02\x12\x07\n\x03\x45OT\x10\x04\x12\x07\n\x03\x41\x43K\x10\x06\x12\x07\n\x03NAK\x10\x15\x12\x07\n\x03\x43\x41N\x10\x18\x12\t\n\x05\x43TRLZ\x10\x1a\x42\x61\n\x13\x63om.geeksville.meshB\x0cXmodemProtosZ\"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)
|
26
12
|
|
27
13
|
module Meshtastic
|
28
14
|
XModem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.XModem").msgclass
|
data/lib/nanopb_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: nanopb.proto
|
3
4
|
|
@@ -5,69 +6,11 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/protobuf/descriptor_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
optional :max_count, :int32, 2
|
14
|
-
optional :int_size, :enum, 7, "IntSize", default: 0
|
15
|
-
optional :type, :enum, 3, "FieldType", default: 0
|
16
|
-
optional :long_names, :bool, 4, default: true
|
17
|
-
optional :packed_struct, :bool, 5, default: false
|
18
|
-
optional :packed_enum, :bool, 10, default: false
|
19
|
-
optional :skip_message, :bool, 6, default: false
|
20
|
-
optional :no_unions, :bool, 8, default: false
|
21
|
-
optional :msgid, :uint32, 9
|
22
|
-
optional :anonymous_oneof, :bool, 11, default: false
|
23
|
-
optional :proto3, :bool, 12, default: false
|
24
|
-
optional :proto3_singular_msgs, :bool, 21, default: false
|
25
|
-
optional :enum_to_string, :bool, 13, default: false
|
26
|
-
optional :fixed_length, :bool, 15, default: false
|
27
|
-
optional :fixed_count, :bool, 16, default: false
|
28
|
-
optional :submsg_callback, :bool, 22, default: false
|
29
|
-
optional :mangle_names, :enum, 17, "TypenameMangling", default: 0
|
30
|
-
optional :callback_datatype, :string, 18, default: "pb_callback_t"
|
31
|
-
optional :callback_function, :string, 19, default: "pb_default_field_callback"
|
32
|
-
optional :descriptorsize, :enum, 20, "DescriptorSize", default: 0
|
33
|
-
optional :default_has, :bool, 23, default: false
|
34
|
-
repeated :include, :string, 24
|
35
|
-
repeated :exclude, :string, 26
|
36
|
-
optional :package, :string, 25
|
37
|
-
optional :type_override, :enum, 27, "google.protobuf.FieldDescriptorProto.Type"
|
38
|
-
optional :sort_by_tag, :bool, 28, default: true
|
39
|
-
optional :fallback_type, :enum, 29, "FieldType", default: 1
|
40
|
-
end
|
41
|
-
add_enum "FieldType" do
|
42
|
-
value :FT_DEFAULT, 0
|
43
|
-
value :FT_CALLBACK, 1
|
44
|
-
value :FT_POINTER, 4
|
45
|
-
value :FT_STATIC, 2
|
46
|
-
value :FT_IGNORE, 3
|
47
|
-
value :FT_INLINE, 5
|
48
|
-
end
|
49
|
-
add_enum "IntSize" do
|
50
|
-
value :IS_DEFAULT, 0
|
51
|
-
value :IS_8, 8
|
52
|
-
value :IS_16, 16
|
53
|
-
value :IS_32, 32
|
54
|
-
value :IS_64, 64
|
55
|
-
end
|
56
|
-
add_enum "TypenameMangling" do
|
57
|
-
value :M_NONE, 0
|
58
|
-
value :M_STRIP_PACKAGE, 1
|
59
|
-
value :M_FLATTEN, 2
|
60
|
-
value :M_PACKAGE_INITIALS, 3
|
61
|
-
end
|
62
|
-
add_enum "DescriptorSize" do
|
63
|
-
value :DS_AUTO, 0
|
64
|
-
value :DS_1, 1
|
65
|
-
value :DS_2, 2
|
66
|
-
value :DS_4, 4
|
67
|
-
value :DS_8, 8
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
9
|
+
|
10
|
+
descriptor_data = "\n\x0cnanopb.proto\x1a google/protobuf/descriptor.proto\"\xa4\x07\n\rNanoPBOptions\x12\x10\n\x08max_size\x18\x01 \x01(\x05\x12\x12\n\nmax_length\x18\x0e \x01(\x05\x12\x11\n\tmax_count\x18\x02 \x01(\x05\x12&\n\x08int_size\x18\x07 \x01(\x0e\x32\x08.IntSize:\nIS_DEFAULT\x12$\n\x04type\x18\x03 \x01(\x0e\x32\n.FieldType:\nFT_DEFAULT\x12\x18\n\nlong_names\x18\x04 \x01(\x08:\x04true\x12\x1c\n\rpacked_struct\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0bpacked_enum\x18\n \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0cskip_message\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x18\n\tno_unions\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\r\n\x05msgid\x18\t \x01(\r\x12\x1e\n\x0f\x61nonymous_oneof\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\x15\n\x06proto3\x18\x0c \x01(\x08:\x05\x66\x61lse\x12#\n\x14proto3_singular_msgs\x18\x15 \x01(\x08:\x05\x66\x61lse\x12\x1d\n\x0e\x65num_to_string\x18\r \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0c\x66ixed_length\x18\x0f \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0b\x66ixed_count\x18\x10 \x01(\x08:\x05\x66\x61lse\x12\x1e\n\x0fsubmsg_callback\x18\x16 \x01(\x08:\x05\x66\x61lse\x12/\n\x0cmangle_names\x18\x11 \x01(\x0e\x32\x11.TypenameMangling:\x06M_NONE\x12(\n\x11\x63\x61llback_datatype\x18\x12 \x01(\t:\rpb_callback_t\x12\x34\n\x11\x63\x61llback_function\x18\x13 \x01(\t:\x19pb_default_field_callback\x12\x30\n\x0e\x64\x65scriptorsize\x18\x14 \x01(\x0e\x32\x0f.DescriptorSize:\x07\x44S_AUTO\x12\x1a\n\x0b\x64\x65\x66\x61ult_has\x18\x17 \x01(\x08:\x05\x66\x61lse\x12\x0f\n\x07include\x18\x18 \x03(\t\x12\x0f\n\x07\x65xclude\x18\x1a \x03(\t\x12\x0f\n\x07package\x18\x19 \x01(\t\x12\x41\n\rtype_override\x18\x1b \x01(\x0e\x32*.google.protobuf.FieldDescriptorProto.Type\x12\x19\n\x0bsort_by_tag\x18\x1c \x01(\x08:\x04true\x12.\n\rfallback_type\x18\x1d \x01(\x0e\x32\n.FieldType:\x0b\x46T_CALLBACK*i\n\tFieldType\x12\x0e\n\nFT_DEFAULT\x10\x00\x12\x0f\n\x0b\x46T_CALLBACK\x10\x01\x12\x0e\n\nFT_POINTER\x10\x04\x12\r\n\tFT_STATIC\x10\x02\x12\r\n\tFT_IGNORE\x10\x03\x12\r\n\tFT_INLINE\x10\x05*D\n\x07IntSize\x12\x0e\n\nIS_DEFAULT\x10\x00\x12\x08\n\x04IS_8\x10\x08\x12\t\n\x05IS_16\x10\x10\x12\t\n\x05IS_32\x10 \x12\t\n\x05IS_64\x10@*Z\n\x10TypenameMangling\x12\n\n\x06M_NONE\x10\x00\x12\x13\n\x0fM_STRIP_PACKAGE\x10\x01\x12\r\n\tM_FLATTEN\x10\x02\x12\x16\n\x12M_PACKAGE_INITIALS\x10\x03*E\n\x0e\x44\x65scriptorSize\x12\x0b\n\x07\x44S_AUTO\x10\x00\x12\x08\n\x04\x44S_1\x10\x01\x12\x08\n\x04\x44S_2\x10\x02\x12\x08\n\x04\x44S_4\x10\x04\x12\x08\n\x04\x44S_8\x10\x08:E\n\x0enanopb_fileopt\x12\x1c.google.protobuf.FileOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:G\n\rnanopb_msgopt\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:E\n\x0enanopb_enumopt\x12\x1c.google.protobuf.EnumOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:>\n\x06nanopb\x12\x1d.google.protobuf.FieldOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptionsB>\n\x18\x66i.kapsi.koti.jpa.nanopbZ\"github.com/meshtastic/go/generated"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
71
14
|
|
72
15
|
NanoPBOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("NanoPBOptions").msgclass
|
73
16
|
FieldType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("FieldType").enummodule
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meshtastic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.123
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
@@ -65,6 +65,20 @@ dependencies:
|
|
65
65
|
- - '='
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: 4.30.2
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: grpc-tools
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - '='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 1.71.0
|
75
|
+
type: :runtime
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - '='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.71.0
|
68
82
|
- !ruby/object:Gem::Dependency
|
69
83
|
name: mqtt
|
70
84
|
requirement: !ruby/object:Gem::Requirement
|