15.7 Snippet Format
// *** BEGIN PACKET: SNIPPET DATA FORMAT 0 ***
u32 PacketName; // 'SNI0'
u32 PacketSize; // may be zero in UDP, otherwise: [bytes] size of this entire packet
u32 DataStreamID; // reserved for future use
// section H0: header (present only in first snippet packet of each ping)
u16 H0_SectionName; // 'H0'
u16 H0_SectionSize; // [bytes] size of this entire section
u8 H0_ModelNumber[12]; // example "2024", unused chars are nulls
u8 H0_SerialNumber[12]; // example "100017", unused chars are nulls
u32 H0_TimeSeconds; // [seconds] ping time relative to 0000 hours 1-Jan-1970, integer part
u32 H0_TimeNanoseconds; // [nanoseconds] ping time relative to 0000 hours 1-Jan-1970, fraction part
u32 H0_PingNumber; // pings since power-up or reboot
f32 H0_PingPeriod; // [seconds] time between most recent two pings
f32 H0_SoundSpeed; // [meters per second]
f32 H0_Frequency; // [hertz] sonar centre frequency
f32 H0_TxPower; // [dB re 1 uPa at 1 meter]
f32 H0_TxPulseWidth; // [seconds]
f32 H0_TxBeamwidthVert; // [radians]
f32 H0_TxBeamwidthHoriz; // [radians]
f32 H0_TxSteeringVert; // [radians]
f32 H0_TxSteeringHoriz; // [radians]
u16 H0_TxMiscInfo; // reserved for future use
s16 H0_VTX+Offset; // [hundredths of a dB] transmit voltage offset at time of ping (divide value by 100 to get dB)
f32 H0_RxBandwidth; // [hertz]
f32 H0_RxSampleRate; // [hertz] sample rate of data acquisition and signal processing
f32 H0_RxRange; // [meters] sonar range setting
f32 H0_RxGain; // [multiply by two for relative dB]
f32 H0_RxSpreading; // [dB (times log range in meters)]
f32 H0_RxAbsorption; // [dB per kilometer]
f32 H0_RxMountTilt; // [radians]
u32 H0_RxMiscInfo; // reserved for future use
u16 H0_reserved; // reserved for future use
u16 H0_Snippets; // number of snippets
f32 H0_MoreInfo[6]; // reserved for future use
// section S1: 16-bit snippet data (for network efficiency packet may contain several of these sections) (supports snippets up to 32K samples by fragmenting
// at the IP level rather than by the application like 81xx)
u16 S1_SectionName; // 'S1'
u16 S1_SectionSize; // [bytes] size of this entire section
u32 S1_PingNumber; // pings since power-up or reboot
u16 S1_SnippetNumber; // snippet number, 0 to H0_Snippets-1
u16 S1_Samples; // number of samples in this snippet, sample rate is H0_RxSampleRate
u32 S1_FirstSample; // first sample of this snippet relative to zero range, sample rate is H0_RxSampleRate
Page 180 of 210
Version 5.0 Rev r002
Date 05-08-2014
Part No. 96000001