ESPHome 2026.1.5
Loading...
Searching...
No Matches
debug_host.cpp
Go to the documentation of this file.
1#include "debug_component.h"
2#ifdef USE_HOST
3#include <climits>
4
5namespace esphome {
6namespace debug {
7
8const char *DebugComponent::get_reset_reason_(std::span<char, RESET_REASON_BUFFER_SIZE> buffer) { return ""; }
9
10const char *DebugComponent::get_wakeup_cause_(std::span<char, RESET_REASON_BUFFER_SIZE> buffer) { return ""; }
11
12uint32_t DebugComponent::get_free_heap_() { return INT_MAX; }
13
14size_t DebugComponent::get_device_info_(std::span<char, DEVICE_INFO_BUFFER_SIZE> buffer, size_t pos) { return pos; }
15
17
18} // namespace debug
19} // namespace esphome
20#endif
size_t get_device_info_(std::span< char, DEVICE_INFO_BUFFER_SIZE > buffer, size_t pos)
const char * get_wakeup_cause_(std::span< char, RESET_REASON_BUFFER_SIZE > buffer)
const char * get_reset_reason_(std::span< char, RESET_REASON_BUFFER_SIZE > buffer)
size_t size_t pos
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7