Page
118 of 133
Version 3.0 REV r000
Date 11-08-2010
14.4 . Type Definitions
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef signed char s8;
typedef signed short s16;
typedef signed int s32;
typedef float f32;
14.5 . Bathymetry Packet Format
// *** BEGIN PACKET: BATHY FORMAT 0 ***
u32 PacketName; // 'BTH0'
u32 PacketSize; // [bytes] size of this entire packet
u32 DataStreamID; // reserved for future use
// section H0: header
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 center 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]
u32 H0_TxMiscInfo; // to be determined
f32 H0_RxBandwidth; // [hertz]
f32 H0_RxSampleRate; // [hertz] sample rate of data acquisition and signal processing
f32 H0_RxRange; // [seconds two-way]