Go to the source code of this file.
|
namespace | esphome |
| Providing packet encoding functions for exchanging data with a remote host.
|
|
namespace | esphome::ota |
|
|
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_ABORT
,
esphome::ota::OTA_ERROR
} |
|