kopia lustrzana https://github.com/meshtastic/protobufs
add more env configs
rodzic
94bd0aae44
commit
270cbdb680
|
@ -86,13 +86,6 @@ enum PortNum {
|
|||
*/
|
||||
IP_TUNNEL_APP = 33;
|
||||
|
||||
/*
|
||||
* Provides a format to send and receive environmental data from the Meshtastic network.
|
||||
*
|
||||
* 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
|
||||
|
@ -119,6 +112,13 @@ enum PortNum {
|
|||
*/
|
||||
RANGE_TEST_APP = 66;
|
||||
|
||||
/*
|
||||
* Provides a format to send and receive environmental data from the Meshtastic network.
|
||||
*
|
||||
* Maintained by Charles Crossan (crossan007) : crossan007@gmail.com
|
||||
*/
|
||||
ENVIRONMENTAL_MEASUREMENT_APP = 67;
|
||||
|
||||
/*
|
||||
* Private applications should use portnums >= 256.
|
||||
* To simplify initial development and testing you can use "PRIVATE_APP"
|
||||
|
|
|
@ -392,6 +392,23 @@ message RadioConfig {
|
|||
*/
|
||||
uint32 environmental_measurement_plugin_recovery_interval = 144;
|
||||
|
||||
/* We'll always read the sensor in Celsius, but sometimes we might want to
|
||||
display the results in Farenheit as a "user preference". s
|
||||
*/
|
||||
bool environmental_measurement_plugin_display_farenheit = 145;
|
||||
|
||||
enum EnvironmentalMeasurementSensorType {
|
||||
DHT11 = 0;
|
||||
};
|
||||
|
||||
/* Specify the sensor type
|
||||
*/
|
||||
EnvironmentalMeasurementSensorType environmental_measurement_plugin_sensor_type = 146;
|
||||
|
||||
/* Specify the peferred GPIO Pin for sensor readings
|
||||
*/
|
||||
uint32 environmental_measurement_plugin_sensor_pin = 147;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue