[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
3 out of 3
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Ghost Child
Troubleshooting • 28 days ago • FcNanoLed 24 days ago -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 2 days ago • Commodoreuno about 20 hours ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 23 days ago • bocalexandru 22 days ago