Wireless Access

Reply
Occasional Contributor I
Posts: 8
Registered: ‎12-29-2016

RSSI value in ALE location messages

ALE 2.0.0.11 API Guide states that RSSI value included into the location messages. We can not get the RSSI value. Do you have any idea about this situation? We use ALE in calibration mode. Also, is it possible to get proximity messages in calibration mode? 

Aruba Employee
Posts: 161
Registered: ‎02-19-2015

Re: RSSI value in ALE location messages

Hi,


The Proximity message indicates which AP is closest to the station, providing a rough location estimation of the client when ALE runs in context mode without maps. This API is available in both controller and IAP deployments.

 

We have two types of APIs, polling and publisher/subscriber APIs.

 

The Representational State Transfer (REST) polling-based API supports HTTPS GET operations by providing a specific URL for each query.In polling Location API, we wont see client RSSI value.

 

Location API queries use the following URL syntax:
https://1.2.3.4/api/v1/location?sta_eth_mac=AA:BB:CC:DD:EE:FF

 

sample output

{
Location_result": [
{
"msg":{
"sta_eth_mac": {
"addr": "c0:bd:d1:56:81:f3"
},
"sta_location_x": 17.033,
"sta_location_y": 16.5164,
"error_level": 9,
"associated": true,
"campus_id": "08FBBBBF81D937759B5DAC4963DFBC1A",
"building_id": "24C73B58A1F33C3ABE427485A9977BFF",
"floor_id": "D635A61B06673775ADFF61D70B55785C",
"hashed_sta_eth_mac": "A09B5D8F99F9BB8034A8ADBBEC11B24494981096",
"geofence_ids": true,
"loc_algorithm": "ALGORITHM_CALIBRATION",
"longitude": -122.008,
"latitude": 37.4129,
"altitude": 5,
"unit": METERS
} "
ts": 1434750262
}

 

 

The ALE publish/subscribe API uses ØMQ client libraries to allow network administrators to connect to ALE and subscribe to selected topics. Once a user has subscribed to a topic, ALE begins publishing messages and sends them to the subscribers.

 

The Location API output schema is as follows:
ØMQ endpoint “tcp://localhost:7779”
ØMQ message filter “location”
Protobuf schema
message location {
optional mac_address sta_eth_mac = 1;
optional float sta_location_x = 2;
optional float sta_location_y = 3;
optional uint32 error_level = 7;
optional bool associated = 8;
optional bytes campus_id = 9;
optional bytes building_id = 10;
optional bytes floor_id = 11;
optional bytes hashed_sta_eth_mac = 12;
repeated bytes geofence_ids = 13;
optional algorithm loc_algorithm = 14;
optional uint32 rssi_val = 15;
optional double longitude = 16;
optional double latitude = 17;
optional double altitude = 18;
optional measurement_unit unit = 19;

 

If you are using publiser/subscriber APIs then we need to subscribe topic to get feeds

 

Command to subscribe feeds

# /opt/ale/bin/feed-reader -f "topic name"

 

To list all avaialble feeds run

 

#/opt/ale/bin/feed-reader

 

Regards,

Pavan

If my post address your query, give kudos:)

Occasional Contributor I
Posts: 8
Registered: ‎12-29-2016

Re: RSSI value in ALE location messages

[ Edited ]

Hi Pavan, we already using ALE publish/subscribe API. API nbevent schema states that location messages has "rssi_val" like:

 

optional uint32 rssi_val = 15;

 

but none of the messages sent by ALE includes "rssi_val". I am sending the example location messages from my environment. Why we can not get the rssi_val?

 

This is the example location messages for a cell phone:  

 

[1] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 895325
timestamp: 1490023105
op: OP_UPDATE
topic_seq: 30795
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 3.1436
    sta_location_y: 6.29625
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[2] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 895407
timestamp: 1490023170
op: OP_UPDATE
topic_seq: 30802
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 3.1436
    sta_location_y: 6.29625
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[3] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 895975
timestamp: 1490023447
op: OP_UPDATE
topic_seq: 30818
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 3.1436
    sta_location_y: 6.29625
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[4] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 896576
timestamp: 1490023790
op: OP_UPDATE
topic_seq: 30834
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.82364
    sta_location_y: 6.84844
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[5] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 896884
timestamp: 1490023843
op: OP_UPDATE
topic_seq: 30837
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}



[6] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 897128
timestamp: 1490024065
op: OP_UPDATE
topic_seq: 30854
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[7] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 897147
timestamp: 1490024090
op: OP_UPDATE
topic_seq: 30858
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}[8] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898191
timestamp: 1490024617
op: OP_UPDATE
topic_seq: 30888
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[9] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898216
timestamp: 1490024642
op: OP_UPDATE
topic_seq: 30891
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[10] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898232
timestamp: 1490024669
op: OP_UPDATE
topic_seq: 30893
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.02766
    sta_location_y: 6.51014
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[11] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898250
timestamp: 1490024680
op: OP_UPDATE
topic_seq: 30896
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.82364
    sta_location_y: 6.84844
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[12] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898280
timestamp: 1490024691
op: OP_UPDATE
topic_seq: 30899
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.82364
    sta_location_y: 6.84844
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[13] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898290
timestamp: 1490024704
op: OP_UPDATE
topic_seq: 30902
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[14] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898311
timestamp: 1490024734
op: OP_UPDATE
topic_seq: 30906
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.02766
    sta_location_y: 6.51014
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[15] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898601
timestamp: 1490024794
op: OP_UPDATE
topic_seq: 30912
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}
Occasional Contributor I
Posts: 8
Registered: ‎12-29-2016

Re: RSSI value in ALE location messages

Hi Pavan, thanks for reply. We already use publish/subscribe API but can not get rssi_val in location messages. 

 

Here is example location message outputs :

 

[1] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 895325
timestamp: 1490023105
op: OP_UPDATE
topic_seq: 30795
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 3.1436
    sta_location_y: 6.29625
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[2] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 895407
timestamp: 1490023170
op: OP_UPDATE
topic_seq: 30802
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 3.1436
    sta_location_y: 6.29625
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[3] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 895975
timestamp: 1490023447
op: OP_UPDATE
topic_seq: 30818
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 3.1436
    sta_location_y: 6.29625
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[4] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 896576
timestamp: 1490023790
op: OP_UPDATE
topic_seq: 30834
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.82364
    sta_location_y: 6.84844
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[5] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 896884
timestamp: 1490023843
op: OP_UPDATE
topic_seq: 30837
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}



[6] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 897128
timestamp: 1490024065
op: OP_UPDATE
topic_seq: 30854
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[7] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 897147
timestamp: 1490024090
op: OP_UPDATE
topic_seq: 30858
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}[8] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898191
timestamp: 1490024617
op: OP_UPDATE
topic_seq: 30888
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[9] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898216
timestamp: 1490024642
op: OP_UPDATE
topic_seq: 30891
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[10] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898232
timestamp: 1490024669
op: OP_UPDATE
topic_seq: 30893
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.02766
    sta_location_y: 6.51014
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[11] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898250
timestamp: 1490024680
op: OP_UPDATE
topic_seq: 30896
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.82364
    sta_location_y: 6.84844
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[12] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898280
timestamp: 1490024691
op: OP_UPDATE
topic_seq: 30899
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.82364
    sta_location_y: 6.84844
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[13] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898290
timestamp: 1490024704
op: OP_UPDATE
topic_seq: 30902
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}

[14] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898311
timestamp: 1490024734
op: OP_UPDATE
topic_seq: 30906
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.02766
    sta_location_y: 6.51014
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 0
    altitude: 160
    unit: METERS
}

