Skip to content

Instantly share code, notes, and snippets.

@markuscraig
Created February 24, 2016 16:19
Show Gist options
  • Save markuscraig/92ad145a66a76d44d164 to your computer and use it in GitHub Desktop.
Save markuscraig/92ad145a66a76d44d164 to your computer and use it in GitHub Desktop.
Example MSE JSON Notification
{
"StreamingNotification" : {
"deviceId" : "f0:ad:4e:03:21:d3",
"entity" : "TAGS",
"floorRefId" : 0,
"location" : {
"BatteryInfo" : {
"batteryAge" : 0,
"daysRemaining" : 98,
"lastReceivedSeqNum" : 54,
"lastReceivedTime" : "2016-02-23T21:19:06.506-0600",
"percentRemaining" : 90,
"tolerance" : 20
},
"MapCoordinate" : {
"unit" : "FEET",
"x" : 14.146845,
"y" : 22.90933
},
"MapInfo" : {
"Dimension" : {
"height" : 10,
"length" : 50,
"offsetX" : 0,
"offsetY" : 0,
"unit" : "FEET",
"width" : 50
},
"floorRefId" : -5970138651793818000,
"mapHierarchyString" : "Emanate Wireless>Emanate Wireless Building>neils-floor"
},
"Statistics" : {
"currentServerTime" : "2016-02-23T21:19:14.813-0600",
"firstLocatedTime" : "2016-02-23T17:33:18.445-0600",
"lastLocatedTime" : "2016-02-23T21:14:12.152-0600"
},
"TelemetryData" : [ {
"lastReceivedSeqNum" : 54,
"lastReceivedTime" : "2016-02-23T21:19:06.506-0600",
"telemetryMeasurementData" : {
"bytes" : "AFUAVABJAEwAXwBTAFQAQQBUAEUAPQBQAEwAVQBHAEcARQBEAF8ASQBOAF8AQQBDAFQASQBWAEU=",
"dataBlob" : "AFUAVABJAEwAXwBTAFQAQQBUAEUAPQBQAEwAVQBHAEcARQBEAF8ASQBOAF8AQQBDAFQASQBWAEU=",
"lengthInBytes" : 56,
"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,65,0,67,0,84,0,73,0,86,0,69",
"measurementDataType" : "java.lang.String"
},
"type" : "STATUS"
} ],
"confidenceFactor" : 40,
"currentlyTracked" : true,
"lastBeaconSequenceNumber" : 54,
"lastBeaconTime" : "2016-02-23T21:19:14.813-0600",
"macAddress" : "f0:ad:4e:03:21:d3"
},
"mseUdi" : "AIR-MSE-3355-K9:V01:KQ37VL6",
"subscriptionName" : "emanate-client-location-stream",
"timestamp" : "2016-02-23T21:19:14.812-0600"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment