Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Error compiling ...
#3

(04-07-2018, 14:05)Werk_AG Wrote:  Hi,

Can you please give me more details. This line:
Code:
sCmd.setNullHandler (cmdWake);
isn't present on the code.

Line 516 from what part of the code?

Code:
/***************************************************************************  WeatherDuino Pro2 Compact Base Unit / RF Receiver  Compatible with Cumulus1, CumulusMX, WeatherDisplay, WeewX, and virtualy any software with support for a Davis VantagePro  RX Boards Compatibility   : WeatherDuino Pro2 Compact RX Board Series v1.xx  TX Software Compatibility : WeatherDuino Pro2 Universal TX v6.x  Version                : P2ESP8266_RX_v1.0_b014  (Compile with Arduino 1.8.3 or newer)  Version Release date   : xx/xx/2018  Last revision date     : 10/06/2018  Licence                : GNU GPLv3  Author                 : Werk_AG (MeteoCercal)  Support Forum          : http://www.meteocercal.info/forum ... ... ... //---------------------------------------------------------  //     Davis LOOP commands  //---------------------------------------------------------  // Initialize the loop data array  memcpy(&loopData, &loopInit, sizeof(loopInit));  memcpy(&loop2Data, &loop2Init, sizeof(loop2Init));  //Setup callbacks for SerialCommand commands  sCmd.addCommand("LOOP", cmdLoop);           // Send the loop data  sCmd.addCommand("LPS", cmdLoop2);           // Send the loop2 data  sCmd.addCommand("NVER", cmdNver);           // Send the version string  //sCmd.addCommand("TEST", cmdTest);           // Echo's "TEST"  sCmd.addCommand("VER", cmdVer);             // Send the associated date for this version  sCmd.addCommand("WRD\x12M", cmdWRD);        // Support the Davis legacy "WRD" command  sCmd.addCommand("GETTIME", cmdGettime);     // Send back current RTC date/time  sCmd.addCommand("SETTIME", cmdSettime);     // Update current RTC date/time from PC  sCmd.addCommand("EEBRD", cmdEebrd);         // EEPROM Read  sCmd.setDefaultHandler(cmdUnrecognized);    // Handler for command that isn't matched //  sCmd.setNullHandler(cmdWake);               // Handler for an empty line to wake the simulated console  sCmd.addCommand("RXCHECK", cmdRxCheck);     // RX diagnostics (Implementated just to avoid error on the logs)  sCmd.addCommand("BARDATA", cmdBardata);     // Barometer calibration data


This is the line that gives error:

516  //  sCmd.setNullHandler(cmdWake);               // Handler for an empty line to wake the simulated console

Thank you,
M.
Reply


Messages In This Thread
Error compiling ... - by mikelone - 04-07-2018, 11:54
RE: Error compiling ... - by werk_ag - 04-07-2018, 14:05
RE: Error compiling ... - by mikelone - 04-07-2018, 15:58
RE: Error compiling ... - by werk_ag - 04-07-2018, 22:24
RE: Error compiling ... - by mikelone - 08-07-2018, 17:39
RE: Error compiling ... - by werk_ag - 08-07-2018, 20:58
RE: Error compiling ... - by t3gathome - 08-07-2018, 21:11
RE: Error compiling ... - by werk_ag - 08-07-2018, 22:04
RE: Error compiling ... - by mikelone - 08-07-2018, 22:54
RE: Error compiling ... - by werk_ag - 08-07-2018, 23:20



Users browsing this thread: 1 Guest(s)