Git Product home page Git Product logo

diag-parser's People

Contributors

lynxis avatar martin-heusse avatar mnhauke avatar msoos avatar zecke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

diag-parser's Issues

Build File Error , No MakeFile Found and no target specified Ubuntu 16.04

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:

  • add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
    during execution
  • add LIBDIR to the 'LD_RUN_PATH' environment variable
    during linking
  • use the '-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

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'

  • cd ../..
  • export PKG_CONFIG_PATH=/home/ahmed/Downloads/diag-parser-mast/build/deps/install/lib/pkgconfig
  • make LDFLAGS+=-Wl,-rpath,/home/ahmed/Downloads/diag-parser-mast/build/deps/install/lib/
    make: *** No targets specified and no makefile found. Stop.

Sierra Wireless MC7354

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!

More README info please

Cool project, and thanks for taking time to simplify these things.

  1. Can you please write a few lines on the underlying dependencies, especially details regarding the build_local.sh?
  2. How do you run it and can you post some examples + screen shots?
  3. The command options are not very clear, e.g.:
./diag_import -g A.B.C.D -p local_file.pcap -i /dev/ttyUSB0
  • a) What is on that USB bus?
  • b) Are these the Qualcomm DIAG ports that gets enumerated when connecting to a phone, for example?

Difficulties to use diag-parser on UC20

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 ?

Incomplete traces and abnormal exit

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;

  • From time to time "diag-parser" tool stop suddenly, no error code, core dump or log, just stop.
  • When I analyze the PCAP files, only see one or two messages without any sense. i.e; the last session I connect to 2G network, browse some webs and recive two calls. In the PCAP file there is only "Authentication Response" and "Call Confirmed" messages:

image

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.