Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'uint32_t GetRtcSettingsHash()':
- settings:50: error: 'RtcSettings' was not declared in this scope
- uint8_t *bytes = (uint8_t*)&RtcSettings;
- ^
- settings:52: error: 'RTCMEM' was not declared in this scope
- for (uint16_t i = 0; i < sizeof(RTCMEM); i++) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void RtcSettingsSave()':
- settings:61: error: 'RtcSettings' was not declared in this scope
- RtcSettings.valid = RTC_MEM_VALID;
- ^
- settings:62: error: 'RTCMEM' was not declared in this scope
- ESP.rtcUserMemoryWrite(100, (uint32_t*)&RtcSettings, sizeof(RTCMEM));
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void RtcSettingsLoad()':
- settings:73: error: 'RtcSettings' was not declared in this scope
- ESP.rtcUserMemoryRead(100, (uint32_t*)&RtcSettings, sizeof(RTCMEM));
- ^
- settings:73: error: 'RTCMEM' was not declared in this scope
- ESP.rtcUserMemoryRead(100, (uint32_t*)&RtcSettings, sizeof(RTCMEM));
- ^
- settings:81: error: 'Settings' was not declared in this scope
- RtcSettings.energy_kWhtoday = Settings.energy_kWhtoday;
- ^
- settings:83: error: 'MAX_COUNTERS' was not declared in this scope
- for (byte i = 0; i < MAX_COUNTERS; i++) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'boolean RtcSettingsValid()':
- settings:94: error: 'RtcSettings' was not declared in this scope
- return (RTC_MEM_VALID == RtcSettings.valid);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'uint32_t GetSettingsHash()':
- settings:185: error: 'Settings' was not declared in this scope
- uint8_t *bytes = (uint8_t*)&Settings;
- ^
- settings:187: error: 'SYSCFG' was not declared in this scope
- for (uint16_t i = 0; i < sizeof(SYSCFG); i++) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsSaveAll()':
- settings:195: error: 'Settings' was not declared in this scope
- if (Settings.flag.save_state) {
- ^
- settings:196: error: 'power' was not declared in this scope
- Settings.power = power;
- ^
- settings:200: error: 'FUNC_SAVE_BEFORE_RESTART' was not declared in this scope
- XsnsCall(FUNC_SAVE_BEFORE_RESTART);
- ^
- settings:200: error: 'XsnsCall' was not declared in this scope
- XsnsCall(FUNC_SAVE_BEFORE_RESTART);
- ^
- settings:201: error: 'SettingsSave' was not declared in this scope
- SettingsSave(0);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsSave(byte)':
- settings:226: error: 'stop_flash_rotate' was not declared in this scope
- stop_flash_rotate = 1;
- ^
- settings:231: error: 'stop_flash_rotate' was not declared in this scope
- if (stop_flash_rotate) {
- ^
- settings:239: error: 'Settings' was not declared in this scope
- Settings.save_flag++;
- ^
- settings:242: error: 'SYSCFG' was not declared in this scope
- spi_flash_write(settings_location * SPI_FLASH_SEC_SIZE, (uint32*)&Settings, sizeof(SYSCFG));
- ^
- settings:244: error: 'stop_flash_rotate' was not declared in this scope
- if (!stop_flash_rotate && rotate) {
- ^
- settings:252: error: 'log_data' was not declared in this scope
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_SAVED_TO_FLASH_AT " %X, " D_COUNT " %d, " D_BYTES " %d"),
- ^
- In file included from H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:241:0,
- from sketch\_releasenotes.ino.cpp:1:
- settings:252: error: 'D_LOG_CONFIG' was not declared in this scope
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_SAVED_TO_FLASH_AT " %X, " D_COUNT " %d, " D_BYTES " %d"),
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:252: error: expected ')' before 'D_SAVED_TO_FLASH_AT'
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_SAVED_TO_FLASH_AT " %X, " D_COUNT " %d, " D_BYTES " %d"),
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:254: error: 'LOG_LEVEL_DEBUG' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- settings:254: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsLoad()':
- settings:274: error: 'Settings' was not declared in this scope
- spi_flash_read(settings_location * SPI_FLASH_SEC_SIZE, (uint32*)&Settings, sizeof(SYSCFG));
- ^
- settings:274: error: 'SYSCFG' was not declared in this scope
- spi_flash_read(settings_location * SPI_FLASH_SEC_SIZE, (uint32*)&Settings, sizeof(SYSCFG));
- ^
- settings:286: error: 'log_data' was not declared in this scope
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_LOADED_FROM_FLASH_AT " %X, " D_COUNT " %d"),
- ^
- In file included from H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:241:0,
- from sketch\_releasenotes.ino.cpp:1:
- settings:286: error: 'D_LOG_CONFIG' was not declared in this scope
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_LOADED_FROM_FLASH_AT " %X, " D_COUNT " %d"),
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:286: error: expected ')' before 'D_LOADED_FROM_FLASH_AT'
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_LOADED_FROM_FLASH_AT " %X, " D_COUNT " %d"),
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:287: error: 'Settings' was not declared in this scope
- settings_location, Settings.save_flag);
- ^
- settings:288: error: 'LOG_LEVEL_DEBUG' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- settings:288: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- settings:289: error: 'CFG_HOLDER' was not declared in this scope
- if (Settings.cfg_holder != CFG_HOLDER) {
- ^
- settings:292: error: 'SYSCFG' was not declared in this scope
- spi_flash_read((SETTINGS_LOCATION_3) * SPI_FLASH_SEC_SIZE, (uint32*)&Settings, sizeof(SYSCFG));
- ^
- settings:298: error: 'SettingsDefault' was not declared in this scope
- SettingsDefault();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsErase()':
- settings:313: error: 'LOG_LEVEL_DEBUG_MORE' was not declared in this scope
- boolean _serialoutput = (LOG_LEVEL_DEBUG_MORE <= seriallog_level);
- ^
- settings:313: error: 'seriallog_level' was not declared in this scope
- boolean _serialoutput = (LOG_LEVEL_DEBUG_MORE <= seriallog_level);
- ^
- settings:315: error: 'log_data' was not declared in this scope
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_APPLICATION D_ERASE " %d " D_UNIT_SECTORS), _sectorEnd - _sectorStart);
- ^
- In file included from H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:241:0,
- from sketch\_releasenotes.ino.cpp:1:
- settings:315: error: 'D_LOG_APPLICATION' was not declared in this scope
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_APPLICATION D_ERASE " %d " D_UNIT_SECTORS), _sectorEnd - _sectorStart);
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:315: error: expected ')' before 'D_ERASE'
- snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_APPLICATION D_ERASE " %d " D_UNIT_SECTORS), _sectorEnd - _sectorStart);
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:316: error: 'LOG_LEVEL_DEBUG' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- settings:316: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- In file included from H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:244:0,
- from sketch\_releasenotes.ino.cpp:1:
- settings:323: error: 'D_LOG_APPLICATION' was not declared in this scope
- Serial.print(F(D_LOG_APPLICATION D_ERASED_SECTOR " "));
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:38:76: note: in definition of macro 'FPSTR'
- #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:39:34: note: in expansion of macro 'PSTR'
- #define F(string_literal) (FPSTR(PSTR(string_literal)))
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino:323:20: note: in expansion of macro 'F'
- Serial.print(F(D_LOG_APPLICATION D_ERASED_SECTOR " "));
- ^
- settings:323: error: expected ')' before 'D_ERASED_SECTOR'
- Serial.print(F(D_LOG_APPLICATION D_ERASED_SECTOR " "));
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:38:76: note: in definition of macro 'FPSTR'
- #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:39:34: note: in expansion of macro 'PSTR'
- #define F(string_literal) (FPSTR(PSTR(string_literal)))
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino:323:20: note: in expansion of macro 'F'
- Serial.print(F(D_LOG_APPLICATION D_ERASED_SECTOR " "));
- ^
- settings:326: error: expected ')' before 'D_OK'
- Serial.println(F(" " D_OK));
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:38:76: note: in definition of macro 'FPSTR'
- #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:39:34: note: in expansion of macro 'PSTR'
- #define F(string_literal) (FPSTR(PSTR(string_literal)))
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino:326:24: note: in expansion of macro 'F'
- Serial.println(F(" " D_OK));
- ^
- settings:328: error: expected ')' before 'D_ERROR'
- Serial.println(F(" " D_ERROR));
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:38:76: note: in definition of macro 'FPSTR'
- #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/WString.h:39:34: note: in expansion of macro 'PSTR'
- #define F(string_literal) (FPSTR(PSTR(string_literal)))
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino:328:24: note: in expansion of macro 'F'
- Serial.println(F(" " D_ERROR));
- ^
- settings:332: error: 'OsWatchLoop' was not declared in this scope
- OsWatchLoop();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDump(char*)':
- settings:346: error: 'Settings' was not declared in this scope
- uint8_t *buffer = (uint8_t *) &Settings;
- ^
- settings:347: error: 'SYSCFG' was not declared in this scope
- maxrow = ((sizeof(SYSCFG)+CFG_COLS)/CFG_COLS);
- ^
- settings:367: error: 'log_data' was not declared in this scope
- snprintf_P(log_data, sizeof(log_data), PSTR("%04X:"), idx);
- ^
- settings:382: error: 'LOG_LEVEL_INFO' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- settings:382: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefault()':
- settings:391: error: 'LOG_LEVEL_NONE' was not declared in this scope
- AddLog_P(LOG_LEVEL_NONE, PSTR(D_LOG_CONFIG D_USE_DEFAULTS));
- ^
- In file included from H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:241:0,
- from sketch\_releasenotes.ino.cpp:1:
- settings:391: error: 'D_LOG_CONFIG' was not declared in this scope
- AddLog_P(LOG_LEVEL_NONE, PSTR(D_LOG_CONFIG D_USE_DEFAULTS));
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:391: error: expected ')' before 'D_USE_DEFAULTS'
- AddLog_P(LOG_LEVEL_NONE, PSTR(D_LOG_CONFIG D_USE_DEFAULTS));
- ^
- H:\Arduino\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/pgmspace.h:16:68: note: in definition of macro 'PSTR'
- #define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
- ^
- settings:391: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_NONE, PSTR(D_LOG_CONFIG D_USE_DEFAULTS));
- ^
- settings:392: error: 'SettingsDefaultSet1' was not declared in this scope
- SettingsDefaultSet1();
- ^
- settings:393: error: 'SettingsDefaultSet2' was not declared in this scope
- SettingsDefaultSet2();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet1()':
- settings:399: error: 'Settings' was not declared in this scope
- memset(&Settings, 0x00, sizeof(SYSCFG));
- ^
- settings:399: error: 'SYSCFG' was not declared in this scope
- memset(&Settings, 0x00, sizeof(SYSCFG));
- ^
- settings:401: error: 'CFG_HOLDER' was not declared in this scope
- Settings.cfg_holder = CFG_HOLDER;
- ^
- settings:403: error: 'VERSION' was not declared in this scope
- Settings.version = VERSION;
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet2()':
- settings:409: error: 'Settings' was not declared in this scope
- memset((char*)&Settings +16, 0x00, sizeof(SYSCFG) -16);
- ^
- settings:409: error: 'SYSCFG' was not declared in this scope
- memset((char*)&Settings +16, 0x00, sizeof(SYSCFG) -16);
- ^
- settings:411: error: 'SAVE_STATE' was not declared in this scope
- Settings.flag.save_state = SAVE_STATE;
- ^
- settings:414: error: 'MQTT_USE' was not declared in this scope
- Settings.flag.mqtt_enabled = MQTT_USE;
- ^
- settings:416: error: 'MQTT_POWER_RETAIN' was not declared in this scope
- Settings.flag.mqtt_power_retain = MQTT_POWER_RETAIN;
- ^
- settings:417: error: 'MQTT_BUTTON_RETAIN' was not declared in this scope
- Settings.flag.mqtt_button_retain = MQTT_BUTTON_RETAIN;
- ^
- settings:418: error: 'MQTT_SWITCH_RETAIN' was not declared in this scope
- Settings.flag.mqtt_switch_retain = MQTT_SWITCH_RETAIN;
- ^
- settings:25: error: 'EMUL_NONE' was not declared in this scope
- #define EMULATION EMUL_NONE // [Emulation] Select Belkin WeMo (single relay/light) or Hue Bridge emulation (multi relay/light) (EMUL_NONE, EMUL_WEMO or EMUL_HUE)
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino:420:30: note: in expansion of macro 'EMULATION'
- Settings.flag2.emulation = EMULATION;
- ^
- settings:422: error: 'SAVE_DATA' was not declared in this scope
- Settings.save_data = SAVE_DATA;
- ^
- settings:423: error: 'APP_TIMEZONE' was not declared in this scope
- Settings.timezone = APP_TIMEZONE;
- ^
- settings:424: error: 'OTA_URL' was not declared in this scope
- strlcpy(Settings.ota_url, OTA_URL, sizeof(Settings.ota_url));
- ^
- settings:426: error: 'SERIAL_LOG_LEVEL' was not declared in this scope
- Settings.seriallog_level = SERIAL_LOG_LEVEL;
- ^
- settings:428: error: 'STA_SSID1' was not declared in this scope
- strlcpy(Settings.sta_ssid[0], STA_SSID1, sizeof(Settings.sta_ssid[0]));
- ^
- settings:429: error: 'STA_PASS1' was not declared in this scope
- strlcpy(Settings.sta_pwd[0], STA_PASS1, sizeof(Settings.sta_pwd[0]));
- ^
- settings:430: error: 'STA_SSID2' was not declared in this scope
- strlcpy(Settings.sta_ssid[1], STA_SSID2, sizeof(Settings.sta_ssid[1]));
- ^
- settings:431: error: 'STA_PASS2' was not declared in this scope
- strlcpy(Settings.sta_pwd[1], STA_PASS2, sizeof(Settings.sta_pwd[1]));
- ^
- settings:432: error: 'WIFI_HOSTNAME' was not declared in this scope
- strlcpy(Settings.hostname, WIFI_HOSTNAME, sizeof(Settings.hostname));
- ^
- settings:433: error: 'WIFI_CONFIG_TOOL' was not declared in this scope
- Settings.sta_config = WIFI_CONFIG_TOOL;
- ^
- settings:434: error: 'SYS_LOG_HOST' was not declared in this scope
- strlcpy(Settings.syslog_host, SYS_LOG_HOST, sizeof(Settings.syslog_host));
- ^
- settings:435: error: 'SYS_LOG_PORT' was not declared in this scope
- Settings.syslog_port = SYS_LOG_PORT;
- ^
- settings:436: error: 'SYS_LOG_LEVEL' was not declared in this scope
- Settings.syslog_level = SYS_LOG_LEVEL;
- ^
- settings:437: error: 'WEB_SERVER' was not declared in this scope
- Settings.webserver = WEB_SERVER;
- ^
- settings:438: error: 'WEB_LOG_LEVEL' was not declared in this scope
- Settings.weblog_level = WEB_LOG_LEVEL;
- ^
- settings:440: error: 'MQTT_FINGERPRINT' was not declared in this scope
- strlcpy(Settings.mqtt_fingerprint, MQTT_FINGERPRINT, sizeof(Settings.mqtt_fingerprint));
- ^
- settings:441: error: 'MQTT_HOST' was not declared in this scope
- strlcpy(Settings.mqtt_host, MQTT_HOST, sizeof(Settings.mqtt_host));
- ^
- settings:442: error: 'MQTT_PORT' was not declared in this scope
- Settings.mqtt_port = MQTT_PORT;
- ^
- settings:443: error: 'MQTT_CLIENT_ID' was not declared in this scope
- strlcpy(Settings.mqtt_client, MQTT_CLIENT_ID, sizeof(Settings.mqtt_client));
- ^
- settings:444: error: 'MQTT_USER' was not declared in this scope
- strlcpy(Settings.mqtt_user, MQTT_USER, sizeof(Settings.mqtt_user));
- ^
- settings:445: error: 'MQTT_PASS' was not declared in this scope
- strlcpy(Settings.mqtt_pwd, MQTT_PASS, sizeof(Settings.mqtt_pwd));
- ^
- settings:446: error: 'MQTT_TOPIC' was not declared in this scope
- strlcpy(Settings.mqtt_topic, MQTT_TOPIC, sizeof(Settings.mqtt_topic));
- ^
- settings:448: error: 'MQTT_GRPTOPIC' was not declared in this scope
- strlcpy(Settings.mqtt_grptopic, MQTT_GRPTOPIC, sizeof(Settings.mqtt_grptopic));
- ^
- settings:449: error: 'TELE_PERIOD' was not declared in this scope
- Settings.tele_period = TELE_PERIOD;
- ^
- settings:451: error: 'APP_POWER' was not declared in this scope
- Settings.power = APP_POWER;
- ^
- settings:452: error: 'APP_POWERON_STATE' was not declared in this scope
- Settings.poweronstate = APP_POWERON_STATE;
- ^
- settings:453: error: 'APP_LEDSTATE' was not declared in this scope
- Settings.ledstate = APP_LEDSTATE;
- ^
- settings:454: error: 'APP_BLINKTIME' was not declared in this scope
- Settings.blinktime = APP_BLINKTIME;
- ^
- settings:455: error: 'APP_BLINKCOUNT' was not declared in this scope
- Settings.blinkcount = APP_BLINKCOUNT;
- ^
- settings:456: error: 'APP_SLEEP' was not declared in this scope
- Settings.sleep = APP_SLEEP;
- ^
- settings:459: error: 'MAX_SWITCHES' was not declared in this scope
- for (byte i = 0; i < MAX_SWITCHES; i++) {
- ^
- settings:460: error: 'SWITCH_MODE' was not declared in this scope
- Settings.switchmode[i] = SWITCH_MODE;
- ^
- settings:466: error: 'HLW_PREF_PULSE' was not declared in this scope
- Settings.hlw_power_calibration = HLW_PREF_PULSE;
- ^
- settings:467: error: 'HLW_UREF_PULSE' was not declared in this scope
- Settings.hlw_voltage_calibration = HLW_UREF_PULSE;
- ^
- settings:468: error: 'HLW_IREF_PULSE' was not declared in this scope
- Settings.hlw_current_calibration = HLW_IREF_PULSE;
- ^
- settings:479: error: 'MAX_POWER_HOLD' was not declared in this scope
- Settings.energy_max_power_limit_hold = MAX_POWER_HOLD;
- ^
- settings:480: error: 'MAX_POWER_WINDOW' was not declared in this scope
- Settings.energy_max_power_limit_window = MAX_POWER_WINDOW;
- ^
- settings:482: error: 'SAFE_POWER_HOLD' was not declared in this scope
- Settings.energy_max_power_safe_limit_hold = SAFE_POWER_HOLD;
- ^
- settings:483: error: 'SAFE_POWER_WINDOW' was not declared in this scope
- Settings.energy_max_power_safe_limit_window = SAFE_POWER_WINDOW;
- ^
- settings:487: error: 'SettingsDefaultSet_3_2_4' was not declared in this scope
- SettingsDefaultSet_3_2_4();
- ^
- settings:489: error: 'FRIENDLY_NAME' was not declared in this scope
- strlcpy(Settings.friendlyname[0], FRIENDLY_NAME, sizeof(Settings.friendlyname[0]));
- ^
- settings:490: error: expected ')' before string constant
- strlcpy(Settings.friendlyname[1], FRIENDLY_NAME"2", sizeof(Settings.friendlyname[1]));
- ^
- settings:491: error: expected ')' before string constant
- strlcpy(Settings.friendlyname[2], FRIENDLY_NAME"3", sizeof(Settings.friendlyname[2]));
- ^
- settings:492: error: expected ')' before string constant
- strlcpy(Settings.friendlyname[3], FRIENDLY_NAME"4", sizeof(Settings.friendlyname[3]));
- ^
- settings:494: error: 'SettingsDefaultSet_3_9_3' was not declared in this scope
- SettingsDefaultSet_3_9_3();
- ^
- settings:498: error: 'WEB_PASSWORD' was not declared in this scope
- strlcpy(Settings.web_password, WEB_PASSWORD, sizeof(Settings.web_password));
- ^
- settings:500: error: 'SettingsDefaultSet_4_0_4' was not declared in this scope
- SettingsDefaultSet_4_0_4();
- ^
- settings:501: error: 'APP_PULSETIME' was not declared in this scope
- Settings.pulse_timer[0] = APP_PULSETIME;
- ^
- settings:507: error: 'SettingsDefaultSet_4_0_9' was not declared in this scope
- SettingsDefaultSet_4_0_9();
- ^
- settings:510: error: 'SettingsDefaultSet_4_1_1' was not declared in this scope
- SettingsDefaultSet_4_1_1();
- ^
- settings:513: error: 'SettingsDefaultSet_5_0_2' was not declared in this scope
- SettingsDefaultSet_5_0_2();
- ^
- settings:517: error: 'RtcSettings' was not declared in this scope
- RtcSettings.energy_kWhtotal = 0;
- ^
- settings:520: error: 'MQTT_FULLTOPIC' was not declared in this scope
- strlcpy(Settings.mqtt_fulltopic, MQTT_FULLTOPIC, sizeof(Settings.mqtt_fulltopic));
- ^
- settings:523: error: 'MQTT_RETRY_SECS' was not declared in this scope
- Settings.mqtt_retry = MQTT_RETRY_SECS;
- ^
- settings:526: error: 'P_HOLD_TIME' was not declared in this scope
- Settings.param[P_HOLD_TIME] = KEY_HOLD_TIME; // Default 4 seconds hold time
- ^
- settings:526: error: 'KEY_HOLD_TIME' was not declared in this scope
- Settings.param[P_HOLD_TIME] = KEY_HOLD_TIME; // Default 4 seconds hold time
- ^
- settings:529: error: 'P_MAX_POWER_RETRY' was not declared in this scope
- Settings.param[P_MAX_POWER_RETRY] = MAX_POWER_RETRY;
- ^
- settings:529: error: 'MAX_POWER_RETRY' was not declared in this scope
- Settings.param[P_MAX_POWER_RETRY] = MAX_POWER_RETRY;
- ^
- settings:532: error: 'kDefaultRfCode' was not declared in this scope
- memcpy_P(Settings.rf_code[0], kDefaultRfCode, 9);
- ^
- settings:535: error: 'WS2812_LEDS' was not declared in this scope
- Settings.light_pixels = WS2812_LEDS;
- ^
- settings:539: error: 'PWM_FREQ' was not declared in this scope
- Settings.pwm_frequency = PWM_FREQ;
- ^
- settings:540: error: 'PWM_RANGE' was not declared in this scope
- Settings.pwm_range = PWM_RANGE;
- ^
- settings:541: error: 'SettingsDefaultSet_5_8_1' was not declared in this scope
- SettingsDefaultSet_5_8_1();
- ^
- settings:547: error: 'SettingsDefaultSet_5_10_1' was not declared in this scope
- SettingsDefaultSet_5_10_1();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_3_2_4()':
- settings:554: error: 'Settings' was not declared in this scope
- Settings.ws_pixels = WS2812_LEDS;
- ^
- settings:554: error: 'WS2812_LEDS' was not declared in this scope
- Settings.ws_pixels = WS2812_LEDS;
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_3_9_3()':
- settings:569: error: 'MAX_DOMOTICZ_IDX' was not declared in this scope
- for (byte i = 0; i < MAX_DOMOTICZ_IDX; i++) {
- ^
- settings:570: error: 'Settings' was not declared in this scope
- Settings.domoticz_switch_idx[i] = 0;
- ^
- settings:573: error: 'Settings' was not declared in this scope
- Settings.domoticz_sensor_idx[i] = 0;
- ^
- settings:576: error: 'Settings' was not declared in this scope
- Settings.module = MODULE;
- ^
- settings:576: error: 'MODULE' was not declared in this scope
- Settings.module = MODULE;
- ^
- settings:577: error: 'MAX_GPIO_PIN' was not declared in this scope
- for (byte i = 0; i < MAX_GPIO_PIN; i++){
- ^
- settings:581: error: 'WS2812_LEDS' was not declared in this scope
- Settings.light_pixels = WS2812_LEDS;
- ^
- settings:582: error: 'MAX_PWMS' was not declared in this scope
- for (byte i = 0; i < MAX_PWMS; i++) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_4_0_4()':
- settings:596: error: 'Settings' was not declared in this scope
- strlcpy(Settings.ntp_server[0], NTP_SERVER1, sizeof(Settings.ntp_server[0]));
- ^
- settings:596: error: 'NTP_SERVER1' was not declared in this scope
- strlcpy(Settings.ntp_server[0], NTP_SERVER1, sizeof(Settings.ntp_server[0]));
- ^
- settings:597: error: 'NTP_SERVER2' was not declared in this scope
- strlcpy(Settings.ntp_server[1], NTP_SERVER2, sizeof(Settings.ntp_server[1]));
- ^
- settings:598: error: 'NTP_SERVER3' was not declared in this scope
- strlcpy(Settings.ntp_server[2], NTP_SERVER3, sizeof(Settings.ntp_server[2]));
- ^
- settings:606: error: 'APP_PULSETIME' was not declared in this scope
- Settings.pulse_timer[0] = APP_PULSETIME;
- ^
- settings:607: error: 'MAX_PULSETIMERS' was not declared in this scope
- for (byte i = 1; i < MAX_PULSETIMERS; i++) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_4_0_9()':
- settings:614: error: 'Settings' was not declared in this scope
- strlcpy(Settings.mqtt_prefix[0], SUB_PREFIX, sizeof(Settings.mqtt_prefix[0]));
- ^
- settings:614: error: 'SUB_PREFIX' was not declared in this scope
- strlcpy(Settings.mqtt_prefix[0], SUB_PREFIX, sizeof(Settings.mqtt_prefix[0]));
- ^
- settings:615: error: 'PUB_PREFIX' was not declared in this scope
- strlcpy(Settings.mqtt_prefix[1], PUB_PREFIX, sizeof(Settings.mqtt_prefix[1]));
- ^
- settings:616: error: 'PUB_PREFIX2' was not declared in this scope
- strlcpy(Settings.mqtt_prefix[2], PUB_PREFIX2, sizeof(Settings.mqtt_prefix[2]));
- ^
- settings:617: error: 'WIFI_IP_ADDRESS' was not declared in this scope
- ParseIp(&Settings.ip_address[0], WIFI_IP_ADDRESS);
- ^
- settings:617: error: 'ParseIp' was not declared in this scope
- ParseIp(&Settings.ip_address[0], WIFI_IP_ADDRESS);
- ^
- settings:618: error: 'WIFI_GATEWAY' was not declared in this scope
- ParseIp(&Settings.ip_address[1], WIFI_GATEWAY);
- ^
- settings:619: error: 'WIFI_SUBNETMASK' was not declared in this scope
- ParseIp(&Settings.ip_address[2], WIFI_SUBNETMASK);
- ^
- settings:620: error: 'WIFI_DNS' was not declared in this scope
- ParseIp(&Settings.ip_address[3], WIFI_DNS);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_4_1_1()':
- settings:625: error: 'Settings' was not declared in this scope
- strlcpy(Settings.state_text[0], MQTT_STATUS_OFF, sizeof(Settings.state_text[0]));
- ^
- settings:625: error: 'MQTT_STATUS_OFF' was not declared in this scope
- strlcpy(Settings.state_text[0], MQTT_STATUS_OFF, sizeof(Settings.state_text[0]));
- ^
- settings:626: error: 'MQTT_STATUS_ON' was not declared in this scope
- strlcpy(Settings.state_text[1], MQTT_STATUS_ON, sizeof(Settings.state_text[1]));
- ^
- settings:627: error: 'MQTT_CMND_TOGGLE' was not declared in this scope
- strlcpy(Settings.state_text[2], MQTT_CMND_TOGGLE, sizeof(Settings.state_text[2]));
- ^
- settings:628: error: 'MQTT_CMND_HOLD' was not declared in this scope
- strlcpy(Settings.state_text[3], MQTT_CMND_HOLD, sizeof(Settings.state_text[3])); // v5.1.6
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_5_0_2()':
- settings:633: error: 'Settings' was not declared in this scope
- Settings.flag.temperature_conversion = TEMP_CONVERSION;
- ^
- settings:633: error: 'TEMP_CONVERSION' was not declared in this scope
- Settings.flag.temperature_conversion = TEMP_CONVERSION;
- ^
- settings:634: error: 'TEMP_RESOLUTION' was not declared in this scope
- Settings.flag2.temperature_resolution = TEMP_RESOLUTION;
- ^
- settings:635: error: 'HUMIDITY_RESOLUTION' was not declared in this scope
- Settings.flag2.humidity_resolution = HUMIDITY_RESOLUTION;
- ^
- settings:636: error: 'PRESSURE_RESOLUTION' was not declared in this scope
- Settings.flag2.pressure_resolution = PRESSURE_RESOLUTION;
- ^
- settings:637: error: 'ENERGY_RESOLUTION' was not declared in this scope
- Settings.flag2.energy_resolution = ENERGY_RESOLUTION;
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_5_8_1()':
- settings:643: error: 'Settings' was not declared in this scope
- Settings.ws_width[WS_SECOND] = 1;
- ^
- settings:643: error: 'WS_SECOND' was not declared in this scope
- Settings.ws_width[WS_SECOND] = 1;
- ^
- settings:644: error: 'WS_RED' was not declared in this scope
- Settings.ws_color[WS_SECOND][WS_RED] = 255;
- ^
- settings:645: error: 'WS_GREEN' was not declared in this scope
- Settings.ws_color[WS_SECOND][WS_GREEN] = 0;
- ^
- settings:646: error: 'WS_BLUE' was not declared in this scope
- Settings.ws_color[WS_SECOND][WS_BLUE] = 255;
- ^
- settings:647: error: 'WS_MINUTE' was not declared in this scope
- Settings.ws_width[WS_MINUTE] = 3;
- ^
- settings:651: error: 'WS_HOUR' was not declared in this scope
- Settings.ws_width[WS_HOUR] = 5;
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDefaultSet_5_10_1()':
- settings:659: error: 'Settings' was not declared in this scope
- Settings.display_model = 0;
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino: In function 'void SettingsDelta()':
- settings:683: error: 'Settings' was not declared in this scope
- if (Settings.version != VERSION) { // Fix version dependent changes
- ^
- settings:683: error: 'VERSION' was not declared in this scope
- if (Settings.version != VERSION) { // Fix version dependent changes
- ^
- settings:685: error: 'APP_POWERON_STATE' was not declared in this scope
- Settings.poweronstate = APP_POWERON_STATE;
- ^
- settings:688: error: 'APP_BLINKTIME' was not declared in this scope
- Settings.blinktime = APP_BLINKTIME;
- ^
- settings:689: error: 'APP_BLINKCOUNT' was not declared in this scope
- Settings.blinkcount = APP_BLINKCOUNT;
- ^
- settings:695: error: 'GetMqttClient' was not declared in this scope
- GetMqttClient(Settings.friendlyname[0], Settings.mqtt_client, sizeof(Settings.friendlyname[0]));
- ^
- settings:696: error: 'FRIENDLY_NAME' was not declared in this scope
- strlcpy(Settings.friendlyname[1], FRIENDLY_NAME"2", sizeof(Settings.friendlyname[1]));
- ^
- settings:697: error: expected ')' before string constant
- strlcpy(Settings.friendlyname[2], FRIENDLY_NAME"3", sizeof(Settings.friendlyname[2]));
- ^
- settings:698: error: expected ')' before string constant
- strlcpy(Settings.friendlyname[3], FRIENDLY_NAME"4", sizeof(Settings.friendlyname[3]));
- ^
- settings:704: error: 'APP_SLEEP' was not declared in this scope
- Settings.sleep = APP_SLEEP;
- ^
- settings:710: error: 'WEB_PASSWORD' was not declared in this scope
- strlcpy(Settings.web_password, WEB_PASSWORD, sizeof(Settings.web_password));
- ^
- settings:713: error: 'MAX_SWITCHES' was not declared in this scope
- for (byte i = 0; i < MAX_SWITCHES; i++) {
- ^
- settings:714: error: 'SWITCH_MODE' was not declared in this scope
- Settings.switchmode[i] = SWITCH_MODE;
- ^
- settings:721: error: 'MAX_GPIO_PIN' was not declared in this scope
- memmove(Settings.my_gp.io, Settings.my_gp.io +1, MAX_GPIO_PIN -1); // move myio 1 byte to front
- ^
- settings:725: error: 'MAX_PWMS' was not declared in this scope
- for (byte i = 0; i < MAX_PWMS; i++) {
- ^
- settings:737: error: 'SAVE_STATE' was not declared in this scope
- Settings.flag.save_state = SAVE_STATE;
- ^
- settings:740: error: 'MQTT_USE' was not declared in this scope
- Settings.flag.mqtt_enabled = MQTT_USE;
- ^
- settings:744: error: 'MQTT_SWITCH_RETAIN' was not declared in this scope
- Settings.flag.mqtt_switch_retain = MQTT_SWITCH_RETAIN;
- ^
- settings:25: error: 'EMUL_NONE' was not declared in this scope
- #define EMULATION EMUL_NONE // [Emulation] Select Belkin WeMo (single relay/light) or Hue Bridge emulation (multi relay/light) (EMUL_NONE, EMUL_WEMO or EMUL_HUE)
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\settings.ino:745:34: note: in expansion of macro 'EMULATION'
- Settings.flag2.emulation = EMULATION;
- ^
- settings:749: error: 'SAVE_DATA' was not declared in this scope
- Settings.save_data = SAVE_DATA;
- ^
- settings:753: error: 'RtcSettings' was not declared in this scope
- RtcSettings.energy_kWhtotal = 0;
- ^
- settings:756: error: 'MQTT_FULLTOPIC' was not declared in this scope
- strlcpy(Settings.mqtt_fulltopic, MQTT_FULLTOPIC, sizeof(Settings.mqtt_fulltopic));
- ^
- settings:759: error: 'MQTT_RETRY_SECS' was not declared in this scope
- Settings.mqtt_retry = MQTT_RETRY_SECS;
- ^
- settings:764: error: 'MAX_COUNTERS' was not declared in this scope
- for (byte i = 0; i < MAX_COUNTERS; i++) {
- ^
- settings:766: error: 'RtcSettings' was not declared in this scope
- RtcSettings.pulse_counter[i] = 0;
- ^
- settings:773: error: 'P_HOLD_TIME' was not declared in this scope
- Settings.param[P_HOLD_TIME] = KEY_HOLD_TIME; // Default 4 seconds hold time
- ^
- settings:773: error: 'KEY_HOLD_TIME' was not declared in this scope
- Settings.param[P_HOLD_TIME] = KEY_HOLD_TIME; // Default 4 seconds hold time
- ^
- settings:776: error: 'P_MAX_POWER_RETRY' was not declared in this scope
- Settings.param[P_MAX_POWER_RETRY] = MAX_POWER_RETRY;
- ^
- settings:776: error: 'MAX_POWER_RETRY' was not declared in this scope
- Settings.param[P_MAX_POWER_RETRY] = MAX_POWER_RETRY;
- ^
- settings:782: error: 'kDefaultRfCode' was not declared in this scope
- memcpy_P(Settings.rf_code[0], kDefaultRfCode, 9);
- ^
- settings:786: error: 'MAX_GPIO_PIN' was not declared in this scope
- for (byte i = 0; i < MAX_GPIO_PIN; i++) {
- ^
- settings:787: error: 'GPIO_WS2812' was not declared in this scope
- if (GPIO_WS2812 == Settings.my_gp.io[i]) {
- ^
- settings:804: error: 'WS2812_LEDS' was not declared in this scope
- Settings.light_pixels = WS2812_LEDS;
- ^
- settings:813: error: 'MAX_GPIO_PIN' was not declared in this scope
- for (byte i = 0; i < MAX_GPIO_PIN; i++) { // Move GPIO_LEDs
- ^
- settings:818: error: 'MAX_PWMS' was not declared in this scope
- for (byte i = 0; i < MAX_PWMS; i++) { // Move pwm_value and reset additional pulse_timerrs
- ^
- settings:824: error: 'PWM_FREQ' was not declared in this scope
- Settings.pwm_frequency = PWM_FREQ;
- ^
- settings:825: error: 'PWM_RANGE' was not declared in this scope
- Settings.pwm_range = PWM_RANGE;
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void SetDevicePower(power_t)':
- sonoff:308: error: 'XdrvSetPower' was not declared in this scope
- XdrvSetPower(bitRead(rpower, devices_present -1));
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttSubscribe(char*)':
- sonoff:345: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttPublishDirect(const char*, boolean)':
- sonoff:364: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttPublishPowerState(byte)':
- sonoff:422: error: 'GetPowerDevice' was not declared in this scope
- GetPowerDevice(scommand, device, sizeof(scommand));
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttPublishPowerBlinkState(byte)':
- sonoff:440: error: 'GetPowerDevice' was not declared in this scope
- GetPowerDevice(scommand, device, sizeof(scommand)), GetStateText(bitRead(blink_mask, device -1)));
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttConnected()':
- sonoff:466: error: 'XdrvCall' was not declared in this scope
- XdrvCall(FUNC_MQTT_SUBSCRIBE);
- ^
- sonoff:481: error: 'GetResetReason' was not declared in this scope
- (GetResetReason() == "Exception") ? ESP.getResetInfo().c_str() : GetResetReason().c_str());
- ^
- sonoff:488: error: 'DomoticzSetUpdateTimer' was not declared in this scope
- DomoticzSetUpdateTimer(2);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttReconnect()':
- sonoff:505: error: 'UdpDisconnect' was not declared in this scope
- UdpDisconnect();
- ^
- sonoff:524: error: 'MqttDataCallback' was not declared in this scope
- MqttClient.setCallback(MqttDataCallback);
- ^
- sonoff:530: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, S_LOG_MQTT, PSTR(D_ATTEMPTING_CONNECTION));
- ^
- sonoff:535: error: 'MdnsDiscoverMqttServer' was not declared in this scope
- MdnsDiscoverMqttServer();
- ^
- sonoff:562: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'boolean MqttCommand(boolean, char*, uint16_t, char*, uint16_t, int16_t, uint16_t)':
- sonoff:577: error: 'GetCommandCode' was not declared in this scope
- int command_code = GetCommandCode(command, sizeof(command), type, kMqttCommands);
- ^
- sonoff:628: error: 'MQTT_USER' was not declared in this scope
- strlcpy(Settings.mqtt_user, (!strcmp(dataBuf,"0")) ? "" : (1 == payload) ? MQTT_USER : dataBuf, sizeof(Settings.mqtt_user));
- ^
- sonoff:635: error: 'MQTT_PASS' was not declared in this scope
- strlcpy(Settings.mqtt_pwd, (!strcmp(dataBuf,"0")) ? "" : (1 == payload) ? MQTT_PASS : dataBuf, sizeof(Settings.mqtt_pwd));
- ^
- sonoff:642: error: 'MakeValidMqtt' was not declared in this scope
- MakeValidMqtt(1, dataBuf);
- ^
- sonoff:658: error: 'MakeValidMqtt' was not declared in this scope
- MakeValidMqtt(0, dataBuf);
- ^
- sonoff:667: error: 'MakeValidMqtt' was not declared in this scope
- MakeValidMqtt(0, dataBuf);
- ^
- sonoff:678: error: 'MakeValidMqtt' was not declared in this scope
- MakeValidMqtt(0, dataBuf);
- ^
- sonoff:694: error: 'MakeValidMqtt' was not declared in this scope
- MakeValidMqtt(0, dataBuf);
- ^
- sonoff:704: error: 'MakeValidMqtt' was not declared in this scope
- MakeValidMqtt(0, dataBuf);
- ^
- sonoff:717: error: 'send_button_power' was not declared in this scope
- send_button_power(0, i, 9); // Clear MQTT retain in broker
- ^
- sonoff:729: error: 'send_button_power' was not declared in this scope
- send_button_power(1, i, 9); // Clear MQTT retain in broker
- ^
- sonoff:740: error: 'GetPowerDevice' was not declared in this scope
- GetTopic_P(stemp1, 1, Settings.mqtt_topic, GetPowerDevice(scommand, i, sizeof(scommand)));
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttDataCallback(char*, byte*, unsigned int)':
- sonoff:810: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG_MORE);
- ^
- sonoff:813: error: 'XdrvMqttData' was not declared in this scope
- if (XdrvMqttData(topicBuf, sizeof(topicBuf), dataBuf, sizeof(dataBuf))) {
- ^
- sonoff:857: error: 'GetCommandCode' was not declared in this scope
- if ((GetCommandCode(command, sizeof(command), dataBuf, kOptionOff) >= 0) || !strcasecmp(dataBuf, Settings.state_text[0])) {
- ^
- sonoff:860: error: 'GetCommandCode' was not declared in this scope
- if ((GetCommandCode(command, sizeof(command), dataBuf, kOptionOn) >= 0) || !strcasecmp(dataBuf, Settings.state_text[1])) {
- ^
- sonoff:863: error: 'GetCommandCode' was not declared in this scope
- if ((GetCommandCode(command, sizeof(command), dataBuf, kOptionToggle) >= 0) || !strcasecmp(dataBuf, Settings.state_text[2])) {
- ^
- sonoff:866: error: 'GetCommandCode' was not declared in this scope
- if (GetCommandCode(command, sizeof(command), dataBuf, kOptionBlink) >= 0) {
- ^
- sonoff:869: error: 'GetCommandCode' was not declared in this scope
- if (GetCommandCode(command, sizeof(command), dataBuf, kOptionBlinkOff) >= 0) {
- ^
- sonoff:876: error: 'GetCommandCode' was not declared in this scope
- int command_code = GetCommandCode(command, sizeof(command), type, kTasmotaCommands);
- ^
- sonoff:908: error: 'ExecuteCommandPower' was not declared in this scope
- ExecuteCommandPower(index, payload);
- ^
- sonoff:916: error: 'PublishStatus' was not declared in this scope
- PublishStatus(payload);
- ^
- sonoff:931: error: 'ExecuteCommandPower' was not declared in this scope
- ExecuteCommandPower(i, 1);
- ^
- sonoff:1223: error: 'NewerVersion' was not declared in this scope
- if (((1 == data_len) && (1 == payload)) || ((data_len >= 3) && NewerVersion(dataBuf))) {
- ^
- sonoff:1264: error: 'ParseIp' was not declared in this scope
- if (ParseIp(&address, dataBuf)) {
- ^
- sonoff:1329: error: 'WifiState' was not declared in this scope
- if (WifiState() != WIFI_RESTART) {
- ^
- sonoff:1406: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_APPLICATION D_RESTARTING));
- ^
- sonoff:1471: error: 'I2cScan' was not declared in this scope
- I2cScan(mqtt_data, sizeof(mqtt_data));
- ^
- sonoff:1486: error: 'XdrvCommand' was not declared in this scope
- else if (XdrvCommand(type, index, dataBuf, data_len, payload)) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'boolean send_button_power(byte, byte, byte)':
- sonoff:1535: error: 'GetPowerDevice' was not declared in this scope
- GetTopic_P(stopic, 0, key_topic, GetPowerDevice(scommand, device, sizeof(scommand), key));
- ^
- sonoff:1545: error: 'DomoticzButton' was not declared in this scope
- if (!(DomoticzButton(key, device, state, strlen(mqtt_data)))) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void ExecuteCommandPower(byte, byte)':
- sonoff:1607: error: 'DomoticzUpdatePowerState' was not declared in this scope
- DomoticzUpdatePowerState(device);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void PublishStatus(uint8_t)':
- sonoff:1703: error: 'GetBuildDateAndTime' was not declared in this scope
- GetBuildDateAndTime().c_str(), ESP.getBootVersion(), ESP.getSdkVersion());
- ^
- sonoff:1734: error: 'GetTime' was not declared in this scope
- GetTime(0).c_str(), GetTime(1).c_str(), GetTime(2).c_str(), GetTime(3).c_str(), Settings.timezone);
- ^
- sonoff:1748: error: 'MqttShowSensor' was not declared in this scope
- MqttShowSensor();
- ^
- sonoff:1759: error: 'MqttShowState' was not declared in this scope
- MqttShowState();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void MqttShowState()':
- sonoff:1770: error: 'GetDateAndTime' was not declared in this scope
- snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s{\"" D_JSON_TIME "\":\"%s\",\"" D_JSON_UPTIME "\":%d"), mqtt_data, GetDateAndTime().c_str(), uptime);
- ^
- sonoff:1772: error: 'dtostrfd' was not declared in this scope
- dtostrfd((double)ESP.getVcc()/1000, 3, stemp1);
- ^
- sonoff:1776: error: 'GetPowerDevice' was not declared in this scope
- snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s,\"%s\":\"%s\""), mqtt_data, GetPowerDevice(stemp1, i +1, sizeof(stemp1)), GetStateText(bitRead(power, i)));
- ^
- sonoff:1779: error: 'WifiGetRssiAsQuality' was not declared in this scope
- mqtt_data, Settings.sta_active +1, Settings.sta_ssid[Settings.sta_active], WifiGetRssiAsQuality(WiFi.RSSI()), WiFi.BSSIDstr().c_str());
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'boolean MqttShowSensor()':
- sonoff:1784: error: 'GetDateAndTime' was not declared in this scope
- snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s{\"" D_JSON_TIME "\":\"%s\""), mqtt_data, GetDateAndTime().c_str());
- ^
- sonoff:1792: error: 'XsnsCall' was not declared in this scope
- XsnsCall(FUNC_JSON_APPEND);
- ^
- sonoff:1795: error: 'TempUnit' was not declared in this scope
- snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s,\"" D_JSON_TEMPERATURE_UNIT "\":\"%c\""), mqtt_data, TempUnit());
- ^
- sonoff:1800: error: 'XdrvCall' was not declared in this scope
- XdrvCall(FUNC_SHOW_SENSOR);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void PerformEverySecond()':
- sonoff:1823: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_APPLICATION D_SERIAL_LOGGING_DISABLED));
- ^
- sonoff:1834: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_APPLICATION D_SYSLOG_LOGGING_REENABLED)); // Might trigger disable again (on purpose)
- ^
- sonoff:1851: error: 'XsnsCall' was not declared in this scope
- XsnsCall(FUNC_PREP_BEFORE_TELEPERIOD);
- ^
- sonoff:1868: error: 'XdrvCall' was not declared in this scope
- XdrvCall(FUNC_EVERY_SECOND);
- ^
- sonoff:1869: error: 'XsnsCall' was not declared in this scope
- XsnsCall(FUNC_EVERY_SECOND);
- ^
- sonoff:1874: error: 'GetDateAndTime' was not declared in this scope
- snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("{\"" D_JSON_TIME "\":\"%s\",\"" D_JSON_UPTIME "\":%d}"), GetDateAndTime().c_str(), uptime);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void ButtonHandler()':
- sonoff:1901: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- sonoff:1923: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- sonoff:1929: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- sonoff:1943: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- sonoff:1950: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- sonoff:1997: error: 'WifiState' was not declared in this scope
- if (WifiState()) { // WPSconfig, Smartconfig or Wifimanager active
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void StateLoop()':
- sonoff:2184: error: 'XdrvCall' was not declared in this scope
- XdrvCall(FUNC_EVERY_50_MSECOND);
- ^
- sonoff:2185: error: 'XsnsCall' was not declared in this scope
- XsnsCall(FUNC_EVERY_50_MSECOND);
- ^
- sonoff:2234: error: 'StopWebserver' was not declared in this scope
- StopWebserver();
- ^
- sonoff:2238: error: 'AriluxRfDisable' was not declared in this scope
- AriluxRfDisable(); // Prevent restart exception on Arilux Interrupt routine
- ^
- sonoff:2266: error: 'MidnightNow' was not declared in this scope
- if (MidnightNow()) {
- ^
- sonoff:2267: error: 'CounterSaveState' was not declared in this scope
- CounterSaveState();
- ^
- sonoff:2301: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_APPLICATION D_RESTARTING));
- ^
- sonoff:2307: error: 'WifiCheck' was not declared in this scope
- WifiCheck(wifi_state_flag);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void SerialInput()':
- sonoff:2364: error: 'SonoffBridgeSerialInput' was not declared in this scope
- if (SonoffBridgeSerialInput()) {
- ^
- sonoff:2391: error: 'SonoffScSerialInput' was not declared in this scope
- SonoffScSerialInput(serial_in_buffer);
- ^
- sonoff:2403: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void GpioInit()':
- sonoff:2459: error: 'DhtSetup' was not declared in this scope
- if (DhtSetup(i, mpin)) {
- ^
- sonoff:2594: error: 'XDrvInit' was not declared in this scope
- XDrvInit();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void setup()':
- sonoff:2613: error: 'OsWatchInit' was not declared in this scope
- OsWatchInit();
- ^
- sonoff:2627: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- sonoff:2631: error: 'SetSerialBaudrate' was not declared in this scope
- SetSerialBaudrate(baudrate);
- ^
- sonoff:2639: error: 'WifiConnect' was not declared in this scope
- WifiConnect();
- ^
- sonoff:2696: error: 'RtcInit' was not declared in this scope
- RtcInit();
- ^
- sonoff:2697: error: 'XSnsInit' was not declared in this scope
- XSnsInit();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\sonoff.ino: In function 'void loop()':
- sonoff:2702: error: 'OsWatchLoop' was not declared in this scope
- OsWatchLoop();
- ^
- sonoff:2705: error: 'PollDnsWebserver' was not declared in this scope
- PollDnsWebserver();
- ^
- sonoff:2710: error: 'PollUdp' was not declared in this scope
- PollUdp();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void WifiWpsStatusCallback(wps_cb_status)':
- support:391: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void WifiConfig(uint8_t)':
- support:426: error: 'UdpDisconnect' was not declared in this scope
- UdpDisconnect();
- ^
- support:437: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_WCFG_1_SMARTCONFIG D_ACTIVE_FOR_3_MINUTES));
- ^
- support:442: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_WCFG_3_WPSCONFIG D_ACTIVE_FOR_3_MINUTES));
- ^
- support:444: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_WCFG_3_WPSCONFIG D_FAILED_TO_START));
- ^
- support:450: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_WCFG_2_WIFIMANAGER D_ACTIVE_FOR_3_MINUTES));
- ^
- support:451: error: 'WifiManagerBegin' was not declared in this scope
- WifiManagerBegin();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void WifiBegin(uint8_t)':
- support:462: error: 'UdpDisconnect' was not declared in this scope
- UdpDisconnect();
- ^
- support:500: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void WifiCheckIp()':
- support:508: error: 'AddLog_P' was not declared in this scope
- AddLog_P((wifi_status != WL_CONNECTED) ? LOG_LEVEL_INFO : LOG_LEVEL_DEBUG_MORE, S_LOG_WIFI, PSTR(D_CONNECTED));
- ^
- support:520: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_CONNECT_FAILED_NO_IP_ADDRESS));
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void WifiCheck(uint8_t)':
- support:599: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- support:610: error: 'AddLog_P' was not declared in this scope
- AddLog_P(LOG_LEVEL_DEBUG_MORE, S_LOG_WIFI, PSTR(D_CHECKING_CONNECTION));
- ^
- support:619: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- support:624: error: 'StartWebserver' was not declared in this scope
- StartWebserver(Settings.webserver, WiFi.localIP());
- ^
- support:631: error: 'StopWebserver' was not declared in this scope
- StopWebserver();
- ^
- support:635: error: 'UdpConnect' was not declared in this scope
- UdpConnect();
- ^
- support:641: error: 'UdpDisconnect' was not declared in this scope
- UdpDisconnect();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'boolean MdnsDiscoverMqttServer()':
- support:685: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'String GetUtcDateAndTime()':
- support:953: error: 'BreakTime' was not declared in this scope
- BreakTime(utc_time, tmpTime);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void RtcSecond()':
- support:1139: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_DEBUG);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void SetSerialBaudrate(int)':
- support:1298: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\support.ino: In function 'void Syslog()':
- support:1386: error: 'AddLog' was not declared in this scope
- AddLog(LOG_LEVEL_INFO);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: At global scope:
- webserver:217: error: expected ',' or ';' before 'MQTT_USER'
- "<br/><b>" D_USER "</b> (" MQTT_USER ")<br/><input id='mu' name='mu' placeholder='" MQTT_USER "' value='{m4'><br/>"
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void StartWebserver(int, IPAddress)':
- webserver:310: error: 'HandleRoot' was not declared in this scope
- WebServer->on("/", HandleRoot);
- ^
- webserver:311: error: 'HandleConfiguration' was not declared in this scope
- WebServer->on("/cn", HandleConfiguration);
- ^
- webserver:312: error: 'HandleModuleConfiguration' was not declared in this scope
- WebServer->on("/md", HandleModuleConfiguration);
- ^
- webserver:313: error: 'HandleWifiConfigurationWithScan' was not declared in this scope
- WebServer->on("/w1", HandleWifiConfigurationWithScan);
- ^
- webserver:314: error: 'HandleWifiConfiguration' was not declared in this scope
- WebServer->on("/w0", HandleWifiConfiguration);
- ^
- webserver:316: error: 'HandleMqttConfiguration' was not declared in this scope
- WebServer->on("/mq", HandleMqttConfiguration);
- ^
- webserver:318: error: 'HandleDomoticzConfiguration' was not declared in this scope
- WebServer->on("/dm", HandleDomoticzConfiguration);
- ^
- webserver:321: error: 'HandleLoggingConfiguration' was not declared in this scope
- WebServer->on("/lg", HandleLoggingConfiguration);
- ^
- webserver:322: error: 'HandleOtherConfiguration' was not declared in this scope
- WebServer->on("/co", HandleOtherConfiguration);
- ^
- webserver:323: error: 'HandleBackupConfiguration' was not declared in this scope
- WebServer->on("/dl", HandleBackupConfiguration);
- ^
- webserver:324: error: 'HandleSaveSettings' was not declared in this scope
- WebServer->on("/sv", HandleSaveSettings);
- ^
- webserver:325: error: 'HandleRestoreConfiguration' was not declared in this scope
- WebServer->on("/rs", HandleRestoreConfiguration);
- ^
- webserver:326: error: 'HandleResetConfiguration' was not declared in this scope
- WebServer->on("/rt", HandleResetConfiguration);
- ^
- webserver:327: error: 'HandleUpgradeFirmware' was not declared in this scope
- WebServer->on("/up", HandleUpgradeFirmware);
- ^
- webserver:328: error: 'HandleUpgradeFirmwareStart' was not declared in this scope
- WebServer->on("/u1", HandleUpgradeFirmwareStart); // OTA
- ^
- webserver:329: error: 'HandleUploadDone' was not declared in this scope
- WebServer->on("/u2", HTTP_POST, HandleUploadDone, HandleUploadLoop);
- ^
- webserver:329: error: 'HandleUploadLoop' was not declared in this scope
- WebServer->on("/u2", HTTP_POST, HandleUploadDone, HandleUploadLoop);
- ^
- webserver:330: error: 'HandleHttpCommand' was not declared in this scope
- WebServer->on("/cm", HandleHttpCommand);
- ^
- webserver:331: error: 'HandleConsole' was not declared in this scope
- WebServer->on("/cs", HandleConsole);
- ^
- webserver:332: error: 'HandleAjaxConsoleRefresh' was not declared in this scope
- WebServer->on("/ax", HandleAjaxConsoleRefresh);
- ^
- webserver:333: error: 'HandleAjaxStatusRefresh' was not declared in this scope
- WebServer->on("/ay", HandleAjaxStatusRefresh);
- ^
- webserver:334: error: 'HandleInformation' was not declared in this scope
- WebServer->on("/in", HandleInformation);
- ^
- webserver:335: error: 'HandleRestart' was not declared in this scope
- WebServer->on("/rb", HandleRestart);
- ^
- webserver:339: error: 'HandleUpnpEvent' was not declared in this scope
- WebServer->on("/upnp/control/basicevent1", HTTP_POST, HandleUpnpEvent);
- ^
- webserver:340: error: 'HandleUpnpService' was not declared in this scope
- WebServer->on("/eventservice.xml", HandleUpnpService);
- ^
- webserver:341: error: 'HandleUpnpMetaService' was not declared in this scope
- WebServer->on("/metainfoservice.xml", HandleUpnpMetaService);
- ^
- webserver:342: error: 'HandleUpnpSetupWemo' was not declared in this scope
- WebServer->on("/setup.xml", HandleUpnpSetupWemo);
- ^
- webserver:345: error: 'HandleUpnpSetupHue' was not declared in this scope
- WebServer->on("/description.xml", HandleUpnpSetupHue);
- ^
- webserver:348: error: 'HandleNotFound' was not declared in this scope
- WebServer->onNotFound(HandleNotFound);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleRoot()':
- webserver:435: error: 'CaptivePortal' was not declared in this scope
- if (CaptivePortal()) { // If captive portal redirect instead of displaying the page.
- ^
- webserver:440: error: 'HandleWifiConfiguration' was not declared in this scope
- HandleWifiConfiguration();
- ^
- webserver:452: error: 'LightGetColorTemp' was not declared in this scope
- snprintf_P(line, sizeof(line), HTTP_MSG_SLIDER1, LightGetColorTemp());
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleAjaxStatusRefresh()':
- webserver:515: error: 'XsnsCall' was not declared in this scope
- XsnsCall(FUNC_WEB_APPEND);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleWifiConfigurationWithScan()':
- webserver:692: error: 'HandleWifi' was not declared in this scope
- HandleWifi(true);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleWifiConfiguration()':
- webserver:697: error: 'HandleWifi' was not declared in this scope
- HandleWifi(false);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleWifi(boolean)':
- webserver:713: error: 'UdpDisconnect' was not declared in this scope
- UdpDisconnect();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleSaveSettings()':
- webserver:990: error: 'MQTT_USER' was not declared in this scope
- strlcpy(Settings.mqtt_user, (!strlen(WebServer->arg("mu").c_str())) ? MQTT_USER : (!strcmp(WebServer->arg("mu").c_str(),"0")) ? "" : WebServer->arg("mu").c_str(), sizeof(Settings.mqtt_user));
- ^
- webserver:991: error: 'MQTT_PASS' was not declared in this scope
- strlcpy(Settings.mqtt_pwd, (!strlen(WebServer->arg("mp").c_str())) ? MQTT_PASS : (!strcmp(WebServer->arg("mp").c_str(),"0")) ? "" : WebServer->arg("mp").c_str(), sizeof(Settings.mqtt_pwd));
- ^
- webserver:1014: error: 'DomoticzSaveSettings' was not declared in this scope
- DomoticzSaveSettings();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleUploadLoop()':
- webserver:1236: error: 'UdpDisconnect' was not declared in this scope
- UdpDisconnect();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'void HandleNotFound()':
- webserver:1601: error: 'CaptivePortal' was not declared in this scope
- if (CaptivePortal()) { // If captive portal redirect instead of displaying the error page.
- ^
- webserver:1608: error: 'HandleHueApi' was not declared in this scope
- HandleHueApi(&path);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\webserver.ino: In function 'boolean CaptivePortal()':
- webserver:1630: error: 'ValidIpAddress' was not declared in this scope
- if ((HTTP_MANAGER == webserver_state) && !ValidIpAddress(WebServer->hostHeader())) {
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_01_light.ino: In function 'void LightInit()':
- xdrv_01_light:381: error: 'Ws2812Init' was not declared in this scope
- Ws2812Init();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_01_light.ino: In function 'void LightPreparePower()':
- xdrv_01_light:545: error: 'DomoticzUpdatePowerState' was not declared in this scope
- DomoticzUpdatePowerState(devices_present);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_01_light.ino: In function 'void LightSetPower()':
- xdrv_01_light:646: error: 'LightAnimate' was not declared in this scope
- LightAnimate();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_01_light.ino: In function 'void LightAnimate()':
- xdrv_01_light:722: error: 'Ws2812ShowScheme' was not declared in this scope
- Ws2812ShowScheme(Settings.light_scheme -LS_MAX);
- ^
- xdrv_01_light:753: error: 'Ws2812SetColor' was not declared in this scope
- Ws2812SetColor(0, cur_col[0], cur_col[1], cur_col[2], cur_col[3]);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_01_light.ino: In function 'boolean LightCommand()':
- xdrv_01_light:1047: error: 'Ws2812SetColor' was not declared in this scope
- Ws2812SetColor(XdrvMailbox.index, light_entry_color[0], light_entry_color[1], light_entry_color[2], light_entry_color[3]);
- ^
- xdrv_01_light:1050: error: 'Ws2812GetColor' was not declared in this scope
- snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_COMMAND_INDEX_SVALUE, command, XdrvMailbox.index, Ws2812GetColor(XdrvMailbox.index, scolor));
- ^
- xdrv_01_light:1055: error: 'Ws2812Clear' was not declared in this scope
- Ws2812Clear();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_02_irremote.ino: In function 'void IrReceiveCheck()':
- xdrv_02_irremote:115: error: 'DomoticzSensor' was not declared in this scope
- DomoticzSensor(DZ_COUNT, value); // Send data as Domoticz Counter value
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_03_energy.ino: In function 'void EnergyMarginCheck()':
- xdrv_03_energy:559: error: 'EnergyMqttShow' was not declared in this scope
- EnergyMqttShow();
- ^
- xdrv_03_energy:574: error: 'EnergyMqttShow' was not declared in this scope
- EnergyMqttShow();
- ^
- xdrv_03_energy:601: error: 'EnergyMqttShow' was not declared in this scope
- EnergyMqttShow();
- ^
- xdrv_03_energy:622: error: 'EnergyMqttShow' was not declared in this scope
- EnergyMqttShow();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_03_energy.ino: In function 'void EnergyMqttShow()':
- xdrv_03_energy:633: error: 'EnergyShow' was not declared in this scope
- EnergyShow(1);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_03_energy.ino: In function 'void EnergyShow(boolean)':
- xdrv_03_energy:912: error: 'DomoticzSensorPowerEnergy' was not declared in this scope
- DomoticzSensorPowerEnergy((uint16_t)energy_power, energy_total_chr); // PowerUsage, EnergyToday
- ^
- xdrv_03_energy:913: error: 'DomoticzSensor' was not declared in this scope
- DomoticzSensor(DZ_VOLTAGE, energy_voltage_chr); // Voltage
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_04_snfbridge.ino: In function 'void SonoffBridgeReceived()':
- xdrv_04_snfbridge:107: error: 'DomoticzSensor' was not declared in this scope
- DomoticzSensor(DZ_COUNT, received_id); // Send rid as Domoticz Counter value
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_interface.ino: In function 'void XDrvInit()':
- xdrv_interface:70: error: 'XdrvCall' was not declared in this scope
- XdrvCall(FUNC_INIT);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_interface.ino: In function 'boolean XdrvCommand(char*, uint16_t, char*, uint16_t, int16_t)':
- xdrv_interface:82: error: 'XdrvCall' was not declared in this scope
- return XdrvCall(FUNC_COMMAND);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_interface.ino: In function 'void XdrvSetPower(uint8_t)':
- xdrv_interface:90: error: 'XdrvCall' was not declared in this scope
- XdrvCall(FUNC_SET_POWER);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xdrv_interface.ino: In function 'boolean XdrvMqttData(char*, uint16_t, char*, uint16_t)':
- xdrv_interface:100: error: 'XdrvCall' was not declared in this scope
- return XdrvCall(FUNC_MQTT_DATA);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xplg_ws2812.ino: In function 'void Ws2812Init()':
- xplg_ws2812:322: error: 'Ws2812Clear' was not declared in this scope
- Ws2812Clear();
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xsns_07_sht1x.ino: In function 'boolean ShtReset()':
- xsns_07_sht1x:50: error: 'ShtSendCommand' was not declared in this scope
- boolean success = ShtSendCommand(SHT1X_CMD_SOFT_RESET);
- ^
- H:\Arduino\arduino-1.8.5\portable\sketchbook\Sonoff\xsns_interface.ino: In function 'void XSnsInit()':
- xsns_interface:110: error: 'XsnsCall' was not declared in this scope
- XsnsCall(FUNC_INIT);
- ^
- exit status 1
- 'RtcSettings' was not declared in this scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement