From 9306464417522aa8b25672b324a3bd5e9dec3395 Mon Sep 17 00:00:00 2001 From: Charles Crossan Date: Sun, 21 Feb 2021 12:04:48 -0500 Subject: [PATCH] add environmental measurements --- environmental_measurement.proto | 9 +++++++++ portnums.proto | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 environmental_measurement.proto 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..0438d9a 100644 --- a/portnums.proto +++ b/portnums.proto @@ -101,6 +101,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"