https://github.com/moiji-mobile/diag-parser
DIAG parser and to GSMTAP converter
https://github.com/moiji-mobile/diag-parser
Last synced: 17 days ago
JSON representation
DIAG parser and to GSMTAP converter
- Host: GitHub
- URL: https://github.com/moiji-mobile/diag-parser
- Owner: moiji-mobile
- License: gpl-3.0
- Created: 2016-06-09T20:10:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-27T10:37:32.000Z (over 7 years ago)
- Last Synced: 2024-04-05T18:34:10.521Z (about 1 year ago)
- Language: C
- Homepage: https://moiji-mobile.com
- Size: 446 KB
- Stars: 57
- Watchers: 12
- Forks: 32
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-telco - Diag-parser - Parse the Qualcomm DIAG format and convert 2G, 3G and 4G radio messages to Osmocom GSMTAP for analysis in wireshark and other utilities. (UE / Diagnostics, Monitor mode)
README
diag-parser
===========
[](https://travis-ci.org/moiji-mobile/diag-parser)Parse the Qualcomm DIAG format and convert 2G, 3G and 4G radio messages to
Osmocom GSMTAP for analysis in wireshark and other utilities.Building and Using
------------------Building on GNU/Linux with autoconf, automake, make, gcc, libtalloc, libtool
already installed.```
$ ./build/build_local.sh
# Use -i to configure logging using DIAG and write to net+file
$ ./diag_import -g A.B.C.D -p local_file.pcap -i /dev/ttyUSB0
# Use an existing diag file
$ ./diag_import -g A.B.C.D -p local_file.pcap trace.bin
```Dependencies
------------The system is using libosmocore of Osmocom. The build/build_loca.sh will
git clone and configure it.Usage
------h: Display the help output
-g A.B.C.D: Send GSMTAP frames to A.B.C.D:4729
-p file.pcap: Write GSMTAP to PCAP file
-i: Initialize DIAG interface on the device
Wireshark has GSMTAP display support and will automatically display
and decode GSM/3G for these frames.Devices
-------Development is done using [Quectel UC20](http://amzn.to/2bJ26Es) and
[Quectel EC20](http://amzn.to/2bQOYZI) modems inside a PCengine APU2
system.License
-------Copyright (C) 2016 Holger Hans Peter Freyther
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.See COPYING for details.
Based on the gsmparser release by SR labs