~wkearn/jsf

Single-header Edgetech JSF deserializer
jsf_read_message_header: Read the correct byte for the command type
Implement JSFSystemInformation

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~wkearn/jsf
read/write
git@git.sr.ht:~wkearn/jsf

You can also use your local clone with git send-email.

#Single-header Edgetech JSF deserialization library

This single-header C library reads sidescan sonar data from Edgetech JSF files. To use it in your project, copy jsf.h to an accessible location and then, in one source file, write

#define JSF_IMPLEMENTATION
#include "jsf.h"

For more usage instructions, see the documentation in the header file itself.

The message types supported by the library is shown in the following table.

Message type Code Library struct
Sonar Data Message 80 JSFSonarDataMessage
NMEA String 2002 JSFNMEAString
Pitch Roll Data 2020 JSFPitchRollData
Pressure Sensor Reading 2060 JSFPressureSensorReading
Navigation Offsets 181 JSFNavigationOffsets
System Information 182 JSFSystemInformation
Reflection Coefficient 2071
Doppler Velocity Log 2080
Situation Comprehensive 2091
Cable Counter Data 2100
Kilometer of Pipe Data 2101
Container Timestamp 2111
Bathymetric Data 3000
Attitude 3001
Pressure 3002
Altitude 3003
Position 3004
Status 3005
Bathymetric Public 3041