ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
adafruit_ble
ota
ota_adafruit_ble.h
Go to the documentation of this file.
1
#pragma once
2
#include "
esphome/core/defines.h
"
3
#if defined(USE_ZEPHYR) && defined(USE_NRF52)
4
#include "
esphome/components/ota/ota_backend.h
"
5
6
namespace
esphome::adafruit_ble
{
7
8
// The update itself is served by the Adafruit bootloader; this component only
9
// hosts the BLE trigger service defined in ota_adafruit_ble.cpp.
10
class
OTAComponent
:
public
ota::OTAComponent
{
11
public
:
12
OTAComponent
();
13
void
dump_config
()
override
;
14
// Called from the Bluetooth thread when the trigger is written
15
void
request_dfu_mode
();
16
};
17
18
}
// namespace esphome::adafruit_ble
19
#endif
esphome::adafruit_ble::OTAComponent
Definition
ota_adafruit_ble.h:10
esphome::adafruit_ble::OTAComponent::request_dfu_mode
void request_dfu_mode()
Definition
ota_adafruit_ble.cpp:54
esphome::adafruit_ble::OTAComponent::OTAComponent
OTAComponent()
Definition
ota_adafruit_ble.cpp:52
esphome::adafruit_ble::OTAComponent::dump_config
void dump_config() override
Definition
ota_adafruit_ble.cpp:67
esphome::ota::OTAComponent
Definition
ota_backend.h:157
defines.h
esphome::adafruit_ble
Definition
ota_adafruit_ble.cpp:11
ota_backend.h
Generated by
1.12.0