[15] Recv event with topic "location/xx:xx:xx:xx:xx:xx"
seq: 898601
timestamp: 1490024794
op: OP_UPDATE
topic_seq: 30912
source_id: 000E29D94766
location {
    sta_eth_mac {
        addr: xx:xx:xx:xx:xx:xx
    }
    sta_location_x: 1.50564
    sta_location_y: 7.387
    error_level: 5
    associated: true
    campus_id: AD42EEB23DD53C9383A19098DBCC89E1
    building_id: A01FAD08EB643B3EADDFCE50BC10E28F
    floor_id: 5E61AC2B78A20BE5A217798F0473ADE2
    hashed_sta_eth_mac: 5198CE0DCD26CEA5D1EC0575E1859A41BADBAF7E
    loc_algorithm: ALGORITHM_CALIBRATION
    longitude: 0
    latitude: 41.0014
    altitude: 160
    unit: METERS
}
Occasional Contributor I
Posts: 8
Registered: ‎12-29-2016

Re: RSSI value in ALE location messages

[ Edited ]

Hi Pavan, we already using Publish/Subscribe API. But incoming messages does not have rssi_val values. 

Aruba Employee
Posts: 161
Registered: ‎02-19-2015

Re: RSSI value in ALE location messages

Have you enabled all the feeds in ALE?

 

Regards,

Pavan

Aruba Employee
Posts: 161
Registered: ‎02-19-2015

Re: RSSI value in ALE location messages

We need to use calibration mode only in dense AP deployment and their is no frequent change in WLAN deployment.

 

How many APs are hearing the client and with what RSSI value? If only one APs hearing the client then try use Estimated or context with no map floor/location and check the whether we are seeing RSSI value in API?

 

Regards,

pavan

Occasional Contributor I
Posts: 8
Registered: ‎12-29-2016

Re: RSSI value in ALE location messages

[ Edited ]

Hi Pavan, thanks for your helps.

 

Have you enabled all the feeds in ALE?

What do you mean about "enabling all the feeds" ?

There is "Enable Single Ap Location Calculation"  switch which i've tried but not getting rssi_val values for both situation.

 

We need to use calibration mode only in dense AP deployment and their is no frequent change in WLAN deployment.

We are testing with 4 AP. Our AP deployments will not change too frequently.

 

How many APs are hearing the client and with what RSSI value? If only one APs hearing the client then try use Estimated or context with no map floor/location and check the whether we are seeing RSSI value in API?

How can i check the RSSI values of unassociated clients from AP CLI?

 

Can we get RSSI value at estimation mode?

 

I'll try with estimation mode as soon as possible.

Aruba Employee
Posts: 161
Registered: ‎02-19-2015

Re: RSSI value in ALE location messages

To list all avaialble feeds run

 

#/opt/ale/bin/feed-reader

 

Command to subscribe feeds

# /opt/ale/bin/feed-reader -f "topic name"

 

 

Debug RSSI issues on Aruba APs

1. show ap active : Gives a snapshot of the channel and power settings of all the APs on the controller
2. show ap monitor ap-list ap-name <myap-name> <other-options> : This gives info about all the APs that are being heard by the <myap-name> AP. This includes RSSI info, classification etc. The command has options to select a specific channel, heard-ap, rap-tyep etc.
3. show ap monitor client-list ap-name <myap-name> : Similar to the 'ap-list' command - works for clients
4. show ap monitor stats ap-name <myap-name> mac <heard-ap|client> verbose : Gives lots of info regarding packet rates for a heard ap or client.
5. show ap monitor debug status ap-name <myap-name> : Gives a general snapshot of the AM module
6. show wms ap-list : This displays the RSSI info from the controller
7. show wms counters

Occasional Contributor I
Posts: 8
Registered: ‎12-29-2016

Re: RSSI value in ALE location messages

Hi Pavan, i checked the rssi values. Most of the clients seen by 2 APs  but can not get rssi_val for this clients in location messages. 

 

I can try with estimation mode but we are planning to use calibration mode ALE. What can be done further more?

 

Thanks for helping.

Search Airheads
Showing results for 
Search instead for 
Did you mean: