Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lib ver to the callhome header #148

Merged
merged 3 commits into from
May 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,11 @@

#define FNGPRINT 0
#define CERTIFICATE 1
#define IASLIB "2.1.0-RC3"

// used for storing the config struct to eeprom
#define MAGICBYTES "CFG"
#define MAGICEEP "%"
#define MAGICBYTES "CFG"
#define MAGICEEP "%"

#if WIFI_DHCP_ONLY == false && WIFI_MULTI == true
#undef WIFI_MULTI
Expand Down
1 change: 1 addition & 0 deletions src/espressif/esp32/CallServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ bool CallServer::get(const char* url, String args) {
F("\r\nx-ESP-FLASHCHIP-ID: ") + ESP_GETFLASHCHIPID +
F("\r\nx-ESP-CHIP-ID: ") + ESP_GETCHIPID +
F("\r\nx-ESP-CORE-VERSION: ") + ESP.getSdkVersion() +
F("\r\nx-ESP_IASLIB: ") + IASLIB +

F("\r\nx-ESP-FLASHCHIP-SIZE: ") + ESP.getFlashChipSize() +
F("\r\nx-ESP-VERSION: ") + this->_config->appName + " v" + this->_config->appVersion +
Expand Down
1 change: 1 addition & 0 deletions src/espressif/esp8266/CallServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ bool CallServer::get(const char* url, String args) {
F("\r\nx-ESP-FLASHCHIP-ID: ") + ESP_GETFLASHCHIPID +
F("\r\nx-ESP-CHIP-ID: ") + ESP_GETCHIPID +
F("\r\nx-ESP-CORE-VERSION: ") + ESP.getCoreVersion() +
F("\r\nx-ESP_IASLIB: ") + IASLIB +

F("\r\nx-ESP-FLASHCHIP-SIZE: ") + ESP.getFlashChipSize() +
F("\r\nx-ESP-VERSION: ") + this->_config->appName + " v" + this->_config->appVersion +
Expand Down