Created
October 13, 2015 20:11
-
-
Save markuscraig/1c56251d888b3acffe43 to your computer and use it in GitHub Desktop.
Example MSE JSON "Streaming Notification" for an Emanate PowerPath Tag Device
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": { | |
"subscriptionName": "emanate-client-location-stream", | |
"entity": "TAGS", | |
"deviceId": "00:50:43:21:dd:30", | |
"mseUdi": "AIR-MSE-3355-K9:V01:KQ37VL6", | |
"floorRefId": 0, | |
"location": { | |
"macAddress": "00:50:43:21:dd:30", | |
"currentlyTracked": true, | |
"confidenceFactor": 32, | |
"lastBeaconTime": "2015-10-12T19:11:03.877-0500", | |
"lastBeaconSequenceNumber": 6, | |
"MapInfo": { | |
"mapHierarchyString": "Emanate Wireless>Emanate Wireless Building>neils-floor", | |
"floorRefId": -5970138651793818000, | |
"Dimension": { | |
"length": 50, | |
"width": 50, | |
"height": 10, | |
"offsetX": 0, | |
"offsetY": 0, | |
"unit": "FEET" | |
} | |
}, | |
"MapCoordinate": { | |
"x": 11.164902, | |
"y": 22.077442, | |
"unit": "FEET" | |
}, | |
"Statistics": { | |
"currentServerTime": "2015-10-12T19:11:03.877-0500", | |
"firstLocatedTime": "2015-10-12T16:57:00.558-0500", | |
"lastLocatedTime": "2015-10-12T19:06:03.250-0500" | |
}, | |
"TelemetryData": [ | |
{ | |
"type": "STATUS", | |
"lastReceivedTime": "2015-10-12T19:10:56.447-0500", | |
"lastReceivedSeqNum": 6, | |
"telemetryMeasurementData": { | |
"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", | |
"lengthInBytes": 50, | |
"bytes": "AFUAVABJAEwAXwBTAFQAQQBUAEUAPQBQAEwAVQBHAEcARQBEAF8ASQBOAF8ATwBGAEY=", | |
"dataBlob": "AFUAVABJAEwAXwBTAFQAQQBUAEUAPQBQAEwAVQBHAEcARQBEAF8ASQBOAF8ATwBGAEY=" | |
} | |
} | |
], | |
"BatteryInfo": { | |
"tolerance": 20, | |
"percentRemaining": 90, | |
"daysRemaining": 48128, | |
"batteryAge": 0, | |
"lastReceivedTime": "2015-10-12T19:10:56.447-0500", | |
"lastReceivedSeqNum": 6 | |
}, | |
"EmergencyInfo": [ | |
{ | |
"reason": "Panic Button Pressed", | |
"tamperState": "Inactive", | |
"tamperOpenedCount": 0, | |
"lastReceivedTime": "2015-10-12T18:55:54.512-0500", | |
"lastReceivedSeqNum": 3, | |
"fragmentNumber": 0, | |
"active": false | |
}, | |
{ | |
"reason": "Panic Button Pressed", | |
"tamperState": "Inactive", | |
"tamperOpenedCount": 0, | |
"lastReceivedTime": "2015-10-12T18:53:07.629-0500", | |
"lastReceivedSeqNum": 2, | |
"fragmentNumber": 0, | |
"active": false | |
}, | |
{ | |
"reason": "Panic Button Pressed", | |
"tamperState": "Inactive", | |
"tamperOpenedCount": 0, | |
"lastReceivedTime": "2015-10-12T18:49:13.592-0500", | |
"lastReceivedSeqNum": 2, | |
"fragmentNumber": 0, | |
"active": false | |
}, | |
{ | |
"reason": "Panic Button Pressed", | |
"tamperState": "Inactive", | |
"tamperOpenedCount": 0, | |
"lastReceivedTime": "2015-10-12T18:31:24.633-0500", | |
"lastReceivedSeqNum": 161, | |
"fragmentNumber": 0, | |
"active": false | |
}, | |
{ | |
"reason": "Panic Button Pressed", | |
"tamperState": "Inactive", | |
"tamperOpenedCount": 0, | |
"lastReceivedTime": "2015-10-12T17:49:03.544-0500", | |
"lastReceivedSeqNum": 149, | |
"fragmentNumber": 0, | |
"active": false | |
} | |
] | |
}, | |
"timestamp": "2015-10-12T19:11:03.875-0500" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment