Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Messages in the Streaming API are "flattened" for easier processing.  Consumers of the location stream should check the "type" first as these may change in a future release.

Property NameValue TypeDescriptionAlways Present
typeStringDefines packet type (e.g.: location)Yes
projectIdNumberThe project identifier this location was generated forYes
idStringThe unique identifier for the device (beacon) being trackedYes
macStringThe mac address of the device being trackedYes
floorNumberNumberThe floor number this location is determined to be on.Yes
deviceNameStringThe name of the deviceYes
latitudeNumberLatitude value (example: 25.774489)Yes
longitudeNumberLongitude value (example: -80.195160)Yes
altitudeNumberAltitude value in (tbd)Yes
varianceXNumberThe uncertainty in square meters of the X axisYes
varianceYNumberThe uncertainty in square meters of the Y axisYes
varianceZNumberThe uncertainty in square meters of the Z axisYes
locationStringCombined latitude, longitude valuesYes
timestampStringThe ISO 8601 format of the timestamp of when the packet was received by the Cloud in UTCYes

...