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.
Import the library using JitPack , or by dowloanding the jar manualy from here.
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.
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
.