mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-30 09:29:58 -07:00
lib: add lte-parser crate support
This'll let us convert a Gsmtap message into a fully parsed LTE message.
This commit is contained in:
@@ -6,7 +6,7 @@ Rust code for parsing these messages. We're using [hampi](https://github.com/yst
|
||||
|
||||
## Generating the parser
|
||||
|
||||
To install the hampi tools, run:
|
||||
To install the hampi compiler, run:
|
||||
|
||||
```
|
||||
> cargo install asn1-compiler
|
||||
@@ -15,7 +15,7 @@ To install the hampi tools, run:
|
||||
To generate the parser, run:
|
||||
|
||||
```
|
||||
> ampi-rs-asn1c --codec uper --module src/lte_rrc.rs -- specs/*
|
||||
> hampi-rs-asn1c --codec uper --derive clone --derive partial-eq --derive serialize --module src/lte_rrc.rs -- specs/*
|
||||
```
|
||||
|
||||
## Sourcing the ASN.1 files
|
||||
|
||||
Reference in New Issue
Block a user