mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
add environmental measurements
add syntax
This commit is contained in:
parent
efa2aa613e
commit
564292ee83
2 changed files with 24 additions and 5 deletions
9
environmental_measurement.proto
Normal file
9
environmental_measurement.proto
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
message EnvironmentalMeasurement {
|
||||||
|
|
||||||
|
float temperature = 1;
|
||||||
|
float relative_humidity = 2;
|
||||||
|
float barometric_pressure = 3;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -78,13 +78,23 @@ enum PortNum {
|
||||||
IP_TUNNEL_APP = 33;
|
IP_TUNNEL_APP = 33;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Provides a hardware serial interface to send and receive from the Meshtastic network.
|
* Provides a format to send and receive environmental data from the Meshtastic network.
|
||||||
* Connect to the RX/TX pins of a device with 38400 8N1. Packets received from the Meshtastic
|
|
||||||
* network is forwarded to the RX pin while sending a packet to TX will go out to the Mesh
|
|
||||||
* network. Maximum packet size of 240 bytes.
|
|
||||||
*
|
*
|
||||||
* Maintained by Jm Casler (MC Hamster) : jm@casler.org
|
* Maintained by Charles Crossan (crossan007) : crossan007@gmail.com
|
||||||
*/
|
*/
|
||||||
|
ENVIRONMENTAL_MEASUREMENT_APP = 34;
|
||||||
|
|
||||||
|
/** Provides a hardware serial interface to send and receive from the Meshtastic network.
|
||||||
|
Connect to the RX/TX pins of a device with 38400 8N1. Packets received from the Meshtastic
|
||||||
|
network is forwarded to the RX pin while sending a packet to TX will go out to the Mesh
|
||||||
|
network. Maximum packet size of 240 bytes.
|
||||||
|
|
||||||
|
Plugin is disabled by default can be turned on by setting SERIALPLUGIN_ENABLED = 1 in
|
||||||
|
SerialPlugh.cpp.
|
||||||
|
|
||||||
|
Maintained by Jm Casler (MC Hamster) : jm@casler.org
|
||||||
|
|
||||||
|
*/
|
||||||
SERIAL_APP = 64;
|
SERIAL_APP = 64;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue