/pyldtdecoder

Primary LanguageC++GNU Lesser General Public License v3.0LGPL-3.0

Writing dlt-viewer plugins in python

Installation:

  • Dependencies: in addition to the dependencies of dlt-viewer you'll need python-dev and boost::python (make sure it is built for your python3 version).
  • Clone this repository to the "plugin" directory of dlt-viewer sources: (cd plugin; git clone https://github.com/Equidamoid/pyldtdecoder.git)
  • Add add_subdirectory(dltviewerplugin) to plugin/CMakeLists.txt: echo "add_subdirectory(dltviewerplugin)" >> plugin/CMakeLists.txt
  • Build dlt-viewer: mkdir build; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=$(cd ..; pwd)/prefix; make -j6 install

Usage:

  • Write your plugin (pydltdecoder.py has some examples)
  • Put your plugin (or symlink to it) to ~/.local/pydltdecoder.py