Added HomeSpan Version number
And added DATE/TIME of Compile
This commit is contained in:
parent
dd269ad7b3
commit
59494a129f
|
|
@ -40,9 +40,17 @@ void Span::begin(Category catID, char *displayName, char *hostNameBase, char *mo
|
||||||
Serial.print(resetPin);
|
Serial.print(resetPin);
|
||||||
Serial.print(" to delete all stored WiFi Network and HomeKit Pairing data (factory reset)\n\n");
|
Serial.print(" to delete all stored WiFi Network and HomeKit Pairing data (factory reset)\n\n");
|
||||||
|
|
||||||
Serial.print("ESP-IDF Version: ");
|
Serial.print("HomeSpan Version: ");
|
||||||
|
Serial.print(HOMESPAN_VERSION);
|
||||||
|
Serial.print("\n");
|
||||||
|
Serial.print("ESP-IDF Version: ");
|
||||||
Serial.print(esp_get_idf_version());
|
Serial.print(esp_get_idf_version());
|
||||||
Serial.print("\n");
|
Serial.print("\n");
|
||||||
|
Serial.print("Sketch Compiled: ");
|
||||||
|
Serial.print(__DATE__);
|
||||||
|
Serial.print(" ");
|
||||||
|
Serial.print(__TIME__);
|
||||||
|
Serial.print("\n\n");
|
||||||
|
|
||||||
if(!digitalRead(resetPin)){ // factory reset pin is low
|
if(!digitalRead(resetPin)){ // factory reset pin is low
|
||||||
nvs_flash_erase(); // erase NVS storage
|
nvs_flash_erase(); // erase NVS storage
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,11 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////
|
||||||
|
// HomeSpan Version //
|
||||||
|
|
||||||
|
const char HOMESPAN_VERSION[]="1.0.0";
|
||||||
|
|
||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
// Maximum number of simultaenous IP connections //
|
// Maximum number of simultaenous IP connections //
|
||||||
// HAP requires at least 8 //
|
// HAP requires at least 8 //
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue