Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.05 KB

README.md

File metadata and controls

20 lines (17 loc) · 1.05 KB

DSPro PCAP

Kotlin/Java library to parse DSPro serialized DSPro messages from pcap traces or DSPro SQLite database. Currently only NMS, DisService data messages and DSPro metadata messages are parsed completely.

Getting Started

Import the library using JitPack , or by dowloanding the jar manualy from here.

Example: parse packet

byte[] udpPacketPayload = ...;
Message msg = NMSMessage(udpPacketPayload)
  .getMessage(Protocol.DisService)
  .getMessage(Protocol.DSPro);
System.out.println(msg);

Also look at the demo or at the Parser application.

Build

Do a gradlew.bat fatjar from the dspcap directory. This will create a single .jar file containing all the dependencies in build\libs\dspcap-all-1.0.jar.