ESPHome  2024.2.0
Data Structures | Namespaces | Enumerations
ota_component.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::ota::OTAComponent
 OTAComponent provides a simple way to integrate Over-the-Air updates into your app using ArduinoOTA. More...
 

Namespaces

 esphome
 This is a workaround until we can figure out a way to get the tflite-micro idf component code available in CI.
 
 esphome::ota
 

Enumerations

enum  esphome::ota::OTAResponseTypes {
  esphome::ota::OTA_RESPONSE_OK = 0x00, esphome::ota::OTA_RESPONSE_REQUEST_AUTH = 0x01, esphome::ota::OTA_RESPONSE_HEADER_OK = 0x40, esphome::ota::OTA_RESPONSE_AUTH_OK = 0x41,
  esphome::ota::OTA_RESPONSE_UPDATE_PREPARE_OK = 0x42, esphome::ota::OTA_RESPONSE_BIN_MD5_OK = 0x43, esphome::ota::OTA_RESPONSE_RECEIVE_OK = 0x44, esphome::ota::OTA_RESPONSE_UPDATE_END_OK = 0x45,
  esphome::ota::OTA_RESPONSE_SUPPORTS_COMPRESSION = 0x46, esphome::ota::OTA_RESPONSE_CHUNK_OK = 0x47, esphome::ota::OTA_RESPONSE_ERROR_MAGIC = 0x80, esphome::ota::OTA_RESPONSE_ERROR_UPDATE_PREPARE = 0x81,
  esphome::ota::OTA_RESPONSE_ERROR_AUTH_INVALID = 0x82, esphome::ota::OTA_RESPONSE_ERROR_WRITING_FLASH = 0x83, esphome::ota::OTA_RESPONSE_ERROR_UPDATE_END = 0x84, esphome::ota::OTA_RESPONSE_ERROR_INVALID_BOOTSTRAPPING = 0x85,
  esphome::ota::OTA_RESPONSE_ERROR_WRONG_CURRENT_FLASH_CONFIG = 0x86, esphome::ota::OTA_RESPONSE_ERROR_WRONG_NEW_FLASH_CONFIG = 0x87, esphome::ota::OTA_RESPONSE_ERROR_ESP8266_NOT_ENOUGH_SPACE = 0x88, esphome::ota::OTA_RESPONSE_ERROR_ESP32_NOT_ENOUGH_SPACE = 0x89,
  esphome::ota::OTA_RESPONSE_ERROR_NO_UPDATE_PARTITION = 0x8A, esphome::ota::OTA_RESPONSE_ERROR_MD5_MISMATCH = 0x8B, esphome::ota::OTA_RESPONSE_ERROR_RP2040_NOT_ENOUGH_SPACE = 0x8C, esphome::ota::OTA_RESPONSE_ERROR_UNKNOWN = 0xFF
}
 
enum  esphome::ota::OTAState { esphome::ota::OTA_COMPLETED = 0, esphome::ota::OTA_STARTED, esphome::ota::OTA_IN_PROGRESS, esphome::ota::OTA_ERROR }