b58a3509b8
* Added HTTPUpdate class for downloading sketches from a server * Added HTTPUpdate class for downloading sketches from a server * Added HTTPUpdate to CMakeLists.txt * Change ESP8266 class references to ESP32 for httpUpdate.ino example * Change ESP8266 class references to ESP32 for httpUpdate.ino example. setLedPin() commented out because not all boards support LED_BUITLIN * Added check to handle mixup of old and present api properly * Correct HTTPClient::setTimeout() to convert milliseconds to seconds. Correct WiFiClient::setTimeout() to call Stream::setTimeout() with seconds converted back to milliseconds. Remove inproper checks for _insecure. * Added small comment because it looked like the Travis build did not finish
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
#######################################
|
|
# Syntax Coloring Map For ESP8266httpUpdate
|
|
#######################################
|
|
|
|
#######################################
|
|
# Library (KEYWORD3)
|
|
#######################################
|
|
|
|
ESP8266httpUpdate KEYWORD3 RESERVED_WORD
|
|
|
|
#######################################
|
|
# Datatypes (KEYWORD1)
|
|
#######################################
|
|
|
|
HTTPUpdateResult KEYWORD1 DATA_TYPE
|
|
ESPhttpUpdate KEYWORD1 DATA_TYPE
|
|
|
|
#######################################
|
|
# Methods and Functions (KEYWORD2)
|
|
#######################################
|
|
|
|
rebootOnUpdate KEYWORD2
|
|
update KEYWORD2
|
|
updateSpiffs KEYWORD2
|
|
getLastError KEYWORD2
|
|
getLastErrorString KEYWORD2
|
|
|
|
#######################################
|
|
# Constants (LITERAL1)
|
|
#######################################
|
|
|
|
HTTP_UE_TOO_LESS_SPACE LITERAL1 RESERVED_WORD_2
|
|
HTTP_UE_SERVER_NOT_REPORT_SIZE LITERAL1 RESERVED_WORD_2
|
|
HTTP_UE_SERVER_FILE_NOT_FOUND LITERAL1 RESERVED_WORD_2
|
|
HTTP_UE_SERVER_FORBIDDEN LITERAL1 RESERVED_WORD_2
|
|
HTTP_UE_SERVER_WRONG_HTTP_CODE LITERAL1 RESERVED_WORD_2
|
|
HTTP_UE_SERVER_FAULTY_MD5 LITERAL1 RESERVED_WORD_2
|
|
HTTP_UE_BIN_VERIFY_HEADER_FAILED LITERAL1 RESERVED_WORD_2
|
|
HTTP_UE_BIN_FOR_WRONG_FLASH LITERAL1 RESERVED_WORD_2
|
|
HTTP_UPDATE_FAILED LITERAL1 RESERVED_WORD_2
|
|
HTTP_UPDATE_NO_UPDATES LITERAL1 RESERVED_WORD_2
|
|
HTTP_UPDATE_OK LITERAL1 RESERVED_WORD_2
|