Skip to content

ihmc/dspcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Java Library to parse DSPro pcap traces

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages