diff --git a/environmental_measurement.proto b/environmental_measurement.proto new file mode 100644 index 0000000..c07524e --- /dev/null +++ b/environmental_measurement.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + +message EnvironmentalMeasurement { + + float temperature = 1; + float relative_humidity = 2; + float barometric_pressure = 3; + +} \ No newline at end of file diff --git a/portnums.proto b/portnums.proto index 81b0a39..e03d111 100644 --- a/portnums.proto +++ b/portnums.proto @@ -78,13 +78,23 @@ enum PortNum { IP_TUNNEL_APP = 33; /* - * 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. + * Provides a format to send and receive environmental data from the Meshtastic network. * - * 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; /*