Hi Patrick,
sorry for the late reply.
On Tuesday 17 May 2016 10:09:27 Patrick Bosch via B.A.T.M.A.N wrote:
Hi all
As the title suggest, I'm wondering how to read the jsondoc output correctly. It seems that every possible link is included in that output, but which one is the one that is used? If there is one link, it should be the one with the lowest metric, but what if a node has more than one link?
For example the following setup:
Node 1 | | Node 2 ------- Node 3
Here, node two would have two links. Now, if there would be some more nodes that are in the jsondoc output, how can I find out which are the links that are in use?
The nodes which appear in the jsondoc are only originators which batman-adv decided to reach directly (with one hop) - so these are direct neighbors.
Basically, all of these links would be in use from one node to its neighbor, so all of them are "in use". But you can't find out how much a link is actually used (i.e. how many packets/bytes are transmitted), or which neighbor is used to reach a distant neighbor.
Cheers, Simon