ESPHome  2022.5.1
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
 
 esphome::ota
 

Enumerations

enum  esphome::ota::OTAResponseTypes {
  esphome::ota::OTA_RESPONSE_OK = 0, esphome::ota::OTA_RESPONSE_REQUEST_AUTH = 1, esphome::ota::OTA_RESPONSE_HEADER_OK = 64, esphome::ota::OTA_RESPONSE_AUTH_OK = 65,
  esphome::ota::OTA_RESPONSE_UPDATE_PREPARE_OK = 66, esphome::ota::OTA_RESPONSE_BIN_MD5_OK = 67, esphome::ota::OTA_RESPONSE_RECEIVE_OK = 68, esphome::ota::OTA_RESPONSE_UPDATE_END_OK = 69,
  esphome::ota::OTA_RESPONSE_SUPPORTS_COMPRESSION = 70, esphome::ota::OTA_RESPONSE_ERROR_MAGIC = 128, esphome::ota::OTA_RESPONSE_ERROR_UPDATE_PREPARE = 129, esphome::ota::OTA_RESPONSE_ERROR_AUTH_INVALID = 130,
  esphome::ota::OTA_RESPONSE_ERROR_WRITING_FLASH = 131, esphome::ota::OTA_RESPONSE_ERROR_UPDATE_END = 132, esphome::ota::OTA_RESPONSE_ERROR_INVALID_BOOTSTRAPPING = 133, esphome::ota::OTA_RESPONSE_ERROR_WRONG_CURRENT_FLASH_CONFIG = 134,
  esphome::ota::OTA_RESPONSE_ERROR_WRONG_NEW_FLASH_CONFIG = 135, esphome::ota::OTA_RESPONSE_ERROR_ESP8266_NOT_ENOUGH_SPACE = 136, esphome::ota::OTA_RESPONSE_ERROR_ESP32_NOT_ENOUGH_SPACE = 137, esphome::ota::OTA_RESPONSE_ERROR_NO_UPDATE_PARTITION = 138,
  esphome::ota::OTA_RESPONSE_ERROR_UNKNOWN = 255
}
 
enum  esphome::ota::OTAState { esphome::ota::OTA_COMPLETED = 0, esphome::ota::OTA_STARTED, esphome::ota::OTA_IN_PROGRESS, esphome::ota::OTA_ERROR }