diff --git a/client/client/lib/dr27_analogue/src/dr26.cpp b/client/client/lib/dr27_analogue/src/dr26.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/client/client/lib/dr27_analogue/src/dr26.hpp b/client/client/lib/dr27_analogue/src/dr26.hpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/client/client/lib/drs26_digital/drs26.hpp b/client/client/lib/drs26_digital/drs26.hpp index 83d02ae0a5a5f88e556e1f4a811dc6510b122f98..0d5462b85a5a16105eb60aebe2968f5cfd15f5fc 100644 --- a/client/client/lib/drs26_digital/drs26.hpp +++ b/client/client/lib/drs26_digital/drs26.hpp @@ -1,7 +1,9 @@ #ifndef _DRS26 #define _DRS26 -#include <forte_sensor.hpp> +// #include <forte_sensor.hpp> +#include "forte_sensor.hpp" +#include "pinout.hpp" #include <SDI12.h> #include <pinout.hpp> #include "Wire.h" diff --git a/client/client/lib/drs26_digital/forte_sensor.hpp b/client/client/lib/drs26_digital/forte_sensor.hpp deleted file mode 100644 index 8e030b9403653c40c5eecfca88edab96e805631d..0000000000000000000000000000000000000000 --- a/client/client/lib/drs26_digital/forte_sensor.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef _FORTE_SENSOR -#define _FORTE_SENSOR - -class Forte_Sensor { - public: - virtual void* read_data() = 0; - virtual void setup() = 0; - - private: - -}; - -#endif \ No newline at end of file diff --git a/client/client/lib/drs26_digital/pinout.hpp b/client/client/lib/drs26_digital/pinout.hpp deleted file mode 100644 index 5ac8641a53a8d0718bfba0cdb1aedd53cf543b82..0000000000000000000000000000000000000000 --- a/client/client/lib/drs26_digital/pinout.hpp +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _FORTE_PINOUT -#define _FORTE_PINOUT - -// Pins for SDI12 -#define SDI_DATA 8 -#endif \ No newline at end of file diff --git a/client/client/lib/ina219/forte_sensor.hpp b/client/client/lib/ina219/forte_sensor.hpp deleted file mode 100644 index 8e030b9403653c40c5eecfca88edab96e805631d..0000000000000000000000000000000000000000 --- a/client/client/lib/ina219/forte_sensor.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef _FORTE_SENSOR -#define _FORTE_SENSOR - -class Forte_Sensor { - public: - virtual void* read_data() = 0; - virtual void setup() = 0; - - private: - -}; - -#endif \ No newline at end of file diff --git a/client/client/lib/ina219/ina219.hpp b/client/client/lib/ina219/ina219.hpp index a975ba51978c825f33740d6a84aeb7bf4f96bcd6..67217e193308b3145460c357f8480116f0b17c46 100644 --- a/client/client/lib/ina219/ina219.hpp +++ b/client/client/lib/ina219/ina219.hpp @@ -1,8 +1,8 @@ #ifndef _INA219 #define _INA219 -#include <forte_sensor.hpp> -#include <pinout.hpp> +#include "forte_sensor.hpp" +#include "pinout.hpp" #include <INA219_WE.h> #include "Wire.h" diff --git a/client/client/lib/ina219/pinout.hpp b/client/client/lib/ina219/pinout.hpp deleted file mode 100644 index 9d336e45e266d1952527918387a8d36679bc3ae4..0000000000000000000000000000000000000000 --- a/client/client/lib/ina219/pinout.hpp +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _FORTE_PINOUT -#define _FORTE_PINOUT - -// Pins for I2C -#define I2C_SDA 5 -#define I2C_SCL 4 - -#endif \ No newline at end of file diff --git a/client/client/lib/scd30/forte_sensor.hpp b/client/client/lib/scd30/forte_sensor.hpp deleted file mode 100644 index 8e030b9403653c40c5eecfca88edab96e805631d..0000000000000000000000000000000000000000 --- a/client/client/lib/scd30/forte_sensor.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef _FORTE_SENSOR -#define _FORTE_SENSOR - -class Forte_Sensor { - public: - virtual void* read_data() = 0; - virtual void setup() = 0; - - private: - -}; - -#endif \ No newline at end of file diff --git a/client/client/lib/scd30/pinout.hpp b/client/client/lib/scd30/pinout.hpp deleted file mode 100644 index 9a9ad92494f6fda373d184ef94f91d17934e01ba..0000000000000000000000000000000000000000 --- a/client/client/lib/scd30/pinout.hpp +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _FORTE_PINOUT -#define _FORTE_PINOUT - -// Pins for I2C -#define I2C_SDA 18 -#define I2C_SCL 19 - -#endif \ No newline at end of file diff --git a/client/client/lib/scd30/scd30.hpp b/client/client/lib/scd30/scd30.hpp index d630c0fa808fcdd7ad59dd13eac1e110c6346628..82a10cd23df90187cd025251f0d2a73279b8d8c8 100644 --- a/client/client/lib/scd30/scd30.hpp +++ b/client/client/lib/scd30/scd30.hpp @@ -1,9 +1,9 @@ #ifndef _SCD30 #define _SCD30 -#include <forte_sensor.hpp> +#include "forte_sensor.hpp" +#include "pinout.hpp" #include <Wire.h> -#include <pinout.hpp> #include <SparkFun_SCD30_Arduino_Library.h> struct out_data_scd30 diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/.piopm b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/.piopm new file mode 100644 index 0000000000000000000000000000000000000000..fa0c3def8d201248c8d1e54e81f1ded4a3be04f2 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/.piopm @@ -0,0 +1 @@ +{"type": "library", "name": "ESP32Time", "version": "2.0.0", "spec": {"owner": "fbiego", "id": 11703, "name": "ESP32Time", "requirements": null, "uri": null}} \ No newline at end of file diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/ESP32Time.cpp b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/ESP32Time.cpp new file mode 100644 index 0000000000000000000000000000000000000000..a4f05cb0693c133283fcd84ae7e3e1d5e82fa97a --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/ESP32Time.cpp @@ -0,0 +1,361 @@ +/* + MIT License + + Copyright (c) 2021 Felix Biego + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +*/ + +#include "ESP32Time.h" +#include "time.h" +#include <sys/time.h> + +/*! + @brief Constructor for ESP32Time +*/ +ESP32Time::ESP32Time(){} + +/*! + @brief Constructor for ESP32Time + @param offest + gmt offset in seconds +*/ +ESP32Time::ESP32Time(unsigned long offset){ + this->offset = offset; +} + +/*! + @brief set the internal RTC time + @param sc + second (0-59) + @param mn + minute (0-59) + @param hr + hour of day (0-23) + @param dy + day of month (1-31) + @param mt + month (1-12) + @param yr + year ie 2021 + @param ms + microseconds (optional) +*/ +void ESP32Time::setTime(int sc, int mn, int hr, int dy, int mt, int yr, int ms) { + // seconds, minute, hour, day, month, year $ microseconds(optional) + // ie setTime(20, 34, 8, 1, 4, 2021) = 8:34:20 1/4/2021 + struct tm t = {0}; // Initalize to all 0's + t.tm_year = yr - 1900; // This is year-1900, so 121 = 2021 + t.tm_mon = mt - 1; + t.tm_mday = dy; + t.tm_hour = hr; + t.tm_min = mn; + t.tm_sec = sc; + time_t timeSinceEpoch = mktime(&t); + setTime(timeSinceEpoch, ms); +} + +/*! + @brief set time from struct + @param tm + time struct +*/ +void ESP32Time::setTimeStruct(tm t) { + time_t timeSinceEpoch = mktime(&t); + setTime(timeSinceEpoch, 0); +} + +/*! + @brief set the internal RTC time + @param epoch + epoch time in seconds + @param ms + microseconds (optional) +*/ +void ESP32Time::setTime(unsigned long epoch, int ms) { + struct timeval tv; + if (epoch > 2082758399){ + this->overflow = true; + tv.tv_sec = epoch - 2082758399; // epoch time (seconds) + } else { + tv.tv_sec = epoch; // epoch time (seconds) + } + tv.tv_usec = ms; // microseconds + settimeofday(&tv, NULL); +} + +/*! + @brief get the internal RTC time as a tm struct +*/ +tm ESP32Time::getTimeStruct(){ + struct tm timeinfo; + time_t now; + time(&now); + localtime_r(&now, &timeinfo); + time_t tt = mktime (&timeinfo); + + if (this->overflow){ + tt += 63071999; + } + tt += offset; + struct tm * tn = localtime(&tt); + if (this->overflow){ + tn->tm_year += 64; + } + return *tn; +} + +/*! + @brief get the time and date as an Arduino String object + @param mode + true = Long date format + false = Short date format +*/ +String ESP32Time::getDateTime(bool mode){ + struct tm timeinfo = getTimeStruct(); + char s[51]; + if (mode) + { + strftime(s, 50, "%A, %B %d %Y %H:%M:%S", &timeinfo); + } + else + { + strftime(s, 50, "%a, %b %d %Y %H:%M:%S", &timeinfo); + } + return String(s); +} + +/*! + @brief get the time and date as an Arduino String object + @param mode + true = Long date format + false = Short date format +*/ +String ESP32Time::getTimeDate(bool mode){ + struct tm timeinfo = getTimeStruct(); + char s[51]; + if (mode) + { + strftime(s, 50, "%H:%M:%S %A, %B %d %Y", &timeinfo); + } + else + { + strftime(s, 50, "%H:%M:%S %a, %b %d %Y", &timeinfo); + } + return String(s); +} + +/*! + @brief get the time as an Arduino String object +*/ +String ESP32Time::getTime(){ + struct tm timeinfo = getTimeStruct(); + char s[51]; + strftime(s, 50, "%H:%M:%S", &timeinfo); + return String(s); +} + +/*! + @brief get the time as an Arduino String object with the specified format + @param format + time format + http://www.cplusplus.com/reference/ctime/strftime/ +*/ +String ESP32Time::getTime(String format){ + struct tm timeinfo = getTimeStruct(); + char s[128]; + char c[128]; + format.toCharArray(c, 127); + strftime(s, 127, c, &timeinfo); + return String(s); +} + +/*! + @brief get the date as an Arduino String object + @param mode + true = Long date format + false = Short date format +*/ +String ESP32Time::getDate(bool mode){ + struct tm timeinfo = getTimeStruct(); + char s[51]; + if (mode) + { + strftime(s, 50, "%A, %B %d %Y", &timeinfo); + } + else + { + strftime(s, 50, "%a, %b %d %Y", &timeinfo); + } + return String(s); +} + +/*! + @brief get the current milliseconds as unsigned long +*/ +unsigned long ESP32Time::getMillis(){ + struct timeval tv; + gettimeofday(&tv, NULL); + return tv.tv_usec/1000; +} + +/*! + @brief get the current microseconds as unsigned long +*/ +unsigned long ESP32Time::getMicros(){ + struct timeval tv; + gettimeofday(&tv, NULL); + return tv.tv_usec; +} + +/*! + @brief get the current epoch seconds as unsigned long +*/ +unsigned long ESP32Time::getEpoch(){ + struct tm timeinfo = getTimeStruct(); + return mktime(&timeinfo); +} + +/*! + @brief get the current epoch seconds as unsigned long from the rtc without offset +*/ +unsigned long ESP32Time::getLocalEpoch(){ + struct timeval tv; + gettimeofday(&tv, NULL); + unsigned long epoch = tv.tv_sec; + if (this->overflow){ + epoch += 63071999 + 2019686400; + } + return epoch; +} + +/*! + @brief get the current seconds as int +*/ +int ESP32Time::getSecond(){ + struct tm timeinfo = getTimeStruct(); + return timeinfo.tm_sec; +} + +/*! + @brief get the current minutes as int +*/ +int ESP32Time::getMinute(){ + struct tm timeinfo = getTimeStruct(); + return timeinfo.tm_min; +} + +/*! + @brief get the current hour as int + @param mode + true = 24 hour mode (0-23) + false = 12 hour mode (0-12) +*/ +int ESP32Time::getHour(bool mode){ + struct tm timeinfo = getTimeStruct(); + if (mode) + { + return timeinfo.tm_hour; + } + else + { + int hour = timeinfo.tm_hour; + if (hour > 12) + { + return timeinfo.tm_hour-12; + } + else + { + return timeinfo.tm_hour; + } + + } +} + +/*! + @brief return current hour am or pm + @param lowercase + true = lowercase + false = uppercase +*/ +String ESP32Time::getAmPm(bool lowercase){ + struct tm timeinfo = getTimeStruct(); + if (timeinfo.tm_hour >= 12) + { + if (lowercase) + { + return "pm"; + } + else + { + return "PM"; + } + } + else + { + if (lowercase) + { + return "am"; + } + else + { + return "AM"; + } + } +} + +/*! + @brief get the current day as int (1-31) +*/ +int ESP32Time::getDay(){ + struct tm timeinfo = getTimeStruct(); + return timeinfo.tm_mday; +} + +/*! + @brief get the current day of week as int (0-6) +*/ +int ESP32Time::getDayofWeek(){ + struct tm timeinfo = getTimeStruct(); + return timeinfo.tm_wday; +} + +/*! + @brief get the current day of year as int (0-365) +*/ +int ESP32Time::getDayofYear(){ + struct tm timeinfo = getTimeStruct(); + return timeinfo.tm_yday; +} + +/*! + @brief get the current month as int (0-11) +*/ +int ESP32Time::getMonth(){ + struct tm timeinfo = getTimeStruct(); + return timeinfo.tm_mon; +} + +/*! + @brief get the current year as int +*/ +int ESP32Time::getYear(){ + struct tm timeinfo = getTimeStruct(); + return timeinfo.tm_year+1900; +} diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/ESP32Time.h b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/ESP32Time.h new file mode 100644 index 0000000000000000000000000000000000000000..43b46b13e876fdc671ea0013079a208717031dd5 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/ESP32Time.h @@ -0,0 +1,69 @@ +/* + MIT License + + Copyright (c) 2021 Felix Biego + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +*/ + +#ifndef ESP32TIME_H +#define ESP32TIME_H + +#include <Arduino.h> + +class ESP32Time { + + public: + ESP32Time(); + ESP32Time(unsigned long offset); + void setTime(unsigned long epoch = 1609459200, int ms = 0); // default (1609459200) = 1st Jan 2021 + void setTime(int sc, int mn, int hr, int dy, int mt, int yr, int ms = 0); + void setTimeStruct(tm t); + tm getTimeStruct(); + String getTime(String format); + + String getTime(); + String getDateTime(bool mode = false); + String getTimeDate(bool mode = false); + String getDate(bool mode = false); + String getAmPm(bool lowercase = false); + + unsigned long getEpoch(); + unsigned long getMillis(); + unsigned long getMicros(); + int getSecond(); + int getMinute(); + int getHour(bool mode = false); + int getDay(); + int getDayofWeek(); + int getDayofYear(); + int getMonth(); + int getYear(); + + unsigned long offset; + unsigned long getLocalEpoch(); + + private: + bool overflow; + + +}; + + +#endif diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/LICENSE b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d674f820ba911ff42e275ae451bcbae30f78d185 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Felix Biego + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/README.md b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/README.md new file mode 100644 index 0000000000000000000000000000000000000000..2e6f19c408784033be9ec87ebeec994b45857f2a --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/README.md @@ -0,0 +1,41 @@ +# ESP32Time +An Arduino library for setting and retrieving internal RTC time on ESP32 boards + +[](https://www.arduinolibraries.info/libraries/esp32-time) + +## Functions + +``` +ESP32Time rtc(offset); // create an instance with a specifed offset in seconds +rtc.offset; // get or modify the current offset +setTime(30, 24, 15, 17, 1, 2021); // 17th Jan 2021 15:24:30 +setTime(1609459200); // 1st Jan 2021 00:00:00 +setTimeStruct(time); // set with time struct + +getTime() // (String) 15:24:38 +getDate() // (String) Sun, Jan 17 2021 +getDate(true) // (String) Sunday, January 17 2021 +getDateTime() // (String) Sun, Jan 17 2021 15:24:38 +getDateTime(true) // (String) Sunday, January 17 2021 15:24:38 +getTimeDate() // (String) 15:24:38 Sun, Jan 17 2021 +getTimeDate(true) // (String) 15:24:38 Sunday, January 17 2021 + +getMicros() // (unsigned long) 723546 +getMillis() // (unsigned long) 723 +getEpoch() // (unsigned long) 1609459200 +getLocalEpoch() // (unsigned long) 1609459200 // local epoch without offset +getSecond() // (int) 38 (0-59) +getMinute() // (int) 24 (0-59) +getHour() // (int) 3 (0-12) +getHour(true) // (int) 15 (0-23) +getAmPm() // (String) pm +getAmPm(false) // (String) PM +getDay() // (int) 17 (1-31) +getDayofWeek() // (int) 0 (0-6) +getDayofYear() // (int) 16 (0-365) +getMonth() // (int) 0 (0-11) +getYear() // (int) 2021 + +getTime("%A, %B %d %Y %H:%M:%S") // (String) returns time with specified format +``` +[`Formatting options`](http://www.cplusplus.com/reference/ctime/strftime/) diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time/esp32_time.ino b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time/esp32_time.ino new file mode 100644 index 0000000000000000000000000000000000000000..029b72e3584af552ba656acbc69a09808d72b2a9 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time/esp32_time.ino @@ -0,0 +1,77 @@ +/* + MIT License + + Copyright (c) 2021 Felix Biego + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +*/ + +#include <ESP32Time.h> + +//ESP32Time rtc; +ESP32Time rtc(3600); // offset in seconds GMT+1 + +void setup() { + Serial.begin(115200); + rtc.setTime(30, 24, 15, 17, 1, 2042); // 17th Jan 2021 15:24:30 + //rtc.setTime(1609459200); // 1st Jan 2021 00:00:00 + //rtc.offset = 7200; // change offset value + +/*---------set with NTP---------------*/ +// configTime(gmtOffset_sec, daylightOffset_sec, ntpServer); +// struct tm timeinfo; +// if (getLocalTime(&timeinfo)){ +// rtc.setTimeStruct(timeinfo); +// } +} + +void loop() { +// Serial.println(rtc.getTime()); // (String) 15:24:38 +// Serial.println(rtc.getDate()); // (String) Sun, Jan 17 2021 +// Serial.println(rtc.getDate(true)); // (String) Sunday, January 17 2021 +// Serial.println(rtc.getDateTime()); // (String) Sun, Jan 17 2021 15:24:38 +// Serial.println(rtc.getDateTime(true)); // (String) Sunday, January 17 2021 15:24:38 +// Serial.println(rtc.getTimeDate()); // (String) 15:24:38 Sun, Jan 17 2021 +// Serial.println(rtc.getTimeDate(true)); // (String) 15:24:38 Sunday, January 17 2021 +// +// Serial.println(rtc.getMicros()); // (long) 723546 +// Serial.println(rtc.getMillis()); // (long) 723 +// Serial.println(rtc.getEpoch()); // (long) 1609459200 +// Serial.println(rtc.getSecond()); // (int) 38 (0-59) +// Serial.println(rtc.getMinute()); // (int) 24 (0-59) +// Serial.println(rtc.getHour()); // (int) 3 (0-12) +// Serial.println(rtc.getHour(true)); // (int) 15 (0-23) +// Serial.println(rtc.getAmPm()); // (String) pm +// Serial.println(rtc.getAmPm(true)); // (String) PM +// Serial.println(rtc.getDay()); // (int) 17 (1-31) +// Serial.println(rtc.getDayofWeek()); // (int) 0 (0-6) +// Serial.println(rtc.getDayofYear()); // (int) 16 (0-365) +// Serial.println(rtc.getMonth()); // (int) 0 (0-11) +// Serial.println(rtc.getYear()); // (int) 2021 + +// Serial.println(rtc.getLocalEpoch()); // (long) 1609459200 epoch without offset + Serial.println(rtc.getTime("%A, %B %d %Y %H:%M:%S")); // (String) returns time with specified format + // formating options http://www.cplusplus.com/reference/ctime/strftime/ + + + struct tm timeinfo = rtc.getTimeStruct(); + //Serial.println(&timeinfo, "%A, %B %d %Y %H:%M:%S"); // (tm struct) Sunday, January 17 2021 07:24:38 + + delay(1000); +} diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time_multiple/esp32_time_multiple.ino b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time_multiple/esp32_time_multiple.ino new file mode 100644 index 0000000000000000000000000000000000000000..97cdc25a18525490767aded07a14b4a1ac900926 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time_multiple/esp32_time_multiple.ino @@ -0,0 +1,77 @@ +/* + MIT License + + Copyright (c) 2021 Felix Biego + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +*/ + +#include <ESP32Time.h> + +ESP32Time rtc; +ESP32Time rtc1(-3600); // offset GMT-1 +ESP32Time rtc2(7200); // offset GMT+2 + +void setup() { + Serial.begin(115200); + rtc.setTime(30, 24, 15, 17, 1, 2021); // 17th Jan 2021 15:24:30 + //rtc1.setTime(1609459200); // 1st Jan 2021 00:00:00 + // time can be set on one instance + // no need for rtc1.setTime() or rtc2.setTime() + + +} + +void loop() { +// Serial.println(rtc.getTime()); // (String) 15:24:38 +// Serial.println(rtc.getDate()); // (String) Sun, Jan 17 2021 +// Serial.println(rtc.getDate(true)); // (String) Sunday, January 17 2021 +// Serial.println(rtc.getDateTime()); // (String) Sun, Jan 17 2021 15:24:38 +// Serial.println(rtc.getDateTime(true)); // (String) Sunday, January 17 2021 15:24:38 +// Serial.println(rtc.getTimeDate()); // (String) 15:24:38 Sun, Jan 17 2021 +// Serial.println(rtc.getTimeDate(true)); // (String) 15:24:38 Sunday, January 17 2021 +// +// Serial.println(rtc.getMicros()); // (unsigned long) 723546 +// Serial.println(rtc.getMillis()); // (unsigned long) 723 +// Serial.println(rtc.getEpoch()); // (unsigned long) 1609459200 +// Serial.println(rtc.getSecond()); // (int) 38 (0-59) +// Serial.println(rtc.getMinute()); // (int) 24 (0-59) +// Serial.println(rtc.getHour()); // (int) 3 (0-12) +// Serial.println(rtc.getHour(true)); // (int) 15 (0-23) +// Serial.println(rtc.getAmPm()); // (String) pm +// Serial.println(rtc.getAmPm(true)); // (String) PM +// Serial.println(rtc.getDay()); // (int) 17 (1-31) +// Serial.println(rtc.getDayofWeek()); // (int) 0 (0-6) +// Serial.println(rtc.getDayofYear()); // (int) 16 (0-365) +// Serial.println(rtc.getMonth()); // (int) 0 (0-11) +// Serial.println(rtc.getYear()); // (int) 2021 + + Serial.println(rtc.getTime("RTC0: %A, %B %d %Y %H:%M:%S")); // (String) returns time with specified format + Serial.println(rtc1.getTime("RTC1: %A, %B %d %Y %H:%M:%S")); // (String) returns time with specified format + Serial.println(rtc2.getTime("RTC2: %A, %B %d %Y %H:%M:%S")); // (String) returns time with specified format + + // formating options http://www.cplusplus.com/reference/ctime/strftime/ + + Serial.println(rtc.getEpoch()); // (unsigned long) + Serial.println(rtc1.getEpoch()); // (unsigned long) + Serial.println(rtc2.getEpoch()); // (unsigned long) + + Serial.println(rtc.getLocalEpoch()); // (unsigned long) epoch without offset, same for all instances + delay(1000); +} diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time_sleep/esp32_time_sleep.ino b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time_sleep/esp32_time_sleep.ino new file mode 100644 index 0000000000000000000000000000000000000000..805d7d6573b10b88292e0a57d5f179abeac0dde5 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/examples/esp32_time_sleep/esp32_time_sleep.ino @@ -0,0 +1,70 @@ +/* + MIT License + + Copyright (c) 2021 Felix Biego + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +*/ + +#include <ESP32Time.h> + +#define uS_TO_S_FACTOR 1000000ULL /* Conversion factor for micro seconds to seconds */ +#define TIME_TO_SLEEP 5 /* Time ESP32 will go to sleep (in seconds) */ + +ESP32Time rtc; + + +void wakeup_reason() { + esp_sleep_wakeup_cause_t wakeup_reason; + + wakeup_reason = esp_sleep_get_wakeup_cause(); + switch (wakeup_reason) + { + case ESP_SLEEP_WAKEUP_EXT0 : Serial.println("Wakeup caused by external signal using RTC_IO"); break; + case ESP_SLEEP_WAKEUP_EXT1 : Serial.println("Wakeup caused by external signal using RTC_CNTL"); break; + case ESP_SLEEP_WAKEUP_TIMER : Serial.println("Wakeup caused by timer"); break; + case ESP_SLEEP_WAKEUP_TOUCHPAD : Serial.println("Wakeup caused by touchpad"); break; + case ESP_SLEEP_WAKEUP_ULP : Serial.println("Wakeup caused by ULP program"); break; + default : + Serial.printf("Wakeup was not caused by deep sleep: %d\n", wakeup_reason); + rtc.setTime(30, 24, 15, 17, 1, 2021); // 17th Jan 2021 15:24:30 + //rtc.setTime(1609459200); // 1st Jan 2021 00:00:00 + //rtc.offset = 7200; // change offset value + + break; + } +} + +void setup() { + Serial.begin(115200); + + wakeup_reason(); + + Serial.println(rtc.getTime("%A, %B %d %Y %H:%M:%S")); // (String) returns time with specified format + + esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR); + + Serial.println("Going to sleep now"); + Serial.flush(); + esp_deep_sleep_start(); +} + +void loop() { + +} diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/keywords.txt b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/keywords.txt new file mode 100644 index 0000000000000000000000000000000000000000..9914509471e20064a4a2e3cba54b7e64eb39f6bc --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/keywords.txt @@ -0,0 +1,22 @@ +ESP32Time KEYWORD1 + +setTime KEYWORD2 +getTime KEYWORD2 +setTimeStruct KEYWORD2 +getTimeStruct KEYWORD2 +getDateTime KEYWORD2 +getTimeDate KEYWORD2 +getDate KEYWORD2 +getAmPm KEYWORD2 +getMillis KEYWORD2 +getMicros KEYWORD2 +getEpoch KEYWORD2 +getLocalEpoch KEYWORD2 +getSecond KEYWORD2 +getMinute KEYWORD2 +getHour KEYWORD2 +getDay KEYWORD2 +getDayofWeek KEYWORD2 +getDayofYear KEYWORD2 +getMonth KEYWORD2 +getYear KEYWORD2 diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/library.json b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/library.json new file mode 100644 index 0000000000000000000000000000000000000000..185fee7db109f4a57fb944c5ff4ab251dd9841cf --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/library.json @@ -0,0 +1,21 @@ +{ + "name": "ESP32Time", + "version": "2.0.0", + "keywords": "Arduino, ESP32, Time, Internal RTC", + "description": "An Arduino library for setting and retrieving internal RTC time on ESP32 boards", + "repository": + { + "type": "git", + "url": "https://github.com/fbiego/ESP32Time" + }, + "authors": + [ + { + "name": "fbiego", + "email": "fbiego.fb@gmail.com", + "maintainer": true + } + ], + "frameworks": "arduino", + "platforms": "espressif8266, espressif32" +} diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/library.properties b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/library.properties new file mode 100644 index 0000000000000000000000000000000000000000..5926944cde71590cf63f5a25dfd7ff01464aec67 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time/library.properties @@ -0,0 +1,11 @@ +name=ESP32Time +version=2.0.0 +author=fbiego +maintainer=fbiego +sentence=Set and retrieve internal RTC time on ESP32 boards. +paragraph=No need for external RTC module or NTP time synchronization. +category=Timing +url=https://github.com/fbiego/ESP32Time +architectures=* +includes=ESP32Time.h + diff --git a/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/integrity.dat b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/integrity.dat new file mode 100644 index 0000000000000000000000000000000000000000..fd39b3cd6cfc11eaf2d034cbf8ceef283c756943 --- /dev/null +++ b/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/integrity.dat @@ -0,0 +1 @@ +fbiego/ESP32Time@^2.0.0 \ No newline at end of file diff --git a/host/esp32/.vscode/c_cpp_properties.json b/host/esp32/.vscode/c_cpp_properties.json new file mode 100644 index 0000000000000000000000000000000000000000..b7ff8be96aaa7a1d7ea38e81f7c1048e94a94f05 --- /dev/null +++ b/host/esp32/.vscode/c_cpp_properties.json @@ -0,0 +1,459 @@ +// +// !!! WARNING !!! AUTO-GENERATED FILE! +// PLEASE DO NOT MODIFY IT AND USE "platformio.ini": +// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags +// +{ + "configurations": [ + { + "name": "PlatformIO", + "includePath": [ + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/include", + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/src", + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/lib/espnow/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/newlib/platform_include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions/freertos", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/port/riscv/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3/private_include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/heap/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/log/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps/sntp", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/lwip/src/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include/arch", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/platform_port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/soc", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/include/riscv", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/public_compat", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/riscv/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_pm/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ringbuf/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/vfs/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_wifi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_event/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_netif/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_eth/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcpip_adapter/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ipc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_trace/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_timer/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/mbedtls/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/esp_crt_bundle/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_update/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spi_flash/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bootloader_support/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nvs_flash/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/pthread/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/riscv", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include/port/riscv", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/esp_supplicant/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ieee802154/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/console", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/asio/asio/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/osi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/include/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/api/include/api", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/blufi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cbor/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/unity/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cmock/CMock/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/libcoap/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/nghttp2/lib/includes", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls/esp-tls-crypto", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_adc_cal/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hid/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcp_transport/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_client/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_server/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_ota/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_server/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/interface", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protobuf-c/protobuf-c", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/common", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/security", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/transports", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mdns/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_local_ctrl/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/sdmmc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_serial_slave_link/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_websocket_client/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/expat/expat/lib", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wear_levelling/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/diskio", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/vfs", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freemodbus/common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/jsmn/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json/cJSON", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/libsodium/src/libsodium/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/port_include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mqtt/esp-mqtt/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/openssl/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spiffs/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wifi_provisioning/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/button/button/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/rmaker_common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_generator/upstream", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_schedule/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rainmaker/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/qrcode/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ws2812_led", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/dotprod/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/support/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/hann/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/blackman/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/blackman_harris/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/blackman_nuttall/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/nuttall/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/flat_top/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/iir/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/fir/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/add/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/sub/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/mul/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/addc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/mulc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/sqrt/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/matrix/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/fft/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/dct/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/conv/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/kalman/ekf/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/kalman/ekf_imu13states/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_littlefs/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_littlefs/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/tool", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/typedef", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/image", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/math", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/nn", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/layer", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/detect", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/model_zoo", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fb_gfx/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/qspi_qspi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/cores/esp32", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/variants/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdateServer/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/I2S/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/LittleFS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/RainMaker/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SD/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/USB/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WiFiProv/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src", + "" + ], + "browse": { + "limitSymbolsToIncludedHeaders": true, + "path": [ + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/include", + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/src", + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/lib/espnow/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", + "/home/moritz/Documents/TEAM/sensor-system/host/esp32/.pio/libdeps/esp32-c3-devkitm-1/ESP32Time", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/newlib/platform_include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions/freertos", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/port/riscv/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3/private_include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/heap/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/log/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps/sntp", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/lwip/src/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include/arch", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/platform_port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/soc", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/include/riscv", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/public_compat", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/riscv/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_pm/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ringbuf/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/vfs/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_wifi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_event/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_netif/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_eth/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcpip_adapter/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ipc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_trace/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_timer/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/mbedtls/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/esp_crt_bundle/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_update/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spi_flash/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bootloader_support/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nvs_flash/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/pthread/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/riscv", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include/port/riscv", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/esp_supplicant/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ieee802154/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/console", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/asio/asio/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/osi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/include/esp32c3/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/api/include/api", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/blufi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cbor/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/unity/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cmock/CMock/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/libcoap/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/nghttp2/lib/includes", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls/esp-tls-crypto", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_adc_cal/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hid/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcp_transport/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_client/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_server/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_ota/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_server/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/interface", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protobuf-c/protobuf-c", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/common", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/security", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/transports", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mdns/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_local_ctrl/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/sdmmc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_serial_slave_link/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_websocket_client/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/expat/expat/lib", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/port/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wear_levelling/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/diskio", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/vfs", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freemodbus/common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/jsmn/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json/cJSON", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/libsodium/src/libsodium/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/port_include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mqtt/esp-mqtt/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/openssl/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spiffs/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wifi_provisioning/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/button/button/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/rmaker_common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_generator/upstream", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_schedule/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rainmaker/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/qrcode/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ws2812_led", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/dotprod/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/support/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/hann/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/blackman/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/blackman_harris/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/blackman_nuttall/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/nuttall/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/windows/flat_top/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/iir/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/fir/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/add/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/sub/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/mul/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/addc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/mulc/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/math/sqrt/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/matrix/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/fft/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/dct/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/conv/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/common/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/kalman/ekf/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dsp/modules/kalman/ekf_imu13states/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_littlefs/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_littlefs/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/tool", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/typedef", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/image", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/math", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/nn", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/layer", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/detect", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/model_zoo", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fb_gfx/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/qspi_qspi/include", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/cores/esp32", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/variants/esp32c3", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdateServer/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/I2S/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/LittleFS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/RainMaker/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SD/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/USB/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/WiFiProv/src", + "/home/moritz/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src", + "" + ] + }, + "defines": [ + "PLATFORMIO=60103", + "ARDUINO_ESP32C3_DEV", + "HAVE_CONFIG_H", + "MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"", + "UNITY_INCLUDE_CONFIG_H", + "WITH_POSIX", + "_GNU_SOURCE", + "IDF_VER=\"v4.4.1-1-gb8050b365e\"", + "ESP_PLATFORM", + "_POSIX_READER_WRITER_LOCKS", + "ARDUINO_ARCH_ESP32", + "ESP32", + "F_CPU=160000000L", + "ARDUINO=10812", + "ARDUINO_VARIANT=\"esp32c3\"", + "ARDUINO_BOARD=\"Espressif ESP32-C3-DevKitM-1\"", + "ARDUINO_PARTITION_default", + "" + ], + "cStandard": "c99", + "cppStandard": "c++11", + "compilerPath": "/home/moritz/.platformio/packages/toolchain-riscv32-esp/bin/riscv32-esp-elf-gcc", + "compilerArgs": [ + "-march=rv32imc", + "" + ] + } + ], + "version": 4 +} diff --git a/host/esp32/.vscode/launch.json b/host/esp32/.vscode/launch.json new file mode 100644 index 0000000000000000000000000000000000000000..98fe2061cdb4d3d96d5e78f2ebba9805f24aa068 --- /dev/null +++ b/host/esp32/.vscode/launch.json @@ -0,0 +1,44 @@ +// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY +// +// PIO Unified Debugger +// +// Documentation: https://docs.platformio.org/page/plus/debugging.html +// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html + +{ + "version": "0.2.0", + "configurations": [ + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug", + "executable": "/home/moritz/Documents/TEAM/sensor-system/host/esp32/.pio/build/esp32-c3-devkitm-1/firmware.elf", + "projectEnvName": "esp32-c3-devkitm-1", + "toolchainBinDir": "/home/moritz/.platformio/packages/toolchain-riscv32-esp/bin", + "internalConsoleOptions": "openOnSessionStart", + "preLaunchTask": { + "type": "PlatformIO", + "task": "Pre-Debug" + } + }, + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug (skip Pre-Debug)", + "executable": "/home/moritz/Documents/TEAM/sensor-system/host/esp32/.pio/build/esp32-c3-devkitm-1/firmware.elf", + "projectEnvName": "esp32-c3-devkitm-1", + "toolchainBinDir": "/home/moritz/.platformio/packages/toolchain-riscv32-esp/bin", + "internalConsoleOptions": "openOnSessionStart" + }, + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug (without uploading)", + "executable": "/home/moritz/Documents/TEAM/sensor-system/host/esp32/.pio/build/esp32-c3-devkitm-1/firmware.elf", + "projectEnvName": "esp32-c3-devkitm-1", + "toolchainBinDir": "/home/moritz/.platformio/packages/toolchain-riscv32-esp/bin", + "internalConsoleOptions": "openOnSessionStart", + "loadMode": "manual" + } + ] +}