[Solved] Problem updating from 2.0 to 2.1
-
Hello,
I've some problems updating from 2.0 to 2.1.
In my examples, I'm sending the node-id and the distance to my controller, to check which path is using my node.
Here the part of the code:parentNode = _nc.parentNodeId; distance = _nc.distance; Serial.print(F("Node-id: ")); Serial.println(MY_NODE_ID); Serial.print(F("Parent node id: ")); Serial.println(parentNode); Serial.print(F("Distance Node00: ")); Serial.println(distance);
Now I'm getting this error:
error: '_nc' was not declared in this scope
How to get those values now?
Thanks
Simon
-
nodeId: getNodeId()
parentNode: getParentNodeId()
distance: getDistanceGW()
-
Thank you!!
Simon
1 out of 3
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 27 days ago -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 10 days ago • bocalexandru 9 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58