cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
780
Views
1
Helpful
4
Replies
Highlighted
Beginner

MSE Location API

I go to https://ipAddress/api/contextaware/v1/location/clients/b0:9f:ba:88:ba:2a  and I get the following result:

client-mac(10-13-11-24-19).jpg

At the same time, I go to https://ipAddress/api/contextaware/v1/location/clients/, the same mac address(b0:9f:ba:88:ba:2a) was not found

clients(10-13-11-24-19).jpg

4 REPLIES 4
Highlighted
Cisco Employee

Hi Cotton wu,

  

   The Real time Location APIs gives access to the location of devices that are currently being tracked by the MSE.

Please check the query parameters and conditions as per this documentation on Real Time Location API and try again.

Thanks and Regards,

Geevarghese

Highlighted

Thanks for the answer, but I think that's because fake mac.
Highlighted

We know why a MAC appears on http://ipmse/api/contextaware/v1/location/clients/clientMACaddress and not in http://ipmse/api/contextaware/v1/location/clients/

The difference is that in the first search the currentlyTracked parameter default setting is "false" while the second is "true".

The problem now is why this client has currentlyTracked="false" if it is associated to an access point?

This client doesn't move. First it has currentlyTracked="true" and later it is has currentlyTracked="false".

Could be this note the cause?

When devices are associated they PROBE much less often.  MSE only calculates location based on PROBE and not based on data packets.  In an upcoming release, we are supporting DATA RSSI and will be able to update location more often of an ASSOCIATED device.

Highlighted
Not applicable

Hello jinlianwu,

If the API HTTP GET /api/contextaware/v1/location/clients/<your-mac-id> shows currentlyTracked as FALSE, that mean the controller did not receive any 'Probes' from the device for 5 minutes. So this device will not appear in the 'Get all clients API' i.e. HTTP GET /api/contextaware/v1/location/clients


Hi Kiko,

Thanks for sharing your observations here. Please refer Re: Why do MSE API clients dissapear?

This widget could not be displayed.