SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp.h
Go to the documentation of this file.
1#ifndef SENSESP_H
2#define SENSESP_H
3
4#include <ReactESP.h>
5#include <memory>
6
8
9#if ESP8266
10#error \
11 "ESP8266 isn't supported by SensESP version 2. To compile an existing project, add @^1.0.0 to the SensESP depdenency in platformio.ini."
12#endif
13
14#ifndef CORE_DEBUG_LEVEL
15#error \
16 "SensESP v3 requires CORE_DEBUG_LEVEL to be defined. See https:\/\/signalk.org/SensESP/pages/migration/."
17#endif
18
19namespace sensesp {
20
21typedef std::function<void()> void_cb_func;
22
23std::shared_ptr<reactesp::EventLoop> event_loop();
24
25} // namespace sensesp
26
27#endif
std::shared_ptr< reactesp::EventLoop > event_loop()
Definition sensesp.cpp:9
std::function< void()> void_cb_func
Definition sensesp.h:21