Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Aug 1, 2024
1 parent 875bde3 commit 9fe7fa2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/experiments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
The borzoi integration allows to save all relevant packet data of a TETRA cell.
We can use this data to do queries and further analysis.

## Received Packets

Using a query we can extract all saved data through the grafana explore pane: `SELECT key, value::jsonb, time, station, protocol_version FROM tetra_data WHERE $__timeFilter(time) ORDER BY time desc`.

To download the selected data as CSV click on: `Query inspector` -> `Data` -> `Download CSV`. The application `parser_example` show how to convert this data back into the correct C++ structures.
To download the selected data as CSV click on: `Query inspector` -> `Data` -> `Download CSV`. The application `packet_parser_example` show how to convert this data back into the correct C++ structures.

## Slots with CRC errors

Query: `SELECT * FROM tetra_failed_slots WHERE $__timeFilter(time) ORDER BY time desc`.

There is no example application provided showing how to convert the csv from grafana to C++ structures.
However, the principle is the same as in the `packet_parser_example`.

0 comments on commit 9fe7fa2

Please sign in to comment.