Versions Compared

Key

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

...

The data stored in the S3 bucket is in Protocol Buffer format (https://developers.google.com/protocol-buffers/). Here is the "protobuf" file that can be used to generate stub code for parsing the message structure: beaconmetrics.proto (more information regarding the syntax of the .proto file can be found here).

Beacon Metrics Proto File

View file
namebeaconmetrics.proto
height250

Example usage in Java

To generate the classes you'll need to read BeaconMetrics messages you need to install the protocol buffer compiler, protoc. See here for detailed installation instructions: https://github.com/google/protobuf, e.g.

...

Code Block
languagebash
protoc --decode_raw < ~/Downloads/2017-09-29.proto.gz

For a detailed tutorial in on Protocol Buffers go here.