Skip to content
Snippets Groups Projects
  1. Jan 24, 2015
    • Nils Schneider's avatar
      announce neighbours using alfred/gluon-announce · 2e0e24a9
      Nils Schneider authored
      This adds a new announce.d datum "neighbours" (alfred 160) containing
      information about mesh neighbours. It's intended to be an replacement
      for batadv-vis.
      
      In addition to the data already provided by batadv-vis it'll also
      provide information about direct wifi neighbours.
      
      Unlike batadv-vis, no data about clients is transmitted.
      
      Sample data:
      
          {
            "wifi": {
              "90:f6:52:82:06:02": {
                "neighbours": {
                  "f8:d1:11:2c:a7:d2": {
                    "noise": -95,
                    "inactive": 0,
                    "signal": 0
                  },
                  "96:f6:52:ff:cd:6f": {
                    "noise": -95,
                    "inactive": 0,
                    "signal": -37
                  }
                }
              }
            },
            "batadv": {
              "90:f6:52:82:06:02": {
                "neighbours": {
                  "96:f6:52:ff:cd:6f": {
                    "lastseen": 2.8500000000000001,
                    "tq": 177
                  }
                }
              },
              "90:f6:52:82:06:03": {
                "neighbours": {
                  "f8:d1:11:2c:a7:d3": {
                    "lastseen": 2.3500000000000001,
                    "tq": 206
                  }
                }
              }
            },
            "node_id": "90f652820602"
          }
      2e0e24a9
  2. Sep 11, 2014
  3. Jul 20, 2014
    • Nils Schneider's avatar
      0a3bf70d
    • Nils Schneider's avatar
      gluon-core: add unique node_id · a9c22c5a
      Nils Schneider authored
      This adds a `node_id` to announce.d. `node_id` is an hex-number uniquely
      identifying a particular node. On nodes having a
      primary MAC this MAC address will be used as `node_id` (sans the
      colons). The value is opaque. It must not be converted back into
      a MAC address.
      
      `node_id` should be sent in all alfred and announced packets to
      ensure clients can link the data to a particular node.
      a9c22c5a
Loading