kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #16 from crossan007/add-environment
Add environment measurement settingspull/17/head
commit
817863fe99
|
@ -86,13 +86,6 @@ enum PortNum {
|
||||||
*/
|
*/
|
||||||
IP_TUNNEL_APP = 33;
|
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.
|
/** 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
|
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 is forwarded to the RX pin while sending a packet to TX will go out to the Mesh
|
||||||
|
@ -118,6 +111,13 @@ enum PortNum {
|
||||||
* Maintained by Jm Casler (MC Hamster) : jm@casler.org
|
* Maintained by Jm Casler (MC Hamster) : jm@casler.org
|
||||||
*/
|
*/
|
||||||
RANGE_TEST_APP = 66;
|
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.
|
* Private applications should use portnums >= 256.
|
||||||
|
|
|
@ -392,6 +392,23 @@ message RadioConfig {
|
||||||
*/
|
*/
|
||||||
uint32 environmental_measurement_plugin_recovery_interval = 144;
|
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