04-07-2018, 15:58
(04-07-2018, 14:05)Werk_AG Wrote: Hi,
Can you please give me more details. This line:
isn't present on the code.Code:sCmd.setNullHandler (cmdWake);
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 dataThis is the line that gives error:
516 // sCmd.setNullHandler(cmdWake); // Handler for an empty line to wake the simulated console
Thank you,
M.

