1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-18 15:54:59 +00:00
gnss-sdr/docs/protobuf/README.md

31 lines
1.3 KiB
Markdown
Raw Normal View History

2019-04-22 12:01:37 +00:00
# Custom structured data format definitions
2020-02-27 18:50:08 +00:00
<!-- prettier-ignore-start -->
2020-02-08 09:52:42 +00:00
[comment]: # (
SPDX-License-Identifier: GPL-3.0-or-later
)
[comment]: # (
SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc.es>
)
2020-02-27 18:50:08 +00:00
<!-- prettier-ignore-end -->
2020-02-08 09:52:42 +00:00
2019-04-22 12:01:37 +00:00
Files in this folder describe structured data formats that are generated by
2020-02-27 18:50:08 +00:00
GNSS-SDR. They use
[Protocol Buffers](https://developers.google.com/protocol-buffers/)'
2019-04-22 12:01:37 +00:00
[proto3](https://developers.google.com/protocol-buffers/docs/proto3) syntax.
From those files, the protocol buffer compiler creates classes that implement
automatic encoding and parsing of the protocol buffer data with an efficient
binary format. The generated classes provide getters and setters for the fields
that make up a protocol buffer and take care of the details of reading and
writing it as a unit. Importantly, the protocol buffer format supports the idea
of extending the format over time in such a way that the code can still read
data encoded with the old format.
Just grab these files if you are developing a client application for GNSS-SDR.
You are free to use C++, Java, Python, C#, Dart, Go or Ruby, among other
languages. A tutorial to create a simple application using Protocol Buffers and
a `.proto` file in C++ is available at
https://gnss-sdr.org/docs/tutorials/monitoring-software-receiver-internal-status/