Skip to content

Commit 62df860

Browse files
authored
2.7: Update protobufs and classes (#11023)
Includes HM330X sensor used at the fab26 event.
1 parent bfa5c1c commit 62df860

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

src/mesh/generated/meshtastic/mesh.pb.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,10 @@ typedef enum _meshtastic_HardwareModel {
329329
meshtastic_HardwareModel_SEEED_WIO_TRACKER_L2 = 137,
330330
/* Elecrow CrowPanel Advance P4 models, ESP32-P4 and TFT with SX1262 radio plugin */
331331
meshtastic_HardwareModel_CROWPANEL_P4 = 138,
332+
/* Heltec Mesh Tower V2 */
333+
meshtastic_HardwareModel_HELTEC_MESH_TOWER_V2 = 139,
334+
/* Meshnology W10 */
335+
meshtastic_HardwareModel_MESHNOLOGY_W10 = 140,
332336
/* ------------------------------------------------------------------------------------------------------------------------------------------
333337
Reserved ID For developing private Ports. These will show up in live traffic sparsely, so we can use a high number. Keep it within 8 bits.
334338
------------------------------------------------------------------------------------------------------------------------------------------ */

src/mesh/generated/meshtastic/telemetry.pb.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ typedef enum _meshtastic_TelemetrySensorType {
121121
/* ICM-42607-P 6‑Axis IMU */
122122
meshtastic_TelemetrySensorType_ICM42607P = 53,
123123
/* SPA06 pressure and temperature */
124-
meshtastic_TelemetrySensorType_SPA06 = 54
124+
meshtastic_TelemetrySensorType_SPA06 = 54,
125+
/* HM330X PM SENSOR */
126+
meshtastic_TelemetrySensorType_HM330X = 55
125127
} meshtastic_TelemetrySensorType;
126128

127129
/* Struct definitions */
@@ -502,8 +504,8 @@ extern "C" {
502504

503505
/* Helper constants for enums */
504506
#define _meshtastic_TelemetrySensorType_MIN meshtastic_TelemetrySensorType_SENSOR_UNSET
505-
#define _meshtastic_TelemetrySensorType_MAX meshtastic_TelemetrySensorType_SPA06
506-
#define _meshtastic_TelemetrySensorType_ARRAYSIZE ((meshtastic_TelemetrySensorType)(meshtastic_TelemetrySensorType_SPA06+1))
507+
#define _meshtastic_TelemetrySensorType_MAX meshtastic_TelemetrySensorType_HM330X
508+
#define _meshtastic_TelemetrySensorType_ARRAYSIZE ((meshtastic_TelemetrySensorType)(meshtastic_TelemetrySensorType_HM330X+1))
507509

508510

509511

0 commit comments

Comments
 (0)