Created
May 10, 2016 19:33
-
-
Save markuscraig/770097c1ae53d565354af9e8b41c6093 to your computer and use it in GitHub Desktop.
Emanate 'Streaming Event' notification using the 'Cisco MSE JSON' data format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"StreamingNotification": { | |
"timestamp": "2016-05-10T12:14:38-07:00", | |
"deviceId": "11:22:33:44:55:66", | |
"subscriptionName": "Mainspring-Event-Stream", | |
"entity": "TAGS", | |
"floorRefId": 0, | |
"mseUdi": "AIR-MSE-3355-K9:V01:KQ37VL6", | |
"location": { | |
"BatteryInfo": { | |
"batteryAge": 0, | |
"daysRemaining": 100, | |
"lastReceivedSeqNum": 1, | |
"lastReceivedTime": "2016-05-10T12:14:38-07:00", | |
"percentRemaining": 100, | |
"tolerance": 20 | |
}, | |
"MapCoordinate": { | |
"unit": "FEET", | |
"x": 18.2, | |
"y": 42 | |
}, | |
"MapInfo": { | |
"Dimension": { | |
"height": 10, | |
"length": 30, | |
"offsetX": 0, | |
"offsetY": 0, | |
"unit": "FEET", | |
"width": 54 | |
}, | |
"floorRefId": -5970138651793818000, | |
"mapHierarchyString": "Emanate Wireless>Emanate Wireless Building>Emanate Wireless Floor 1" | |
}, | |
"Statistics": { | |
"currentServerTime": "2016-05-10T12:14:38-07:00", | |
"firstLocatedTime": "2016-05-10T12:14:38-07:00", | |
"lastLocatedTime": "2016-05-10T12:14:38-07:00" | |
}, | |
"TelemetryData": [{ | |
"lastReceivedSeqNum": 1, | |
"lastReceivedTime": "2016-05-10T12:14:38-07:00", | |
"telemetryMeasurementData": { | |
"bytes": "", | |
"dataBlob": "", | |
"lengthInBytes": 50, | |
"measurementData": "0,85,0,84,0,73,0,76,0,95,0,83,0,84,0,65,0,84,0,69,0,61,0,80,0,76,0,85,0,71,0,71,0,69,0,68,0,95,0,73,0,78,0,95,0,79,0,70,0,70", | |
"measurementDataType": "java.lang.String" | |
}, | |
"type": "STATUS" | |
}, { | |
"lastReceivedSeqNum": 1, | |
"lastReceivedTime": "2016-05-10T12:14:38-07:00", | |
"telemetryMeasurementData": { | |
"bytes": "", | |
"dataBlob": "", | |
"lengthInBytes": 40, | |
"measurementData": "0,68,0,79,0,79,0,82,0,95,0,79,0,80,0,69,0,78,0,95,0,80,0,69,0,82,0,67,0,69,0,78,0,84,0,61,0,49,0,53", | |
"measurementDataType": "java.lang.String" | |
}, | |
"type": "STATUS" | |
}, { | |
"lastReceivedSeqNum": 1, | |
"lastReceivedTime": "2016-05-10T12:14:38-07:00", | |
"telemetryMeasurementData": { | |
"bytes": "", | |
"dataBlob": "", | |
"lengthInBytes": 52, | |
"measurementData": "0,72,0,73,0,71,0,72,0,95,0,80,0,79,0,87,0,69,0,82,0,95,0,77,0,79,0,68,0,69,0,95,0,80,0,69,0,82,0,67,0,69,0,78,0,84,0,61,0,50,0,50", | |
"measurementDataType": "java.lang.String" | |
}, | |
"type": "STATUS" | |
}, { | |
"lastReceivedSeqNum": 1, | |
"lastReceivedTime": "2016-05-10T12:14:38-07:00", | |
"telemetryMeasurementData": { | |
"bytes": "", | |
"dataBlob": "", | |
"lengthInBytes": 4, | |
"measurementData": "11.0", | |
"measurementDataType": "java.lang.Float" | |
}, | |
"type": "TEMPERATURE", | |
"units": "degrees Celsius" | |
}], | |
"confidenceFactor": 32, | |
"currentlyTracked": true, | |
"lastBeaconSequenceNumber": 1, | |
"lastBeaconTime": "2016-05-10T12:14:38-07:00", | |
"macAddress": "11:22:33:44:55:66" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment