cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
827
Views
1
Helpful
2
Replies

Extracting client and RFID location data from PI

Dale Wright
Level 1
Level 1

Hello Dev community, I’m hoping you can point me in the right direction.

 

I would like to extract the location data for any client or RFID tag from my Prime Infrastructure Server.

 

Could you please point me in the right direction for any documentation relating to this subject.

I have looked over Devnet and cannot seem to find any examples relating to this exact scenario.

For ref.

 

PI Server is Ver 3.0

 

MSE is Ver 8.0.120.7

 

WLC is Ver 8.0.133.0

 

2 Replies 2

matfarre
Level 6
Level 6

Hi Dale,

If you use the synchronization services with MSE and WLC in PI server, the MSE 8.0 REST API resources are available to track RFID tag locations, see Cisco Mobility Services Engine REST API Guide, Release 8.0 - Cisco

I would have to look up how to do it in PI, see Cisco Prime Infrastructure - Programming Guides - Cisco

In MSE REST API

With ID

GET http(s)://<MSE IPADDRESS>/api/contextaware/v1/location/<clients|tags|rogueaps|rogueclients|interferers>/$id

With Query Conditions

GET http(s)://<MSE IPADDRESS>/api/contextaware/v1/location/<clients|tags|rogueaps|rogueclients|interferers>/?

QUERY PARAMETERS

ParameterDescription
idMacaddress (all), IP Address (client) or Username (client) - optional

QUERY CONDITIONS

ParameterDescription
mapHierarchyString containing campus>building>floor
currentlyTrackedBoolean if client is currently found by the MSE
locatedAfterTimeTimestamp
locatedBeforeTimeTimestamp
sortByString parameter:<asc
pageInteger
pageSizeInteger (default 5000)
dot11StatusString [“UNKNOWN”, “ASSOCIATED”, “PROBING”] - wireless client only
associatedApMacString of AP MAC address - wireless client only
ssidstring of ssid - wireless client only

Matt

Hi Matt,

That's a great help, thanks.

This will at least help me point our Dev Team in the right direction.

I was originally thinking PI was the way to go as what telemetry we extract needs to at least relate to a map or grid ref.

As MSE seems to perform the tracking but PI overlays that to a map I thought that was where we needed to look.