Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to record reference state in batman info datatype #449

Closed
javierbrk opened this issue Sep 4, 2024 · 1 comment
Closed

Not able to record reference state in batman info datatype #449

javierbrk opened this issue Sep 4, 2024 · 1 comment
Assignees
Milestone

Comments

@javierbrk
Copy link
Collaborator

javierbrk commented Sep 4, 2024

Not able to record reference state in batman info datatype
Screenshot from 2024-09-04 13-11-25
I have two nodes both of them without reference state for bat_links
The reference state response is

{"jsonrpc":"2.0","id":14,"result":[0,{"data":{"LiMe-224ad6":[],"cheche":[]},"error":0}]}

The actual state is

{
  "jsonrpc": "2.0",
  "id": 16,
  "result": [
    0,
    {
      "data": {
        "LiMe-224ad6": {
          "src_loc": {
            "long": "-64.42108",
            "lat": "-31.70714"
          },
          "links": {
            "0258471f73aa025847224ad6": {
              "dst_mac": "02:58:47:1f:73:aa",
              "last_seen_msecs": 3740,
              "tq": 243,
              "dst_loc": {
                "long": "-64.42057",
                "lat": "-31.81143"
              },
              "src_mac": "02:58:47:22:4a:d6",
              "iface": "wlan0-mesh_29"
            },
            "02cc4e1f73aa02cc4e224ad6": {
              "dst_mac": "02:cc:4e:1f:73:aa",
              "last_seen_msecs": 1500,
              "tq": 242,
              "dst_loc": {
                "long": "-64.42057",
                "lat": "-31.81143"
              },
              "src_mac": "02:cc:4e:22:4a:d6",
              "iface": "wlan2-mesh_29"
            }
          }
        },
        "cheche": {
          "src_loc": {
            "long": "-64.42057",
            "lat": "-31.81143"
          },
          "links": {
            "0258471f73aa025847224ad6": {
              "dst_mac": "02:58:47:22:4a:d6",
              "last_seen_msecs": 20,
              "tq": 255,
              "dst_loc": {
                "long": "-64.42108",
                "lat": "-31.70714"
              },
              "src_mac": "02:58:47:1f:73:aa",
              "iface": "wlan0-mesh_29"
            },
            "02cc4e1f73aa02cc4e224ad6": {
              "dst_mac": "02:cc:4e:22:4a:d6",
              "last_seen_msecs": 1220,
              "tq": 251,
              "dst_loc": {
                "long": "-64.42108",
                "lat": "-31.70714"
              },
              "src_mac": "02:cc:4e:1f:73:aa",
              "iface": "wlan2-mesh_29"
            }
          }
        }
      },
      "error": 0
    }
  ]
}
@selankon
Copy link
Collaborator

selankon commented Sep 5, 2024

This should be closed with #450

@selankon selankon closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants