[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


  • Admin

    @xefil

    nodeId: getNodeId()
    parentNode: getParentNodeId()
    distance: getDistanceGW()



  • Thank you!!

    Simon


Log in to reply
 

Suggested Topics

60
Online

11.4k
Users

11.1k
Topics

112.6k
Posts