add more env configs

pull/16/head
Charles Crossan 2021-03-02 20:25:22 -05:00
rodzic 94bd0aae44
commit 270cbdb680
2 zmienionych plików z 24 dodań i 7 usunięć

Wyświetl plik

@ -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"

Wyświetl plik

@ -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;
}