parentNode and distance
- 
					
					
					
					
 Hello, Until API2.0 I was getting two informations from the nodes: - parentNode
- distance
 I was taking those informations to have an overview how far is a node and who is his parent. All that with this code: parentNode = _nc.parentNodeId; distance = _nc.distance; (...) send(msgNodeVar1.set(parentNode, 1)); send(msgNodeVar2.set(distance, 1));Now this is not working anymore... error: '_nc' was not declared in this scope parentNode = _nc.parentNodeId; ^ exit status 1 '_nc' was not declared in this scopeAny idea? Thanks, Simon 
 
- 
					
					
					
					
 This post is deleted!
 
- 
					
					
					
					
 @xefil You will find the information here: https://www.mysensors.org/apidocs/group__MyTransportgrp.html - i.e. transportGetParentNodeId()and transportGetDistanceGW()
 
- 
					
					
					
					
 
 
 
			
		
 
					
				

