System.out.println("ricevuto BeaconChildResponse childNonce:"+beaconChildResponse.getChildNonce());
// TODO verify hmac with different tree baseNonces
beaconChildResponse.verifyHmac(newTree.baseNonce, srcMacAddress);
onBeaconChildResponse(beaconChildResponse, srcInterface, srcMacAddress);
} else if(packet instanceof BeaconParentResponse){
BeaconParentResponse beaconParentResponse = (BeaconParentResponse) packet;
System.out.println("ricevuto BeaconParentResponse parentNonce:"+beaconParentResponse.getParentNonce()+" childNonce:"+beaconParentResponse.getChildNonce());
// TODO verify hmac
onBeaconParentResponse(beaconParentResponse);
} else if(packet instanceof Beacon){
// Do nothing... this might just be useful for debugging
} else {