Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/BrewLogger.h:38:18: error: no matching function for call to 'BrewLogger::TwoWire::TwoWire()'
- In file included from src/ui.h:18:0,
- from src/BrewManiac.cpp:353:
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:68:5: note: candidate: BrewLogger::TwoWire::TwoWire(uint8_t)
- TwoWire(uint8_t bus_num);
- ^
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:68:5: note: candidate expects 1 argument, 0 provided
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:38:7: note: candidate: constexpr BrewLogger::TwoWire::TwoWire(const BrewLogger::TwoWire&)
- class TwoWire: public Stream
- ^
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:38:7: note: candidate expects 1 argument, 0 provided
- In file included from src/BrewManiac.cpp:34:0:
- src/BrewLogger.h:38:18: error: no matching function for call to 'BrewLogger::TwoWire::TwoWire()'
- BrewLogger(void){
- ^
- In file included from src/ui.h:18:0,
- from src/BrewManiac.cpp:353:
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:68:5: note: candidate: BrewLogger::TwoWire::TwoWire(uint8_t)
- TwoWire(uint8_t bus_num);
- ^
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:68:5: note: candidate expects 1 argument, 0 provided
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:38:7: note: candidate: constexpr BrewLogger::TwoWire::TwoWire(const BrewLogger::TwoWire&)
- class TwoWire: public Stream
- ^
- /home/name/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:38:7: note: candidate expects 1 argument, 0 provided
- In file included from src/BrewManiac.cpp:34:0:
- src/BrewLogger.h: In member function 'void BrewLogger::endSession()':
- src/BrewLogger.h:128:29: error: 'newLogFileIndex' was not declared in this scope
- int fidx=newLogFileIndex();
- ^
- In file included from src/BrewManiac.cpp:34:0:
- src/BrewLogger.h: In member function 'FileInfo* BrewLogger::getLogFileInfo()':
- src/BrewLogger.h:243:15: error: 'loadIdxFile' was not declared in this scope
- loadIdxFile();
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::startLog(bool)':
- src/BrewLogger.h:299:35: error: 'writeToFile' was not declared in this scope
- writeToFile(_logBuffer,_logIndex);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addSetPoint()':
- src/BrewLogger.h:331:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,4);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addTemperature(float)':
- src/BrewLogger.h:349:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addEvent(byte)':
- src/BrewLogger.h:358:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addStage(byte)':
- src/BrewLogger.h:368:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addResumeTag()':
- src/BrewLogger.h:378:21: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::processSavedData(char*, size_t)':
- src/BrewLogger.h:480:2: error: a function-definition is not allowed here before '{' token
- {
- ^
- src/BrewLogger.h:488:2: error: a function-definition is not allowed here before '{' token
- {
- ^
- src/BrewLogger.h:554:1: error: expected '}' at end of input
- };
- ^
- In file included from src/BrewManiac.cpp:353:0:
- src/ui.h: In member function 'void BrewLogger::uiLcdAssignSymbol(byte, BrewLogger::SymbolId)':
- src/ui.h:370:69: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- #define CreatecCustomChar(buff,idx,bm) uiGetBitmap((byte*)buff,bm); lcd.createChar(idx,(byte*)buff)
- ^
- src/ui.h:387:2: note: in expansion of macro 'CreatecCustomChar'
- CreatecCustomChar(buffer,sid,bitmap);
- ^
- src/ui.h: In member function 'void BrewLogger::uiScanLcdAddress()':
- src/ui.h:404:5: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.updateAddress(address);
- ^
- src/ui.h: In member function 'void BrewLogger::uiLcdPrint(byte, byte, char*)':
- src/ui.h:413:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.setCursor(col,row);
- ^
- src/ui.h:418:3: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.write(*p);
- ^
- src/ui.h: In member function 'void BrewLogger::uiLcdClear(byte, byte, byte)':
- src/ui.h:437:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.setCursor(col,row);
- ^
- src/ui.h:439:3: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.write(' ');
- ^
- src/ui.h: In member function 'void BrewLogger::uiLcdClearAll()':
- src/ui.h:448:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.clear();
- ^
- src/ui.h: In member function 'void BrewLogger::uiLcdLine(byte, byte, byte)':
- src/ui.h:454:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.setCursor(col,row);
- ^
- src/ui.h:456:3: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.write('-');
- ^
- src/ui.h: In member function 'void BrewLogger::uiLcdDrawSymbol(byte, byte, byte)':
- src/ui.h:465:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.setCursor(col,row);
- ^
- src/ui.h:466:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.write((char)sid);
- ^
- src/ui.h: In member function 'void BrewLogger::uiLcdDrawSymbolBmp(byte, byte, BrewLogger::SymbolId)':
- src/ui.h:370:69: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- #define CreatecCustomChar(buff,idx,bm) uiGetBitmap((byte*)buff,bm); lcd.createChar(idx,(byte*)buff)
- ^
- src/ui.h:476:5: note: in expansion of macro 'CreatecCustomChar'
- CreatecCustomChar(buffer,LcdCharReserved,bitmap);
- ^
- src/ui.h:477:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.setCursor(col,row);
- ^
- src/ui.h:478:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.write(LcdCharReserved);
- ^
- src/ui.h: In member function 'void BrewLogger::uiLcdInitialize()':
- src/ui.h:490:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.begin(20,4);
- ^
- src/ui.h: In member function 'void BrewLogger::refreshLcdDisplay()':
- src/ui.h:495:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.begin(20,4);
- ^
- src/ui.h:496:2: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.clear();
- ^
- src/ui.h:499:3: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.setCursor(0,i);
- ^
- src/ui.h:502:5: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.write(_lcdBuffer[i][j]);
- ^
- src/ui.h:370:69: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- #define CreatecCustomChar(buff,idx,bm) uiGetBitmap((byte*)buff,bm); lcd.createChar(idx,(byte*)buff)
- ^
- src/ui.h:509:9: note: in expansion of macro 'CreatecCustomChar'
- CreatecCustomChar(buffer,LcdCharReserved,bitmap);
- ^
- src/ui.h:510:6: error: '((BrewLogger*)this)->BrewLogger::lcd' does not have class type
- lcd.write(LcdCharReserved);
- ^
- In file included from .pio/libdeps/esp32-dev/ArduinoJson/src/ArduinoJson/Array/../Variant/VariantData.hpp:8:0,
- from .pio/libdeps/esp32-dev/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:7,
- from .pio/libdeps/esp32-dev/ArduinoJson/src/ArduinoJson.hpp:17,
- from .pio/libdeps/esp32-dev/ArduinoJson/src/ArduinoJson.h:9,
- from src/BrewManiacWeb.h:6,
- from src/wi.h:8,
- from src/BrewManiac.cpp:355:
- .pio/libdeps/esp32-dev/ArduinoJson/src/ArduinoJson/Array/../Variant/../Numbers/convertNumber.hpp: At global scope:
- .pio/libdeps/esp32-dev/ArduinoJson/src/ArduinoJson/Array/../Variant/../Numbers/convertNumber.hpp:12:28: error: expected unqualified-id before end of line
- .pio/libdeps/esp32-dev/ArduinoJson/src/ArduinoJson/Array/../Variant/../Numbers/convertNumber.hpp:12:28: error: expected declaration before end of line
- *** [.pio/build/esp32-dev/src/BrewManiac.cpp.o] Error 1
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:556:19: error: storage class specified for 'brewLogger'
- extern BrewLogger brewLogger;
- ^
- src/BrewLogger.h:556:19: error: field 'brewLogger' has incomplete type 'BrewLogger'
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:34:7: note: definition of 'class BrewLogger' is not complete until the closing brace
- class BrewLogger
- ^
- src/BrewManiacEx.cpp:56:30: error: storage class specified for 'brewmaniac_setup'
- extern bool brewmaniac_setup();
- ^
- src/BrewManiacEx.cpp:58:29: error: storage class specified for 'brewmaniac_loop'
- extern void brewmaniac_loop();
- ^
- src/BrewManiacEx.cpp:60:33: error: storage class specified for 'startBrewManiac'
- extern void startBrewManiac(void);
- ^
- src/BrewManiacEx.cpp:62:58: error: storage class specified for 'getContentType'
- extern const String getContentType(const String& filename);
- ^
- src/BrewManiacEx.cpp:125:23: error: expected identifier before numeric constant
- AsyncWebServer server(80);
- ^
- src/BrewManiacEx.cpp:125:23: error: expected ',' or '...' before numeric constant
- src/BrewManiacEx.cpp:130:12: error: field 'brewLogger' has incomplete type 'BrewLogger'
- BrewLogger brewLogger;
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:34:7: note: definition of 'class BrewLogger' is not complete until the closing brace
- class BrewLogger
- ^
- src/BrewManiacEx.cpp:130:12: error: redeclaration of '<typeprefixerror>BrewLogger::brewLogger'
- BrewLogger brewLogger;
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:556:19: note: previous declaration '<typeprefixerror>BrewLogger::brewLogger'
- extern BrewLogger brewLogger;
- ^
- src/BrewManiacEx.cpp:139:90: error: storage class specified for 'getEmbeddedFile'
- extern const uint8_t* getEmbeddedFile(const char* filename,bool &gzip, unsigned int &size);
- ^
- src/BrewManiacEx.cpp:68:18: error: expected identifier before string constant
- #define WS_PATH "/ws"
- ^
- src/BrewManiacEx.cpp:1037:19: note: in expansion of macro 'WS_PATH'
- AsyncWebSocket ws(WS_PATH);
- ^
- src/BrewManiacEx.cpp:68:18: error: expected ',' or '...' before string constant
- #define WS_PATH "/ws"
- ^
- src/BrewManiacEx.cpp:1037:19: note: in expansion of macro 'WS_PATH'
- AsyncWebSocket ws(WS_PATH);
- ^
- src/BrewManiacEx.cpp:1039:53: error: storage class specified for 'printSensorAddress'
- extern void printSensorAddress(char *buf, byte *addr);
- ^
- In file included from src/BrewManiacEx.cpp:32:0:
- src/config.h:186:29: error: expected identifier before string constant
- #define FIRMWARE_UPDATE_URL "http://brew.vito.tw/bmeupdate.php?info"
- ^
- src/BrewManiacEx.cpp:1396:37: note: in expansion of macro 'FIRMWARE_UPDATE_URL'
- HttpUpdateHandler httpUpdateHandler(FIRMWARE_UPDATE_URL);
- ^
- src/config.h:186:29: error: expected ',' or '...' before string constant
- #define FIRMWARE_UPDATE_URL "http://brew.vito.tw/bmeupdate.php?info"
- ^
- src/BrewManiacEx.cpp:1396:37: note: in expansion of macro 'FIRMWARE_UPDATE_URL'
- HttpUpdateHandler httpUpdateHandler(FIRMWARE_UPDATE_URL);
- ^
- src/BrewManiacEx.cpp:1602:22: error: 'long unsigned int BrewLogger::_time' conflicts with a previous declaration
- static unsigned long _time;
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:258:11: note: previous declaration 'uint32_t BrewLogger::_time'
- uint32_t _time;
- ^
- src/BrewManiacEx.cpp:1604:6: error: 'void BrewLogger::requestRestart(bool)' cannot be overloaded
- void requestRestart(bool disc)
- ^
- src/BrewManiacEx.cpp:465:6: error: with 'void BrewLogger::requestRestart(bool)'
- void requestRestart(bool disc);
- ^
- src/BrewManiacEx.cpp:1666:1: error: expected '}' at end of input
- }
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h: In member function 'void BrewLogger::endSession()':
- src/BrewLogger.h:128:29: error: 'newLogFileIndex' was not declared in this scope
- int fidx=newLogFileIndex();
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h: In member function 'FileInfo* BrewLogger::getLogFileInfo()':
- src/BrewLogger.h:243:15: error: 'loadIdxFile' was not declared in this scope
- loadIdxFile();
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::startLog(bool)':
- src/BrewLogger.h:299:35: error: 'writeToFile' was not declared in this scope
- writeToFile(_logBuffer,_logIndex);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addSetPoint()':
- src/BrewLogger.h:331:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,4);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addTemperature(float)':
- src/BrewLogger.h:349:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addEvent(byte)':
- src/BrewLogger.h:358:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addStage(byte)':
- src/BrewLogger.h:368:20: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::addResumeTag()':
- src/BrewLogger.h:378:21: error: 'writeToFile' was not declared in this scope
- writeToFile(ptr,2);
- ^
- src/BrewLogger.h: In member function 'void BrewLogger::processSavedData(char*, size_t)':
- src/BrewLogger.h:480:2: error: a function-definition is not allowed here before '{' token
- {
- ^
- src/BrewLogger.h:488:2: error: a function-definition is not allowed here before '{' token
- {
- ^
- src/BrewLogger.h:554:1: error: expected '}' at end of input
- };
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::RecipeFileHandler::listDirectory(const String&, String&)':
- src/BrewManiacEx.cpp:227:14: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- File dir = FileSystem.open(path);
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp: In member function 'virtual void BrewLogger::RecipeFileHandler::handleRequest(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:275:6: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- FileSystem.remove(file.c_str());
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:276:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:279:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:283:28: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:289:10: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if( FileSystem.exists(file)){
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:291:30: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:294:30: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,500);
- ^
- src/BrewManiacEx.cpp:297:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,401);
- ^
- src/BrewManiacEx.cpp:302:28: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,404);
- ^
- src/BrewManiacEx.cpp:311:54: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200, "application/json",list);
- ^
- src/BrewManiacEx.cpp:314:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,401);
- ^
- src/BrewManiacEx.cpp:316:28: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:321:24: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- requestSend(request,FileSystem,request->url());
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp: In member function 'virtual void BrewLogger::RecipeFileHandler::handleUpload(AsyncWebServerRequest*, const String&, size_t, uint8_t*, size_t, bool)':
- src/BrewManiacEx.cpp:330:32: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- request->_tempFile = FileSystem.open(file, "w");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp: In member function 'virtual bool BrewLogger::RecipeFileHandler::canHandle(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:354:13: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- return FileSystem.exists(request->url());
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:356:12: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- return FileSystem.exists(request->url());
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp: In member function 'virtual void BrewLogger::TemperatureLogHandler::handleRequest(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:380:5: error: invalid use of non-static data member 'BrewLogger::brewLogger'
- brewLogger.createFilename(buf,index);
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:556:19: note: declared here
- extern BrewLogger brewLogger;
- ^
- src/BrewManiacEx.cpp:381:8: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if(FileSystem.exists(buf)){
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:382:26: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- requestSend(request,FileSystem,buf,"application/octet-stream");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:384:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,404);
- ^
- src/BrewManiacEx.cpp:388:20: error: invalid use of non-static data member 'BrewLogger::brewLogger'
- FileInfo* list=brewLogger.getLogFileInfo();
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:556:19: note: declared here
- extern BrewLogger brewLogger;
- ^
- src/BrewManiacEx.cpp:403:54: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200, "application/json;",json);
- ^
- src/BrewManiacEx.cpp:414:15: error: invalid use of non-static data member 'BrewLogger::brewLogger'
- size_t size=brewLogger.beginCopyAfter(offset);
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:556:19: note: declared here
- extern BrewLogger brewLogger;
- ^
- src/BrewManiacEx.cpp: In lambda function:
- src/BrewManiacEx.cpp:417:12: error: invalid use of non-static data member 'BrewLogger::brewLogger'
- return brewLogger.read(buffer, maxLen,index);
- ^
- In file included from src/BrewManiacEx.cpp:53:0:
- src/BrewLogger.h:556:19: note: declared here
- extern BrewLogger brewLogger;
- ^
- src/BrewManiacEx.cpp: In member function 'virtual void BrewLogger::TemperatureLogHandler::handleRequest(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:419:32: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, AsyncWebServerResponse*)' without object
- requestSend(request,response);
- ^
- src/BrewManiacEx.cpp:421:27: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,204);
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::NetworkConfig::configString(String&)':
- src/BrewManiacEx.cpp:476:17: error: invalid use of non-static data member 'BrewLogger::_gHostname'
- doc["host"] = _gHostname;
- ^
- src/BrewManiacEx.cpp:108:30: note: declared here
- char _gHostname[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:477:16: error: invalid use of non-static data member 'BrewLogger::_gUsername'
- doc["user"] =_gUsername;
- ^
- src/BrewManiacEx.cpp:109:30: note: declared here
- char _gUsername[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:478:16: error: invalid use of non-static data member 'BrewLogger::_gPassword'
- doc["pass"] =_gPassword;
- ^
- src/BrewManiacEx.cpp:110:30: note: declared here
- char _gPassword[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:479:20: error: invalid use of non-static data member 'BrewLogger::_gSecuredAccess'
- doc["secured"] = _gSecuredAccess? 1:0;
- ^
- src/BrewManiacEx.cpp:111:6: note: declared here
- bool _gSecuredAccess;
- ^
- src/BrewManiacEx.cpp: In member function 'bool BrewLogger::NetworkConfig::saveConfig()':
- src/BrewManiacEx.cpp:493:15: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- File config=FileSystem.open(CONFIG_FILENAME,"w+");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::NetworkConfig::handleNetworkDisconnect(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:511:26: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::NetworkConfig::handleNetCfg(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:531:28: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,404);
- ^
- src/BrewManiacEx.cpp:535:16: error: invalid use of non-static data member 'BrewLogger::_gUsername'
- || (strcmp(_gUsername,root["user"]) !=0)
- ^
- src/BrewManiacEx.cpp:109:30: note: declared here
- char _gUsername[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:536:16: error: invalid use of non-static data member 'BrewLogger::_gPassword'
- || (strcmp(_gPassword,root["pass"]) !=0) ){
- ^
- src/BrewManiacEx.cpp:110:30: note: declared here
- char _gPassword[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:538:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:542:24: error: cannot call member function 'void BrewLogger::requestRestart(bool)' without object
- requestRestart(true);
- ^
- src/BrewManiacEx.cpp:543:30: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:548:12: error: invalid use of non-static data member 'BrewLogger::_gHostname'
- strcpy(_gHostname,root["host"]);
- ^
- src/BrewManiacEx.cpp:108:30: note: declared here
- char _gHostname[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:552:12: error: invalid use of non-static data member 'BrewLogger::_gUsername'
- strcpy(_gUsername,root["nuser"]);
- ^
- src/BrewManiacEx.cpp:109:30: note: declared here
- char _gUsername[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:556:12: error: invalid use of non-static data member 'BrewLogger::_gPassword'
- strcpy(_gPassword,root["npass"]);
- ^
- src/BrewManiacEx.cpp:110:30: note: declared here
- char _gPassword[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:561:5: error: invalid use of non-static data member 'BrewLogger::_gSecuredAccess'
- _gSecuredAccess =( 0 != value);
- ^
- src/BrewManiacEx.cpp:111:6: note: declared here
- bool _gSecuredAccess;
- ^
- src/BrewManiacEx.cpp:565:28: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:567:28: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,500);
- ^
- src/BrewManiacEx.cpp:571:7: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if(FileSystem.exists(CONFIG_FILENAME)){
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:572:25: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- requestSend(request,FileSystem,CONFIG_FILENAME, "application/json");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:576:52: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200, "application/json",rsp);
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::NetworkConfig::loadSetting()':
- src/BrewManiacEx.cpp:591:11: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- File fh=FileSystem.open(CONFIG_FILENAME,"r+");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:625:13: error: invalid use of non-static data member 'BrewLogger::_gHostname'
- strcpy(_gHostname,Default_HOSTNAME);
- ^
- src/BrewManiacEx.cpp:108:30: note: declared here
- char _gHostname[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:626:13: error: invalid use of non-static data member 'BrewLogger::_gUsername'
- strcpy(_gUsername,Default_USERNAME);
- ^
- src/BrewManiacEx.cpp:109:30: note: declared here
- char _gUsername[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:627:13: error: invalid use of non-static data member 'BrewLogger::_gPassword'
- strcpy(_gPassword,Default_PASSWORD);
- ^
- src/BrewManiacEx.cpp:110:30: note: declared here
- char _gPassword[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:628:4: error: invalid use of non-static data member 'BrewLogger::_gSecuredAccess'
- _gSecuredAccess=false;
- ^
- src/BrewManiacEx.cpp:111:6: note: declared here
- bool _gSecuredAccess;
- ^
- src/BrewManiacEx.cpp:634:13: error: invalid use of non-static data member 'BrewLogger::_gHostname'
- strcpy(_gHostname,root["host"].as<String>().c_str());
- ^
- src/BrewManiacEx.cpp:108:30: note: declared here
- char _gHostname[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:635:13: error: invalid use of non-static data member 'BrewLogger::_gUsername'
- strcpy(_gUsername,root["user"].as<String>().c_str());
- ^
- src/BrewManiacEx.cpp:109:30: note: declared here
- char _gUsername[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:636:13: error: invalid use of non-static data member 'BrewLogger::_gPassword'
- strcpy(_gPassword,root["pass"].as<String>().c_str());
- ^
- src/BrewManiacEx.cpp:110:30: note: declared here
- char _gPassword[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:637:6: error: invalid use of non-static data member 'BrewLogger::_gSecuredAccess'
- _gSecuredAccess=(root.containsKey("secured"))? (bool)(root["secured"]):false;
- ^
- src/BrewManiacEx.cpp:111:6: note: declared here
- bool _gSecuredAccess;
- ^
- src/BrewManiacEx.cpp:643:81: error: cannot call member function 'IPAddress BrewLogger::scanIP(const char*)' without object
- IPAddress ip=root.containsKey("ip")? scanIP(root["ip"].as<String>().c_str()):INADDR_NONE;
- ^
- src/BrewManiacEx.cpp:644:81: error: cannot call member function 'IPAddress BrewLogger::scanIP(const char*)' without object
- IPAddress gw=root.containsKey("gw")? scanIP(root["gw"].as<String>().c_str()):INADDR_NONE;
- ^
- src/BrewManiacEx.cpp:645:81: error: cannot call member function 'IPAddress BrewLogger::scanIP(const char*)' without object
- IPAddress nm=root.containsKey("nm")? scanIP(root["nm"].as<String>().c_str()):INADDR_NONE;
- ^
- src/BrewManiacEx.cpp: In member function 'bool BrewLogger::FileReader::prepare(String, int, int)':
- src/BrewManiacEx.cpp:677:11: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- _file = FileSystem.open(filename, "r+");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp: In member function 'virtual void BrewLogger::BmwHandler::handleRequest(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:726:6: error: invalid use of non-static data member 'BrewLogger::_gSecuredAccess'
- if(_gSecuredAccess && !request->authenticate(_gUsername, _gPassword))
- ^
- src/BrewManiacEx.cpp:111:6: note: declared here
- bool _gSecuredAccess;
- ^
- src/BrewManiacEx.cpp:726:48: error: invalid use of non-static data member 'BrewLogger::_gUsername'
- if(_gSecuredAccess && !request->authenticate(_gUsername, _gPassword))
- ^
- src/BrewManiacEx.cpp:109:30: note: declared here
- char _gUsername[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:726:60: error: invalid use of non-static data member 'BrewLogger::_gPassword'
- if(_gSecuredAccess && !request->authenticate(_gUsername, _gPassword))
- ^
- src/BrewManiacEx.cpp:110:30: note: declared here
- char _gPassword[MaxNameLength];
- ^
- src/BrewManiacEx.cpp:733:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:735:33: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- else requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:738:5: error: invalid use of non-static data member 'BrewLogger::bmWeb'
- bmWeb.getSettings(setting);
- ^
- src/BrewManiacEx.cpp:127:15: note: declared here
- BrewManiacWeb bmWeb;
- ^
- src/BrewManiacEx.cpp:740:54: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200, "application/json", json);
- ^
- src/BrewManiacEx.cpp:753:5: error: invalid use of non-static data member 'BrewLogger::bmWeb'
- bmWeb.getAutomation(autojson);
- ^
- src/BrewManiacEx.cpp:127:15: note: declared here
- BrewManiacWeb bmWeb;
- ^
- src/BrewManiacEx.cpp:757:54: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200, "application/json", json);
- ^
- src/BrewManiacEx.cpp:762:6: error: invalid use of non-static data member 'BrewLogger::bmWeb'
- bmWeb.sendButton(code & 0xF, (code & 0xF0)!=0);
- ^
- src/BrewManiacEx.cpp:127:15: note: declared here
- BrewManiacWeb bmWeb;
- ^
- src/BrewManiacEx.cpp:763:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:765:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:771:8: error: invalid use of non-static data member 'BrewLogger::bmWeb'
- if(bmWeb.updateAutomation(data)){
- ^
- src/BrewManiacEx.cpp:127:15: note: declared here
- BrewManiacWeb bmWeb;
- ^
- src/BrewManiacEx.cpp:772:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:774:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:781:8: error: invalid use of non-static data member 'BrewLogger::bmWeb'
- if(bmWeb.updateSettings(data)){
- ^
- src/BrewManiacEx.cpp:127:15: note: declared here
- BrewManiacWeb bmWeb;
- ^
- src/BrewManiacEx.cpp:782:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,200);
- ^
- src/BrewManiacEx.cpp:784:29: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,400);
- ^
- src/BrewManiacEx.cpp:790:30: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- requestSend(request,FileSystem,AUDIO_FILE);
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:806:12: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if(FileSystem.exists(pathWithJgz)){
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:808:41: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- response = request->beginResponse(FileSystem, pathWithJgz,"application/javascript");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:811:34: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, AsyncWebServerResponse*)' without object
- requestSend(request,response);
- ^
- src/BrewManiacEx.cpp:834:44: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- response = request->beginResponse(FileSystem, path,mime);
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:837:40: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, AsyncWebServerResponse*)' without object
- requestSend(request,response);
- ^
- src/BrewManiacEx.cpp:839:17: error: invalid use of non-static data member 'BrewLogger::fileReader'
- if(! fileReader.prepare(path,start,end)) {
- ^
- src/BrewManiacEx.cpp:701:3: note: declared here
- } fileReader;
- ^
- src/BrewManiacEx.cpp:840:39: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,500);
- ^
- src/BrewManiacEx.cpp:844:84: error: invalid use of non-static data member 'BrewLogger::fileReader'
- AsyncWebServerResponse *response = request->beginResponse(mime,fileReader.size() , [](uint8_t *buffer, size_t maxLen, size_t index) -> size_t {
- ^
- src/BrewManiacEx.cpp:701:3: note: declared here
- } fileReader;
- ^
- src/BrewManiacEx.cpp: In lambda function:
- src/BrewManiacEx.cpp:845:38: error: invalid use of non-static data member 'BrewLogger::fileReader'
- return fileReader.read(buffer, maxLen, index);
- ^
- src/BrewManiacEx.cpp:701:3: note: declared here
- } fileReader;
- ^
- src/BrewManiacEx.cpp: In member function 'virtual void BrewLogger::BmwHandler::handleRequest(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:848:57: error: invalid use of non-static data member 'BrewLogger::fileReader'
- sprintf(buff,"bytes %d-%d/%d",start,fileReader.end(),fileReader.filesize());
- ^
- src/BrewManiacEx.cpp:701:3: note: declared here
- } fileReader;
- ^
- src/BrewManiacEx.cpp:848:74: error: invalid use of non-static data member 'BrewLogger::fileReader'
- sprintf(buff,"bytes %d-%d/%d",start,fileReader.end(),fileReader.filesize());
- ^
- src/BrewManiacEx.cpp:701:3: note: declared here
- } fileReader;
- ^
- src/BrewManiacEx.cpp:855:40: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, AsyncWebServerResponse*)' without object
- requestSend(request,response);
- ^
- src/BrewManiacEx.cpp:860:13: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if(FileSystem.exists(pathWithGz)){
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:864:18: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- File file=FileSystem.open(pathWithGz,"r");
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:866:30: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,500);
- ^
- src/BrewManiacEx.cpp:869:70: error: cannot call member function 'const String BrewLogger::getContentType(const String&)' without object
- response = request->beginResponse(file, path,getContentType(path));
- ^
- src/BrewManiacEx.cpp:871:37: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, AsyncWebServerResponse*)' without object
- requestSend(request,response);
- ^
- src/BrewManiacEx.cpp:873:19: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- }else if(FileSystem.exists(path)){
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:874:44: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- response = request->beginResponse(FileSystem, path);
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:876:37: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, AsyncWebServerResponse*)' without object
- requestSend(request,response);
- ^
- src/BrewManiacEx.cpp:881:64: error: cannot call member function 'const uint8_t* BrewLogger::getEmbeddedFile(const char*, bool&, unsigned int&)' without object
- const uint8_t* file=getEmbeddedFile(path.c_str(),gzip,size);
- ^
- src/BrewManiacEx.cpp:887:39: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, AsyncWebServerResponse*)' without object
- requestSend(request,response);
- ^
- src/BrewManiacEx.cpp:891:30: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- requestSend(request,500);
- ^
- src/BrewManiacEx.cpp: In member function 'virtual bool BrewLogger::BmwHandler::canHandle(AsyncWebServerRequest*)':
- src/BrewManiacEx.cpp:910:20: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- return FileSystem.exists(AUDIO_FILE);
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:925:48: error: cannot call member function 'const uint8_t* BrewLogger::getEmbeddedFile(const char*, bool&, unsigned int&)' without object
- if(getEmbeddedFile(path.c_str(),dum,dum2)) return true;
- ^
- src/BrewManiacEx.cpp:927:8: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if(FileSystem.exists(path)) return true;
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:932:13: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if(FileSystem.exists(pathWithJgz)) return true;
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp:936:10: error: invalid use of non-static data member 'BrewLogger::FileSystem'
- if(FileSystem.exists(pathWithGz)) return true;
- ^
- src/BrewManiacEx.cpp:116:17: note: declared here
- FS& FileSystem =SPIFFS;
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::broadcastMessage(String)':
- src/BrewManiacEx.cpp:1282:2: error: '((BrewLogger*)this)->BrewLogger::ws' does not have class type
- ws.textAll(msg);
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::broadcastMessage(const char*, const char*)':
- src/BrewManiacEx.cpp:1293:18: error: '((BrewLogger*)this)->BrewLogger::ws' does not have class type
- if(event==NULL) ws.textAll(msg);
- ^
- src/BrewManiacEx.cpp:1294:2: error: '((BrewLogger*)this)->BrewLogger::ws' does not have class type
- ws.textAll(String(event)+":" + msg);
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::setup()':
- src/BrewManiacEx.cpp:1489:29: error: invalid use of non-static member function
- WiFiSetup.onEvent(wiFiEvent);
- ^
- src/BrewManiacEx.cpp:1510:2: error: '((BrewLogger*)this)->BrewLogger::httpUpdateHandler' does not have class type
- httpUpdateHandler.setUrl(ONLINE_UPDATE_PATH);
- ^
- src/BrewManiacEx.cpp:1512:2: error: '((BrewLogger*)this)->BrewLogger::httpUpdateHandler' does not have class type
- httpUpdateHandler.setCredential(_gUsername,_gPassword);
- ^
- src/BrewManiacEx.cpp:1513:2: error: '((BrewLogger*)this)->BrewLogger::httpUpdateHandler' does not have class type
- httpUpdateHandler.setVersion(BME8266_VERSION);
- ^
- src/BrewManiacEx.cpp:1514:2: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.addHandler(&httpUpdateHandler);
- ^
- src/BrewManiacEx.cpp:1514:21: error: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function. Say '&BrewLogger::httpUpdateHandler' [-fpermissive]
- server.addHandler(&httpUpdateHandler);
- ^
- src/BrewManiacEx.cpp:1520:3: error: '((BrewLogger*)this)->BrewLogger::ws' does not have class type
- ws.onEvent(onWsEvent);
- ^
- src/BrewManiacEx.cpp:1521:5: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.addHandler(&ws);
- ^
- src/BrewManiacEx.cpp:1521:24: error: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function. Say '&BrewLogger::ws' [-fpermissive]
- server.addHandler(&ws);
- ^
- src/BrewManiacEx.cpp:1532:3: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.addHandler(&networkConfig);
- ^
- src/BrewManiacEx.cpp:1534:3: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.addHandler(&recipeFileHandler);
- ^
- src/BrewManiacEx.cpp:1536:3: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.addHandler(&bmwHandler);
- ^
- src/BrewManiacEx.cpp:1539:2: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.addHandler(&appleCNAHandler);
- ^
- src/BrewManiacEx.cpp:1542:2: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.addHandler(&logHandler);
- ^
- src/BrewManiacEx.cpp:1548:2: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.on("/system",[](AsyncWebServerRequest *request){
- ^
- src/BrewManiacEx.cpp:1572:2: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.onNotFound([](AsyncWebServerRequest *request){
- ^
- src/BrewManiacEx.cpp: In lambda function:
- src/BrewManiacEx.cpp:1573:26: error: 'this' was not captured for this lambda function
- requestSend(request,404);
- ^
- src/BrewManiacEx.cpp:1573:26: error: cannot call member function 'void BrewLogger::requestSend(AsyncWebServerRequest*, int, const String&, const String&)' without object
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::setup()':
- src/BrewManiacEx.cpp:1577:2: error: '((BrewLogger*)this)->BrewLogger::server' does not have class type
- server.begin();
- ^
- src/BrewManiacEx.cpp:1583:33: error: invalid use of non-static member function
- bmWeb.onEvent(bmwEventHandler);
- ^
- src/BrewManiacEx.cpp: In member function 'void BrewLogger::loop()':
- src/BrewManiacEx.cpp:1641:4: error: '((BrewLogger*)this)->BrewLogger::httpUpdateHandler' does not have class type
- httpUpdateHandler.runUpdate();
- ^
- src/BrewManiacEx.cpp: At global scope:
- src/BrewManiacEx.cpp:1666:1: error: expected unqualified-id at end of input
- }
- ^
- *** [.pio/build/esp32-dev/src/BrewManiacEx.cpp.o] Error 1
- ================================================================================ [FAILED] Took 16.23 seconds ================================================================================
- Environment Status Duration
- ------------- -------- ------------
- esp32-dev FAILED 00:00:16.23
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement