moiji-mobile / diag-parser Goto Github PK
View Code? Open in Web Editor NEWDIAG parser and to GSMTAP converter
Home Page: https://moiji-mobile.com
License: GNU General Public License v3.0
DIAG parser and to GSMTAP converter
Home Page: https://moiji-mobile.com
License: GNU General Public License v3.0
When building the diag parser using the provided build.sh , after installing all the dependencies the build does not build completely with errors as ..:
Libraries have been installed in:
/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/../install/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/src/ctrl'
make[2]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/src/ctrl'
Making install in src/sim
make[2]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/src/sim'
make[3]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/src/sim'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/src/sim'
make[2]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/src/sim'
Making install in tests
make[2]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/tests'
make[3]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/tests'
make[2]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/tests'
Making install in utils
make[2]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/utils'
make[3]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/utils'
/bin/mkdir -p '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/../install/bin'
/bin/bash ../libtool --mode=install /usr/bin/install -c osmo-arfcn osmo-auc-gen '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/../install/bin'
libtool: install: /usr/bin/install -c .libs/osmo-arfcn /home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/../install/bin/osmo-arfcn
libtool: install: /usr/bin/install -c .libs/osmo-auc-gen /home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/../install/bin/osmo-auc-gen
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/utils'
make[2]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/utils'
make[2]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore'
make[3]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore'
make[3]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/../install/lib/pkgconfig'
/usr/bin/install -c -m 644 libosmocore.pc libosmocodec.pc libosmovty.pc libosmogsm.pc libosmogb.pc libosmoctrl.pc '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore/../install/lib/pkgconfig'
make install-data-hook
make[4]: Entering directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore'
make[4]: Nothing to be done for 'install-data-hook'.
make[4]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore'
make[3]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore'
make[2]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore'
make[1]: Leaving directory '/home/ahmed/Downloads/diag-parser-mast/build/deps/libosmocore'
Hi,
I understand that Quectel uses the same Qualcomm sims as Sierra Wireless. I will like to test this in MC7354 and EM7565 Modems.
I cant see anything in UDP/4729 in Wireshark, Im getting this output in the MC7354 modem:
ppratsc@QUARKS-V:~/apps/em7565/diag-parser$ sudo ./diag_parser -g localhost -i /dev/ttyUSB0
PARSER_OK
Got 4 for 1 4
Got 4 for 1 4
Got 4 for 1 4
Got 4 for 1 4
Got 4 for 1 4
Got 5 for 1 6
Got 276 for 1 548
Got 310 for 1 616
Got 152 for 1 300
Got 383 for 1 762
Got 134 for 1 264
Got 85 for 1 166
Got 84 for 1 164
Got 404 for 1 802
Got 40 for 1 74
Got 44 for 1 82
Got 49 for 1 90
Got 72 for 1 138
Got 56 for 1 106
Got 120 for 1 234
Got 68 for 1 130
Got 132 for 1 258
Got 80 for 1 154
Got 336 for 1 666
Got 100 for 1 194
Got 28 for 1 50
Got 60 for 1 114
Got 20 for 1 34
Got 16 for 1 26
Got 108 for 1 210
Got 48 for 1 90
Got 52 for 1 98
Got 56 for 1 106
Got 32 for 1 58
Got 16 for 1 26
Got 112 for 1 218
Got 5 for 1 6
cheers!
Cool project, and thanks for taking time to simplify these things.
build_local.sh
?./diag_import -g A.B.C.D -p local_file.pcap -i /dev/ttyUSB0
Hi,
I'm trying to use the diagparser on a UC20 modem.
I was able to compile it without any issues and now when I am trying to capture the diag messages I am not sure it is working as expected:
./diag_parser -p local_file.pcap -i /dev/ttyUSB0
PARSER_OK
Got 4 for 1 4
Got 4 for 1 4
Got 4 for 1 4
Got 4 for 1 4
Got 4 for 1 4
Got 5 for 1 6
Got 276 for 1 548
Got 310 for 1 616
Got 152 for 1 300
Got 383 for 1 762
Got 134 for 1 264
Got 85 for 1 166
Got 84 for 1 164
Got 404 for 1 802
Got 40 for 1 74
Got 44 for 1 82
Got 49 for 1 90
Got 72 for 1 138
Got 56 for 1 106
Got 120 for 1 234
Got 68 for 1 130
Got 132 for 1 258
Got 80 for 1 154
Got 336 for 1 666
Got 100 for 1 194
Got 28 for 1 50
Got 60 for 1 114
Got 20 for 1 34
Got 16 for 1 26
Got 108 for 1 210
Got 48 for 1 90
Got 52 for 1 98
Got 56 for 1 106
Got 32 for 1 58
Got 16 for 1 26
Got 112 for 1 218
Got 5 for 1 6
It seems to write a few things in the pcap file but then nothing else happens even if I am doing actions on the modem.
Is there something I do wrongly ?
Hi,
I have been playing with Quectel EC20 modem on APU2C4 runing Ubuntu 16.04 and diag-parser tool, but looks like something is going bad as;
Are there any troubleshoouting comands to check what is the problem? I check with QMI commands the connection, cellID, modem state and everything is ok.
Thank you very much for your help,
Pedro
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.