How to retrieve the list of all the devices detected by a specific node

There are 2 different ways in order to retrieve the list of all the devices seen by a specific node.

Using the Accuware “Stations” API

In real-time using the API described in this page (for WiFi Location Monitor) or in this page (for Bluetooth Beacon Tracker). You will be able to retrieve a list of all the devices detected by all the nodes in your site, and for each device detected, you will be able to see the list of all the nodes that have been able to detected that specific device along with the RSS detected by the nodes.

The result is an array [{…}, {…}, …] of JSON objects like the one below. Once you have the JSON below, you can parse it and for each node you can create the list of devices detected by that node.

[
    {
        "mac": "485B394AC5E9"
        "name": "Smart Phone",
        "desc": "iPhone 5",
        "lrrt": 1,
        "loc": {
            "lng": -117.114326,
            "lat": 32.91186
         },
         "rss": {
              "AC8674106778": -81,
              "AC8674102580": -63,
              "AC8674106780": -80
         }
    },
    {
        "mac": "00237698BDEC"
        "name": "Tablet",
        "desc": "iPad 3",
        "lrrt": 9,
        "loc": {
            "lng": -117.114268,
            "lat": 32.911822
        },
         "rss": {
              "AC8674106778": -40,
              "AC8674102580": -69,
              "AC8674106780": -35
         }
    },
    {
        "mac":"0072CF173037",
        "lrrt":12,
        "loc":{
            "lng":-117.114604,
            "lat":32.91195
        }
         "rss": {
              "AC8674106778": -35,
              "AC8674102580": -44,
              "AC8674106780": -52
         }
    }
]

Using the Accuware CSV service

If you do not need real-time data, you can use the Accuware CSV service in order to retrieve the MAC addresses and the RSS of the 10 nodes closest to all the devices detected. Please take a look at this page.