Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions meshtastic/admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,11 @@ message SensorConfig {
* SHTXX temperature and relative humidity sensor configuration
*/
SHTXX_config shtxx_config = 4;

/*
* VL53L0X Distance Sensor configuration
*/
VL53L0X_config vl53l0x_config = 5;
}

message SCD4X_config {
Expand Down Expand Up @@ -760,3 +765,10 @@ message SHTXX_config {
*/
optional uint32 set_accuracy = 1;
}

message VL53L0X_config {
/*
* Ranging mode (0 = default, 1 = long range, 2 = high speed,3 = high accuracy)
*/
optional uint32 ranging_mode = 1;
}
19 changes: 19 additions & 0 deletions meshtastic/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,11 @@ enum TelemetrySensorType {
* DS248X Bridge for one-wire temperature sensors
*/
DS248X = 51;

/*
* VL53L0X distance, sensor
*/
VL53L0X = 52;
}

/*
Expand Down Expand Up @@ -932,3 +937,17 @@ message SEN5XState {
*/
optional fixed64 voc_state_array = 6;
}

message VL53L0XState {
enum RangingMode {
Default = 0;
LongRange = 1;
HighSpeed = 2;
HighAccuracy = 3;
}

/*
* Current Ranging Mode
*/
RangingMode mode = 1;
}