diff --git a/docs/sbp.pdf b/docs/sbp.pdf index 619710edaa..7ab4762e40 100644 Binary files a/docs/sbp.pdf and b/docs/sbp.pdf differ diff --git a/haskell/src/SwiftNav/SBP/Ssr.hs b/haskell/src/SwiftNav/SBP/Ssr.hs index e96f7585a0..b2c386aac6 100644 --- a/haskell/src/SwiftNav/SBP/Ssr.hs +++ b/haskell/src/SwiftNav/SBP/Ssr.hs @@ -112,9 +112,8 @@ data STECHeader = STECHeader , _sTECHeader_update_interval :: !Word8 -- ^ Update interval between consecutive corrections. Encoded following RTCM -- DF391 specification. - , _sTECHeader_iod_ssr :: !Word8 - -- ^ IOD of the SSR correction. A change of Issue Of Data SSR is used to - -- indicate a change in the SSR generating configuration. + , _sTECHeader_iod_atmo :: !Word8 + -- ^ IOD of the SSR atmospheric correction } deriving ( Show, Read, Eq ) instance Binary STECHeader where @@ -123,7 +122,7 @@ instance Binary STECHeader where _sTECHeader_num_msgs <- getWord8 _sTECHeader_seq_num <- getWord8 _sTECHeader_update_interval <- getWord8 - _sTECHeader_iod_ssr <- getWord8 + _sTECHeader_iod_atmo <- getWord8 pure STECHeader {..} put STECHeader {..} = do @@ -131,7 +130,7 @@ instance Binary STECHeader where putWord8 _sTECHeader_num_msgs putWord8 _sTECHeader_seq_num putWord8 _sTECHeader_update_interval - putWord8 _sTECHeader_iod_ssr + putWord8 _sTECHeader_iod_atmo $(makeJSON "_sTECHeader_" ''STECHeader) $(makeLenses ''STECHeader) @@ -150,12 +149,11 @@ data GriddedCorrectionHeader = GriddedCorrectionHeader , _griddedCorrectionHeader_update_interval :: !Word8 -- ^ Update interval between consecutive corrections. Encoded following RTCM -- DF391 specification. - , _griddedCorrectionHeader_iod_ssr :: !Word8 - -- ^ IOD of the SSR correction. A change of Issue Of Data SSR is used to - -- indicate a change in the SSR generating configuration. + , _griddedCorrectionHeader_iod_atmo :: !Word8 + -- ^ IOD of the SSR atmospheric correction , _griddedCorrectionHeader_tropo_quality_indicator :: !Word8 -- ^ Quality of the troposphere data. Encoded following RTCM DF389 - -- specifcation but as TECU instead of m. + -- specifcation in units of m. } deriving ( Show, Read, Eq ) instance Binary GriddedCorrectionHeader where @@ -164,7 +162,7 @@ instance Binary GriddedCorrectionHeader where _griddedCorrectionHeader_num_msgs <- getWord16le _griddedCorrectionHeader_seq_num <- getWord16le _griddedCorrectionHeader_update_interval <- getWord8 - _griddedCorrectionHeader_iod_ssr <- getWord8 + _griddedCorrectionHeader_iod_atmo <- getWord8 _griddedCorrectionHeader_tropo_quality_indicator <- getWord8 pure GriddedCorrectionHeader {..} @@ -173,7 +171,7 @@ instance Binary GriddedCorrectionHeader where putWord16le _griddedCorrectionHeader_num_msgs putWord16le _griddedCorrectionHeader_seq_num putWord8 _griddedCorrectionHeader_update_interval - putWord8 _griddedCorrectionHeader_iod_ssr + putWord8 _griddedCorrectionHeader_iod_atmo putWord8 _griddedCorrectionHeader_tropo_quality_indicator $(makeJSON "_griddedCorrectionHeader_" ''GriddedCorrectionHeader) @@ -187,7 +185,7 @@ data STECSatElement = STECSatElement -- ^ Unique space vehicle identifier , _sTECSatElement_stec_quality_indicator :: !Word8 -- ^ Quality of the STEC data. Encoded following RTCM DF389 specifcation but - -- as TECU instead of m. + -- in units of TECU instead of m. , _sTECSatElement_stec_coeff :: ![Int16] -- ^ Coefficents of the STEC polynomial in the order of C00, C01, C10, C11 } deriving ( Show, Read, Eq ) @@ -209,7 +207,7 @@ $(makeLenses ''STECSatElement) -- | TroposphericDelayCorrection. -- --- Troposphere delays at the grid point. +-- Troposphere vertical delays at the grid point. data TroposphericDelayCorrection = TroposphericDelayCorrection { _troposphericDelayCorrection_hydro :: !Int16 -- ^ Hydrostatic vertical delay @@ -287,13 +285,15 @@ $(makeLenses ''GridElement) -- RLE encoded validity list. data GridDefinitionHeader = GridDefinitionHeader { _gridDefinitionHeader_region_size_inverse :: !Word8 - -- ^ inverse of region size + -- ^ region_size (deg) = 10 / region_size_inverse 0 is an invalid value. , _gridDefinitionHeader_area_width :: !Word16 - -- ^ area width; see spec for details + -- ^ grid height (deg) = grid idth (deg) = area_width / region_size 0 is an + -- invalid value. , _gridDefinitionHeader_lat_nw_corner_enc :: !Word16 - -- ^ encoded latitude of the northwest corner of the grid + -- ^ North-West corner latitdue (deg) = region_size * lat_nw_corner_enc - 90 , _gridDefinitionHeader_lon_nw_corner_enc :: !Word16 - -- ^ encoded longitude of the northwest corner of the grid + -- ^ North-West corner longtitude (deg) = region_size * lon_nw_corner_enc - + -- 180 , _gridDefinitionHeader_num_msgs :: !Word8 -- ^ Number of messages in the dataset , _gridDefinitionHeader_seq_num :: !Word8 @@ -646,7 +646,8 @@ msgSsrGridDefinition = 0x05F5 -- | SBP class for message MSG_SSR_GRID_DEFINITION (0x05F5). -- --- Definition of the grid for STEC and tropo messages +-- Based on the 3GPP proposal R2-1906781 which is in turn based on OMA-LPPe- +-- ValidityArea from OMA-TS-LPPe–V2_0-20141202-C data MsgSsrGridDefinition = MsgSsrGridDefinition { _msgSsrGridDefinition_header :: !GridDefinitionHeader -- ^ Header of a Gridded Correction message diff --git a/java/src/com/swiftnav/sbp/ssr/GridDefinitionHeader.java b/java/src/com/swiftnav/sbp/ssr/GridDefinitionHeader.java index 2d4c95b90a..3e571bda20 100644 --- a/java/src/com/swiftnav/sbp/ssr/GridDefinitionHeader.java +++ b/java/src/com/swiftnav/sbp/ssr/GridDefinitionHeader.java @@ -25,16 +25,20 @@ public class GridDefinitionHeader extends SBPStruct { - /** inverse of region size */ + /** region_size (deg) = 10 / region_size_inverse +0 is an invalid value. + */ public int region_size_inverse; - /** area width; see spec for details */ + /** grid height (deg) = grid idth (deg) = area_width / region_size +0 is an invalid value. + */ public int area_width; - /** encoded latitude of the northwest corner of the grid */ + /** North-West corner latitdue (deg) = region_size * lat_nw_corner_enc - 90 */ public int lat_nw_corner_enc; - /** encoded longitude of the northwest corner of the grid */ + /** North-West corner longtitude (deg) = region_size * lon_nw_corner_enc - 180 */ public int lon_nw_corner_enc; /** Number of messages in the dataset */ diff --git a/java/src/com/swiftnav/sbp/ssr/GriddedCorrectionHeader.java b/java/src/com/swiftnav/sbp/ssr/GriddedCorrectionHeader.java index 2fe4059ed3..b8d9889bec 100644 --- a/java/src/com/swiftnav/sbp/ssr/GriddedCorrectionHeader.java +++ b/java/src/com/swiftnav/sbp/ssr/GriddedCorrectionHeader.java @@ -39,14 +39,12 @@ public class GriddedCorrectionHeader extends SBPStruct { */ public int update_interval; - /** IOD of the SSR correction. A change of Issue Of Data -SSR is used to indicate a change in the SSR -generating configuration. + /** IOD of the SSR atmospheric correction */ - public int iod_ssr; + public int iod_atmo; /** Quality of the troposphere data. Encoded following RTCM DF389 -specifcation but as TECU instead of m. +specifcation in units of m. */ public int tropo_quality_indicator; @@ -60,7 +58,7 @@ public GriddedCorrectionHeader parse(SBPMessage.Parser parser) throws SBPBinaryE num_msgs = parser.getU16(); seq_num = parser.getU16(); update_interval = parser.getU8(); - iod_ssr = parser.getU8(); + iod_atmo = parser.getU8(); tropo_quality_indicator = parser.getU8(); return this; } @@ -72,7 +70,7 @@ public void build(SBPMessage.Builder builder) { builder.putU16(num_msgs); builder.putU16(seq_num); builder.putU8(update_interval); - builder.putU8(iod_ssr); + builder.putU8(iod_atmo); builder.putU8(tropo_quality_indicator); } @@ -83,7 +81,7 @@ public JSONObject toJSON() { obj.put("num_msgs", num_msgs); obj.put("seq_num", seq_num); obj.put("update_interval", update_interval); - obj.put("iod_ssr", iod_ssr); + obj.put("iod_atmo", iod_atmo); obj.put("tropo_quality_indicator", tropo_quality_indicator); return obj; } diff --git a/java/src/com/swiftnav/sbp/ssr/MsgSsrGridDefinition.java b/java/src/com/swiftnav/sbp/ssr/MsgSsrGridDefinition.java index 358d2ad52a..29835bc9a8 100644 --- a/java/src/com/swiftnav/sbp/ssr/MsgSsrGridDefinition.java +++ b/java/src/com/swiftnav/sbp/ssr/MsgSsrGridDefinition.java @@ -29,7 +29,8 @@ * an inherited SBP object, or construct it inline using a dict of its * fields. * -* Definition of the grid for STEC and tropo messages */ + * Based on the 3GPP proposal R2-1906781 which is in turn based on + * OMA-LPPe-ValidityArea from OMA-TS-LPPe–V2_0-20141202-C */ public class MsgSsrGridDefinition extends SBPMessage { public static final int TYPE = 0x05F5; diff --git a/java/src/com/swiftnav/sbp/ssr/STECHeader.java b/java/src/com/swiftnav/sbp/ssr/STECHeader.java index 0387368da0..3c72a01ad0 100644 --- a/java/src/com/swiftnav/sbp/ssr/STECHeader.java +++ b/java/src/com/swiftnav/sbp/ssr/STECHeader.java @@ -39,11 +39,9 @@ public class STECHeader extends SBPStruct { */ public int update_interval; - /** IOD of the SSR correction. A change of Issue Of Data -SSR is used to indicate a change in the SSR -generating configuration. + /** IOD of the SSR atmospheric correction */ - public int iod_ssr; + public int iod_atmo; public STECHeader () {} @@ -55,7 +53,7 @@ public STECHeader parse(SBPMessage.Parser parser) throws SBPBinaryException { num_msgs = parser.getU8(); seq_num = parser.getU8(); update_interval = parser.getU8(); - iod_ssr = parser.getU8(); + iod_atmo = parser.getU8(); return this; } @@ -66,7 +64,7 @@ public void build(SBPMessage.Builder builder) { builder.putU8(num_msgs); builder.putU8(seq_num); builder.putU8(update_interval); - builder.putU8(iod_ssr); + builder.putU8(iod_atmo); } @Override @@ -76,7 +74,7 @@ public JSONObject toJSON() { obj.put("num_msgs", num_msgs); obj.put("seq_num", seq_num); obj.put("update_interval", update_interval); - obj.put("iod_ssr", iod_ssr); + obj.put("iod_atmo", iod_atmo); return obj; } } \ No newline at end of file diff --git a/java/src/com/swiftnav/sbp/ssr/STECSatElement.java b/java/src/com/swiftnav/sbp/ssr/STECSatElement.java index 5eac76f31c..9c2f4ce337 100644 --- a/java/src/com/swiftnav/sbp/ssr/STECSatElement.java +++ b/java/src/com/swiftnav/sbp/ssr/STECSatElement.java @@ -29,7 +29,7 @@ public class STECSatElement extends SBPStruct { public SvId sv_id; /** Quality of the STEC data. Encoded following RTCM DF389 specifcation -but as TECU instead of m. +but in units of TECU instead of m. */ public int stec_quality_indicator; diff --git a/javascript/sbp.bundle.js b/javascript/sbp.bundle.js index 1cd84b527d..af95528bb7 100644 --- a/javascript/sbp.bundle.js +++ b/javascript/sbp.bundle.js @@ -12,4 +12,4 @@ var p=r(24),o=r(25),i=r(17);function s(){return a.TYPED_ARRAY_SUPPORT?2147483647 * @author Feross Aboukhadijeh * @license MIT */ -function p(e,t){if(e===t)return 0;for(var r=e.length,p=t.length,o=0,i=Math.min(r,p);o=0;l--)if(c[l]!==u[l])return!1;for(l=c.length-1;l>=0;l--)if(a=c[l],!g(e[a],t[a],r,p))return!1;return!0}(e,t,r,s))}return r?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function E(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function m(e,t,r,p){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(p=r,r=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),p=(r&&r.name?" ("+r.name+").":".")+(p?" "+p:"."),e&&!o&&_(o,r,"Missing expected exception"+p);var s="string"==typeof p,n=!e&&o&&!r;if((!e&&i.isError(o)&&s&&E(o,r)||n)&&_(o,r,"Got unwanted exception"+p),e&&o&&r&&!E(o,r)||!e&&o)throw o}u.AssertionError=function(e){var t;this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=f(d((t=this).actual),128)+" "+t.operator+" "+f(d(t.expected),128),this.generatedMessage=!0);var r=e.stackStartFunction||_;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var p=new Error;if(p.stack){var o=p.stack,i=h(r),s=o.indexOf("\n"+i);if(s>=0){var n=o.indexOf("\n",s+1);o=o.substring(n+1)}this.stack=o}}},i.inherits(u.AssertionError,Error),u.fail=_,u.ok=S,u.equal=function(e,t,r){e!=t&&_(e,t,r,"==",u.equal)},u.notEqual=function(e,t,r){e==t&&_(e,t,r,"!=",u.notEqual)},u.deepEqual=function(e,t,r){g(e,t,!1)||_(e,t,r,"deepEqual",u.deepEqual)},u.deepStrictEqual=function(e,t,r){g(e,t,!0)||_(e,t,r,"deepStrictEqual",u.deepStrictEqual)},u.notDeepEqual=function(e,t,r){g(e,t,!1)&&_(e,t,r,"notDeepEqual",u.notDeepEqual)},u.notDeepStrictEqual=function e(t,r,p){g(t,r,!0)&&_(t,r,p,"notDeepStrictEqual",e)},u.strictEqual=function(e,t,r){e!==t&&_(e,t,r,"===",u.strictEqual)},u.notStrictEqual=function(e,t,r){e===t&&_(e,t,r,"!==",u.notStrictEqual)},u.throws=function(e,t,r){m(!0,e,t,r)},u.doesNotThrow=function(e,t,r){m(!1,e,t,r)},u.ifError=function(e){if(e)throw e};var b=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(this,r(5))},function(e,t,r){(function(e,p){var o=/%[sdj%]/g;t.format=function(e){if(!S(e)){for(var t=[],r=0;r=i)return e;switch(e){case"%s":return String(p[r++]);case"%d":return Number(p[r++]);case"%j":try{return JSON.stringify(p[r++])}catch(e){return"[Circular]"}default:return e}}),a=p[r];r=3&&(p.depth=arguments[2]),arguments.length>=4&&(p.colors=arguments[3]),f(r)?p.showHidden=r:r&&t._extend(p,r),g(p.showHidden)&&(p.showHidden=!1),g(p.depth)&&(p.depth=2),g(p.colors)&&(p.colors=!1),g(p.customInspect)&&(p.customInspect=!0),p.colors&&(p.stylize=a),c(p,e,p.depth)}function a(e,t){var r=n.styles[t];return r?"["+n.colors[r][0]+"m"+e+"["+n.colors[r][1]+"m":e}function l(e,t){return e}function c(e,r,p){if(e.customInspect&&r&&v(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(p,e);return S(o)||(o=c(e,o,p)),o}var i=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(S(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(_(t))return e.stylize(""+t,"number");if(f(t))return e.stylize(""+t,"boolean");if(d(t))return e.stylize("null","null")}(e,r);if(i)return i;var s=Object.keys(r),n=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),b(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(r);if(0===s.length){if(v(r)){var a=r.name?": "+r.name:"";return e.stylize("[Function"+a+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(m(r))return e.stylize(Date.prototype.toString.call(r),"date");if(b(r))return u(r)}var l,E="",L=!1,T=["{","}"];(h(r)&&(L=!0,T=["[","]"]),v(r))&&(E=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(E=" "+RegExp.prototype.toString.call(r)),m(r)&&(E=" "+Date.prototype.toUTCString.call(r)),b(r)&&(E=" "+u(r)),0!==s.length||L&&0!=r.length?p<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=L?function(e,t,r,p,o){for(var i=[],s=0,n=t.length;s=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,E,T)):T[0]+E+T[1]}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function y(e,t,r,p,o,i){var s,n,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?n=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(n=e.stylize("[Setter]","special")),M(p,o)||(s="["+o+"]"),n||(e.seen.indexOf(a.value)<0?(n=d(r)?c(e,a.value,null):c(e,a.value,r-1)).indexOf("\n")>-1&&(n=i?n.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+n.split("\n").map(function(e){return" "+e}).join("\n")):n=e.stylize("[Circular]","special")),g(s)){if(i&&o.match(/^\d+$/))return n;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+n}function h(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function d(e){return null===e}function _(e){return"number"==typeof e}function S(e){return"string"==typeof e}function g(e){return void 0===e}function w(e){return E(e)&&"[object RegExp]"===L(e)}function E(e){return"object"==typeof e&&null!==e}function m(e){return E(e)&&"[object Date]"===L(e)}function b(e){return E(e)&&("[object Error]"===L(e)||e instanceof Error)}function v(e){return"function"==typeof e}function L(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(i)&&(i=p.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var r=p.pid;s[e]=function(){var p=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,p)}}else s[e]=function(){};return s[e]},t.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=f,t.isNull=d,t.isNullOrUndefined=function(e){return null==e},t.isNumber=_,t.isString=S,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=w,t.isObject=E,t.isDate=m,t.isError=b,t.isFunction=v,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(43);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":"),[e.getDate(),I[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(6),t._extend=function(e,t){if(!t||!E(t))return e;for(var r=Object.keys(t),p=r.length;p--;)e[r[p]]=t[r[p]];return e}}).call(this,r(5),r(9))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t,r){var p;!function(r){o(Math.pow(36,5)),o(Math.pow(16,7)),o(Math.pow(10,9)),o(Math.pow(2,30)),o(36),o(16),o(10),o(2);function o(e,t){return this instanceof o?(this._low=0,this._high=0,this.remainder=null,void 0===t?s.call(this,e):"string"==typeof e?n.call(this,e,t):void i.call(this,e,t)):new o(e,t)}function i(e,t){return this._low=0|e,this._high=0|t,this}function s(e){return this._low=65535&e,this._high=e>>>16,this}function n(e,t){var r=parseInt(e,t||10);return this._low=65535&r,this._high=r>>>16,this}o.prototype.fromBits=i,o.prototype.fromNumber=s,o.prototype.fromString=n,o.prototype.toNumber=function(){return 65536*this._high+this._low},o.prototype.toString=function(e){return this.toNumber().toString(e||10)},o.prototype.add=function(e){var t=this._low+e._low,r=t>>>16;return r+=this._high+e._high,this._low=65535&t,this._high=65535&r,this},o.prototype.subtract=function(e){return this.add(e.clone().negate())},o.prototype.multiply=function(e){var t,r,p=this._high,o=this._low,i=e._high,s=e._low;return t=(r=o*s)>>>16,t+=p*s,t&=65535,t+=o*i,this._low=65535&r,this._high=65535&t,this},o.prototype.div=function(e){if(0==e._low&&0==e._high)throw Error("division by zero");if(0==e._high&&1==e._low)return this.remainder=new o(0),this;if(e.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(e))return this.remainder=new o(0),this._low=1,this._high=0,this;for(var t=e.clone(),r=-1;!this.lt(t);)t.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._low=0,this._high=0;r>=0;r--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),r>=16?this._high|=1<>>16)&65535,this},o.prototype.equals=o.prototype.eq=function(e){return this._low==e._low&&this._high==e._high},o.prototype.greaterThan=o.prototype.gt=function(e){return this._high>e._high||!(this._highe._low},o.prototype.lessThan=o.prototype.lt=function(e){return this._highe._high)&&this._low16?(this._low=this._high>>e-16,this._high=0):16==e?(this._low=this._high,this._high=0):(this._low=this._low>>e|this._high<<16-e&65535,this._high>>=e),this},o.prototype.shiftLeft=o.prototype.shiftl=function(e,t){return e>16?(this._high=this._low<>16-e,this._low=this._low<>>32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.rotateRight=o.prototype.rotr=function(e){var t=this._high<<16|this._low;return t=t>>>e|t<<32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.clone=function(){return new o(this._low,this._high)},void 0===(p=function(){return o}.apply(t,[]))||(e.exports=p)}()},function(e,t,r){var p;!function(r){var o={16:s(Math.pow(16,5)),10:s(Math.pow(10,5)),2:s(Math.pow(2,5))},i={16:s(16),10:s(10),2:s(2)};function s(e,t,r,p){return this instanceof s?(this.remainder=null,"string"==typeof e?l.call(this,e,t):void 0===t?a.call(this,e):void n.apply(this,arguments)):new s(e,t,r,p)}function n(e,t,r,p){return void 0===r?(this._a00=65535&e,this._a16=e>>>16,this._a32=65535&t,this._a48=t>>>16,this):(this._a00=0|e,this._a16=0|t,this._a32=0|r,this._a48=0|p,this)}function a(e){return this._a00=65535&e,this._a16=e>>>16,this._a32=0,this._a48=0,this}function l(e,t){t=t||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var r=o[t]||new s(Math.pow(t,5)),p=0,i=e.length;p=0&&(r.div(t),p[o]=r.remainder.toNumber().toString(e),r.gt(t));o--);return p[o-1]=r.toNumber().toString(e),p.join("")},s.prototype.add=function(e){var t=this._a00+e._a00,r=t>>>16,p=(r+=this._a16+e._a16)>>>16,o=(p+=this._a32+e._a32)>>>16;return o+=this._a48+e._a48,this._a00=65535&t,this._a16=65535&r,this._a32=65535&p,this._a48=65535&o,this},s.prototype.subtract=function(e){return this.add(e.clone().negate())},s.prototype.multiply=function(e){var t=this._a00,r=this._a16,p=this._a32,o=this._a48,i=e._a00,s=e._a16,n=e._a32,a=t*i,l=a>>>16,c=(l+=t*s)>>>16;l&=65535,c+=(l+=r*i)>>>16;var u=(c+=t*n)>>>16;return c&=65535,u+=(c+=r*s)>>>16,c&=65535,u+=(c+=p*i)>>>16,u+=t*e._a48,u&=65535,u+=r*n,u&=65535,u+=p*s,u&=65535,u+=o*i,this._a00=65535&a,this._a16=65535&l,this._a32=65535&c,this._a48=65535&u,this},s.prototype.div=function(e){if(0==e._a16&&0==e._a32&&0==e._a48){if(0==e._a00)throw Error("division by zero");if(1==e._a00)return this.remainder=new s(0),this}if(e.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(e))return this.remainder=new s(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var t=e.clone(),r=-1;!this.lt(t);)t.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;r>=0;r--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),r>=48?this._a48|=1<=32?this._a32|=1<=16?this._a16|=1<>>16),this._a16=65535&e,e=(65535&~this._a32)+(e>>>16),this._a32=65535&e,this._a48=~this._a48+(e>>>16)&65535,this},s.prototype.equals=s.prototype.eq=function(e){return this._a48==e._a48&&this._a00==e._a00&&this._a32==e._a32&&this._a16==e._a16},s.prototype.greaterThan=s.prototype.gt=function(e){return this._a48>e._a48||!(this._a48e._a32||!(this._a32e._a16||!(this._a16e._a00))},s.prototype.lessThan=s.prototype.lt=function(e){return this._a48e._a48)&&(this._a32e._a32)&&(this._a16e._a16)&&this._a00=48?(this._a00=this._a48>>e-48,this._a16=0,this._a32=0,this._a48=0):e>=32?(e-=32,this._a00=65535&(this._a32>>e|this._a48<<16-e),this._a16=this._a48>>e&65535,this._a32=0,this._a48=0):e>=16?(e-=16,this._a00=65535&(this._a16>>e|this._a32<<16-e),this._a16=65535&(this._a32>>e|this._a48<<16-e),this._a32=this._a48>>e&65535,this._a48=0):(this._a00=65535&(this._a00>>e|this._a16<<16-e),this._a16=65535&(this._a16>>e|this._a32<<16-e),this._a32=65535&(this._a32>>e|this._a48<<16-e),this._a48=this._a48>>e&65535),this},s.prototype.shiftLeft=s.prototype.shiftl=function(e,t){return(e%=64)>=48?(this._a48=this._a00<=32?(e-=32,this._a48=this._a16<>16-e,this._a32=this._a00<=16?(e-=16,this._a48=this._a32<>16-e,this._a32=65535&(this._a16<>16-e),this._a16=this._a00<>16-e,this._a32=65535&(this._a32<>16-e),this._a16=65535&(this._a16<>16-e),this._a00=this._a00<=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var r=this._a48<<16|this._a32,p=this._a16<<16|this._a00,o=r<>>32-e,i=p<>>32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&o,this._a48=o>>>16,this},s.prototype.rotateRight=s.prototype.rotr=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var r=this._a48<<16|this._a32,p=this._a16<<16|this._a00,o=r>>>e|p<<32-e,i=p>>>e|r<<32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&o,this._a48=o>>>16,this},s.prototype.clone=function(){return new s(this._a00,this._a16,this._a32,this._a48)},void 0===(p=function(){return s}.apply(t,[]))||(e.exports=p)}()},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=(r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep,r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT",this.fields=t||this.parser.parse(e.payload),this});(n.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT",n.prototype.msg_type=47,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").floatle("cn0").floatle("cp").floatle("cf").nest("sid",{type:i.prototype.parser}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["cn0","writeFloatLE",4]),n.prototype.fieldSpec.push(["cp","writeFloatLE",4]),n.prototype.fieldSpec.push(["cf","writeFloatLE",4]),n.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT_DEP_C",a.prototype.msg_type=31,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").floatle("cn0").floatle("cp").floatle("cf").nest("sid",{type:s.prototype.parser}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["cn0","writeFloatLE",4]),a.prototype.fieldSpec.push(["cp","writeFloatLE",4]),a.prototype.fieldSpec.push(["cf","writeFloatLE",4]),a.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT_DEP_B",l.prototype.msg_type=20,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").floatle("snr").floatle("cp").floatle("cf").nest("sid",{type:s.prototype.parser}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["snr","writeFloatLE",4]),l.prototype.fieldSpec.push(["cp","writeFloatLE",4]),l.prototype.fieldSpec.push(["cf","writeFloatLE",4]),l.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT_DEP_A",c.prototype.msg_type=21,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").floatle("snr").floatle("cp").floatle("cf").uint8("prn"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["snr","writeFloatLE",4]),c.prototype.fieldSpec.push(["cp","writeFloatLE",4]),c.prototype.fieldSpec.push(["cf","writeFloatLE",4]),c.prototype.fieldSpec.push(["prn","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="AcqSvProfile",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="AcqSvProfile",u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint8("job_type").uint8("status").uint16("cn0").uint8("int_time").nest("sid",{type:i.prototype.parser}).uint16("bin_width").uint32("timestamp").uint32("time_spent").int32("cf_min").int32("cf_max").int32("cf").uint32("cp"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["job_type","writeUInt8",1]),u.prototype.fieldSpec.push(["status","writeUInt8",1]),u.prototype.fieldSpec.push(["cn0","writeUInt16LE",2]),u.prototype.fieldSpec.push(["int_time","writeUInt8",1]),u.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),u.prototype.fieldSpec.push(["bin_width","writeUInt16LE",2]),u.prototype.fieldSpec.push(["timestamp","writeUInt32LE",4]),u.prototype.fieldSpec.push(["time_spent","writeUInt32LE",4]),u.prototype.fieldSpec.push(["cf_min","writeInt32LE",4]),u.prototype.fieldSpec.push(["cf_max","writeInt32LE",4]),u.prototype.fieldSpec.push(["cf","writeInt32LE",4]),u.prototype.fieldSpec.push(["cp","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="AcqSvProfileDep",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="AcqSvProfileDep",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint8("job_type").uint8("status").uint16("cn0").uint8("int_time").nest("sid",{type:s.prototype.parser}).uint16("bin_width").uint32("timestamp").uint32("time_spent").int32("cf_min").int32("cf_max").int32("cf").uint32("cp"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["job_type","writeUInt8",1]),y.prototype.fieldSpec.push(["status","writeUInt8",1]),y.prototype.fieldSpec.push(["cn0","writeUInt16LE",2]),y.prototype.fieldSpec.push(["int_time","writeUInt8",1]),y.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),y.prototype.fieldSpec.push(["bin_width","writeUInt16LE",2]),y.prototype.fieldSpec.push(["timestamp","writeUInt32LE",4]),y.prototype.fieldSpec.push(["time_spent","writeUInt32LE",4]),y.prototype.fieldSpec.push(["cf_min","writeInt32LE",4]),y.prototype.fieldSpec.push(["cf_max","writeInt32LE",4]),y.prototype.fieldSpec.push(["cf","writeInt32LE",4]),y.prototype.fieldSpec.push(["cp","writeUInt32LE",4]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_SV_PROFILE",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_SV_PROFILE",h.prototype.msg_type=46,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").array("acq_sv_profile",{type:u.prototype.parser,readUntil:"eof"}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["acq_sv_profile","array",u.prototype.fieldSpec,function(){return this.fields.array.length},null]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_SV_PROFILE_DEP",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_SV_PROFILE_DEP",f.prototype.msg_type=30,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").array("acq_sv_profile",{type:y.prototype.parser,readUntil:"eof"}),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["acq_sv_profile","array",y.prototype.fieldSpec,function(){return this.fields.array.length},null]),e.exports={47:n,MsgAcqResult:n,31:a,MsgAcqResultDepC:a,20:l,MsgAcqResultDepB:l,21:c,MsgAcqResultDepA:c,AcqSvProfile:u,AcqSvProfileDep:y,46:h,MsgAcqSvProfile:h,30:f,MsgAcqSvProfileDep:f}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_HANDSHAKE_REQ",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_HANDSHAKE_REQ",i.prototype.msg_type=179,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little"),i.prototype.fieldSpec=[];var s=function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_HANDSHAKE_RESP",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_HANDSHAKE_RESP",s.prototype.msg_type=180,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint32("flags").string("version",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["flags","writeUInt32LE",4]),s.prototype.fieldSpec.push(["version","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_JUMP_TO_APP",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_JUMP_TO_APP",n.prototype.msg_type=177,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint8("jump"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["jump","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_NAP_DEVICE_DNA_REQ",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_NAP_DEVICE_DNA_REQ",a.prototype.msg_type=222,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little"),a.prototype.fieldSpec=[];var l=function(e,t){return p.call(this,e),this.messageType="MSG_NAP_DEVICE_DNA_RESP",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_NAP_DEVICE_DNA_RESP",l.prototype.msg_type=221,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").array("dna",{length:8,type:"uint8"}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["dna","array","writeUInt8",function(){return 1},8]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_HANDSHAKE_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_HANDSHAKE_DEP_A",c.prototype.msg_type=176,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").array("handshake",{type:"uint8",readUntil:"eof"}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["handshake","array","writeUInt8",function(){return 1},null]),e.exports={179:i,MsgBootloaderHandshakeReq:i,180:s,MsgBootloaderHandshakeResp:s,177:n,MsgBootloaderJumpToApp:n,222:a,MsgNapDeviceDnaReq:a,221:l,MsgNapDeviceDnaResp:l,176:c,MsgBootloaderHandshakeDepA:c}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_EXT_EVENT",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_EXT_EVENT",i.prototype.msg_type=257,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint16("wn").uint32("tow").int32("ns_residual").uint8("flags").uint8("pin"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["wn","writeUInt16LE",2]),i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["ns_residual","writeInt32LE",4]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]),i.prototype.fieldSpec.push(["pin","writeUInt8",1]),e.exports={257:i,MsgExtEvent:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_REQ",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_REQ",i.prototype.msg_type=168,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("offset").uint8("chunk_size").string("filename",{greedy:!0}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),i.prototype.fieldSpec.push(["offset","writeUInt32LE",4]),i.prototype.fieldSpec.push(["chunk_size","writeUInt8",1]),i.prototype.fieldSpec.push(["filename","string",null]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_RESP",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_RESP",s.prototype.msg_type=163,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint32("sequence").array("contents",{type:"uint8",readUntil:"eof"}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),s.prototype.fieldSpec.push(["contents","array","writeUInt8",function(){return 1},null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_DIR_REQ",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_DIR_REQ",n.prototype.msg_type=169,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("offset").string("dirname",{greedy:!0}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),n.prototype.fieldSpec.push(["offset","writeUInt32LE",4]),n.prototype.fieldSpec.push(["dirname","string",null]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_DIR_RESP",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_DIR_RESP",a.prototype.msg_type=170,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("sequence").array("contents",{type:"uint8",readUntil:"eof"}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),a.prototype.fieldSpec.push(["contents","array","writeUInt8",function(){return 1},null]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_REMOVE",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_REMOVE",l.prototype.msg_type=172,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").string("filename",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["filename","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_WRITE_REQ",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_WRITE_REQ",c.prototype.msg_type=173,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("offset").string("filename",{greedy:!0}).array("data",{type:"uint8",readUntil:"eof"}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),c.prototype.fieldSpec.push(["offset","writeUInt32LE",4]),c.prototype.fieldSpec.push(["filename","string",null]),c.prototype.fieldSpec.push(["data","array","writeUInt8",function(){return 1},null]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_WRITE_RESP",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_WRITE_RESP",u.prototype.msg_type=171,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("sequence"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_CONFIG_REQ",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_CONFIG_REQ",y.prototype.msg_type=4097,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint32("sequence"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_CONFIG_RESP",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_CONFIG_RESP",h.prototype.msg_type=4098,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("window_size").uint32("batch_size").uint32("fileio_version"),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),h.prototype.fieldSpec.push(["window_size","writeUInt32LE",4]),h.prototype.fieldSpec.push(["batch_size","writeUInt32LE",4]),h.prototype.fieldSpec.push(["fileio_version","writeUInt32LE",4]),e.exports={168:i,MsgFileioReadReq:i,163:s,MsgFileioReadResp:s,169:n,MsgFileioReadDirReq:n,170:a,MsgFileioReadDirResp:a,172:l,MsgFileioRemove:l,173:c,MsgFileioWriteReq:c,171:u,MsgFileioWriteResp:u,4097:y,MsgFileioConfigReq:y,4098:h,MsgFileioConfigResp:h}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_PROGRAM",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_PROGRAM",i.prototype.msg_type=230,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("target").array("addr_start",{length:3,type:"uint8"}).uint8("addr_len").array("data",{type:"uint8",length:"addr_len"}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["target","writeUInt8",1]),i.prototype.fieldSpec.push(["addr_start","array","writeUInt8",function(){return 1},3]),i.prototype.fieldSpec.push(["addr_len","writeUInt8",1]),i.prototype.fieldSpec.push(["data","array","writeUInt8",function(){return 1},"addr_len"]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_DONE",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_DONE",s.prototype.msg_type=224,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("response"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["response","writeUInt8",1]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_READ_REQ",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_READ_REQ",n.prototype.msg_type=231,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint8("target").array("addr_start",{length:3,type:"uint8"}).uint8("addr_len"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["target","writeUInt8",1]),n.prototype.fieldSpec.push(["addr_start","array","writeUInt8",function(){return 1},3]),n.prototype.fieldSpec.push(["addr_len","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_READ_RESP",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_READ_RESP",a.prototype.msg_type=225,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint8("target").array("addr_start",{length:3,type:"uint8"}).uint8("addr_len"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["target","writeUInt8",1]),a.prototype.fieldSpec.push(["addr_start","array","writeUInt8",function(){return 1},3]),a.prototype.fieldSpec.push(["addr_len","writeUInt8",1]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_ERASE",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_ERASE",l.prototype.msg_type=226,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("target").uint32("sector_num"),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["target","writeUInt8",1]),l.prototype.fieldSpec.push(["sector_num","writeUInt32LE",4]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_STM_FLASH_LOCK_SECTOR",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_STM_FLASH_LOCK_SECTOR",c.prototype.msg_type=227,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("sector"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["sector","writeUInt32LE",4]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_STM_FLASH_UNLOCK_SECTOR",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_STM_FLASH_UNLOCK_SECTOR",u.prototype.msg_type=228,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("sector"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["sector","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_STM_UNIQUE_ID_REQ",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_STM_UNIQUE_ID_REQ",y.prototype.msg_type=232,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little"),y.prototype.fieldSpec=[];var h=function(e,t){return p.call(this,e),this.messageType="MSG_STM_UNIQUE_ID_RESP",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_STM_UNIQUE_ID_RESP",h.prototype.msg_type=229,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").array("stm_id",{length:12,type:"uint8"}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["stm_id","array","writeUInt8",function(){return 1},12]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_M25_FLASH_WRITE_STATUS",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_M25_FLASH_WRITE_STATUS",f.prototype.msg_type=243,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").array("status",{length:1,type:"uint8"}),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["status","array","writeUInt8",function(){return 1},1]),e.exports={230:i,MsgFlashProgram:i,224:s,MsgFlashDone:s,231:n,MsgFlashReadReq:n,225:a,MsgFlashReadResp:a,226:l,MsgFlashErase:l,227:c,MsgStmFlashLockSector:c,228:u,MsgStmFlashUnlockSector:u,232:y,MsgStmUniqueIdReq:y,229:h,MsgStmUniqueIdResp:h,243:f,MsgM25FlashWriteStatus:f}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_IMU_RAW",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_IMU_RAW",i.prototype.msg_type=2304,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").uint8("tow_f").int16("acc_x").int16("acc_y").int16("acc_z").int16("gyr_x").int16("gyr_y").int16("gyr_z"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["tow_f","writeUInt8",1]),i.prototype.fieldSpec.push(["acc_x","writeInt16LE",2]),i.prototype.fieldSpec.push(["acc_y","writeInt16LE",2]),i.prototype.fieldSpec.push(["acc_z","writeInt16LE",2]),i.prototype.fieldSpec.push(["gyr_x","writeInt16LE",2]),i.prototype.fieldSpec.push(["gyr_y","writeInt16LE",2]),i.prototype.fieldSpec.push(["gyr_z","writeInt16LE",2]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_IMU_AUX",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_IMU_AUX",s.prototype.msg_type=2305,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("imu_type").int16("temp").uint8("imu_conf"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["imu_type","writeUInt8",1]),s.prototype.fieldSpec.push(["temp","writeInt16LE",2]),s.prototype.fieldSpec.push(["imu_conf","writeUInt8",1]),e.exports={2304:i,MsgImuRaw:i,2305:s,MsgImuAux:s}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_CPU_STATE",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_CPU_STATE",i.prototype.msg_type=32512,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint8("pcpu").string("tname",{length:15}).string("cmdline",{greedy:!0}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["index","writeUInt8",1]),i.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),i.prototype.fieldSpec.push(["pcpu","writeUInt8",1]),i.prototype.fieldSpec.push(["tname","string",15]),i.prototype.fieldSpec.push(["cmdline","string",null]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_MEM_STATE",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_MEM_STATE",s.prototype.msg_type=32513,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint8("pmem").string("tname",{length:15}).string("cmdline",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["index","writeUInt8",1]),s.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),s.prototype.fieldSpec.push(["pmem","writeUInt8",1]),s.prototype.fieldSpec.push(["tname","string",15]),s.prototype.fieldSpec.push(["cmdline","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_SYS_STATE",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_SYS_STATE",n.prototype.msg_type=32514,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint16("mem_total").uint8("pcpu").uint8("pmem").uint16("procs_starting").uint16("procs_stopping").uint16("pid_count"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["mem_total","writeUInt16LE",2]),n.prototype.fieldSpec.push(["pcpu","writeUInt8",1]),n.prototype.fieldSpec.push(["pmem","writeUInt8",1]),n.prototype.fieldSpec.push(["procs_starting","writeUInt16LE",2]),n.prototype.fieldSpec.push(["procs_stopping","writeUInt16LE",2]),n.prototype.fieldSpec.push(["pid_count","writeUInt16LE",2]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_SOCKET_COUNTS",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_SOCKET_COUNTS",a.prototype.msg_type=32515,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint16("socket_count").uint16("socket_types").uint16("socket_states").string("cmdline",{greedy:!0}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["index","writeUInt8",1]),a.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),a.prototype.fieldSpec.push(["socket_count","writeUInt16LE",2]),a.prototype.fieldSpec.push(["socket_types","writeUInt16LE",2]),a.prototype.fieldSpec.push(["socket_states","writeUInt16LE",2]),a.prototype.fieldSpec.push(["cmdline","string",null]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_SOCKET_QUEUES",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_SOCKET_QUEUES",l.prototype.msg_type=32516,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint16("recv_queued").uint16("send_queued").uint16("socket_types").uint16("socket_states").string("address_of_largest",{length:64}).string("cmdline",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["index","writeUInt8",1]),l.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),l.prototype.fieldSpec.push(["recv_queued","writeUInt16LE",2]),l.prototype.fieldSpec.push(["send_queued","writeUInt16LE",2]),l.prototype.fieldSpec.push(["socket_types","writeUInt16LE",2]),l.prototype.fieldSpec.push(["socket_states","writeUInt16LE",2]),l.prototype.fieldSpec.push(["address_of_largest","string",64]),l.prototype.fieldSpec.push(["cmdline","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_SOCKET_USAGE",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_SOCKET_USAGE",c.prototype.msg_type=32517,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("avg_queue_depth").uint32("max_queue_depth").array("socket_state_counts",{length:16,type:"uint16le"}).array("socket_type_counts",{length:16,type:"uint16le"}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["avg_queue_depth","writeUInt32LE",4]),c.prototype.fieldSpec.push(["max_queue_depth","writeUInt32LE",4]),c.prototype.fieldSpec.push(["socket_state_counts","array","writeUInt16LE",function(){return 2},16]),c.prototype.fieldSpec.push(["socket_type_counts","array","writeUInt16LE",function(){return 2},16]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_FD_COUNT",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_FD_COUNT",u.prototype.msg_type=32518,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint16("fd_count").string("cmdline",{greedy:!0}),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["index","writeUInt8",1]),u.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),u.prototype.fieldSpec.push(["fd_count","writeUInt16LE",2]),u.prototype.fieldSpec.push(["cmdline","string",null]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_FD_SUMMARY",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_FD_SUMMARY",y.prototype.msg_type=32519,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint32("sys_fd_count").string("most_opened",{greedy:!0}),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sys_fd_count","writeUInt32LE",4]),y.prototype.fieldSpec.push(["most_opened","string",null]),e.exports={32512:i,MsgLinuxCpuState:i,32513:s,MsgLinuxMemState:s,32514:n,MsgLinuxSysState:n,32515:a,MsgLinuxProcessSocketCounts:a,32516:l,MsgLinuxProcessSocketQueues:l,32517:c,MsgLinuxSocketUsage:c,32518:u,MsgLinuxProcessFdCount:u,32519:y,MsgLinuxProcessFdSummary:y}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_LOG",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_LOG",i.prototype.msg_type=1025,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("level").string("text",{greedy:!0}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["level","writeUInt8",1]),i.prototype.fieldSpec.push(["text","string",null]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_FWD",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_FWD",s.prototype.msg_type=1026,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("source").uint8("protocol").string("fwd_payload",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["source","writeUInt8",1]),s.prototype.fieldSpec.push(["protocol","writeUInt8",1]),s.prototype.fieldSpec.push(["fwd_payload","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_PRINT_DEP",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_PRINT_DEP",n.prototype.msg_type=16,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").string("text",{greedy:!0}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["text","string",null]),e.exports={1025:i,MsgLog:i,1026:s,MsgFwd:s,16:n,MsgPrintDep:n}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_MAG_RAW",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_MAG_RAW",i.prototype.msg_type=2306,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").uint8("tow_f").int16("mag_x").int16("mag_y").int16("mag_z"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["tow_f","writeUInt8",1]),i.prototype.fieldSpec.push(["mag_x","writeInt16LE",2]),i.prototype.fieldSpec.push(["mag_y","writeInt16LE",2]),i.prototype.fieldSpec.push(["mag_z","writeInt16LE",2]),e.exports={2306:i,MsgMagRaw:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_GPS_TIME",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_GPS_TIME",i.prototype.msg_type=258,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint16("wn").uint32("tow").int32("ns_residual").uint8("flags"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["wn","writeUInt16LE",2]),i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["ns_residual","writeInt32LE",4]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_UTC_TIME",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_UTC_TIME",s.prototype.msg_type=259,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("flags").uint32("tow").uint16("year").uint8("month").uint8("day").uint8("hours").uint8("minutes").uint8("seconds").uint32("ns"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["flags","writeUInt8",1]),s.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),s.prototype.fieldSpec.push(["year","writeUInt16LE",2]),s.prototype.fieldSpec.push(["month","writeUInt8",1]),s.prototype.fieldSpec.push(["day","writeUInt8",1]),s.prototype.fieldSpec.push(["hours","writeUInt8",1]),s.prototype.fieldSpec.push(["minutes","writeUInt8",1]),s.prototype.fieldSpec.push(["seconds","writeUInt8",1]),s.prototype.fieldSpec.push(["ns","writeUInt32LE",4]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_DOPS",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_DOPS",n.prototype.msg_type=520,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("tow").uint16("gdop").uint16("pdop").uint16("tdop").uint16("hdop").uint16("vdop").uint8("flags"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),n.prototype.fieldSpec.push(["gdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["pdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["tdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["hdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["vdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["flags","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_POS_ECEF",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_POS_ECEF",a.prototype.msg_type=521,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("tow").doublele("x").doublele("y").doublele("z").uint16("accuracy").uint8("n_sats").uint8("flags"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),a.prototype.fieldSpec.push(["x","writeDoubleLE",8]),a.prototype.fieldSpec.push(["y","writeDoubleLE",8]),a.prototype.fieldSpec.push(["z","writeDoubleLE",8]),a.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),a.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),a.prototype.fieldSpec.push(["flags","writeUInt8",1]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_POS_ECEF_COV",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_POS_ECEF_COV",l.prototype.msg_type=532,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint32("tow").doublele("x").doublele("y").doublele("z").floatle("cov_x_x").floatle("cov_x_y").floatle("cov_x_z").floatle("cov_y_y").floatle("cov_y_z").floatle("cov_z_z").uint8("n_sats").uint8("flags"),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),l.prototype.fieldSpec.push(["x","writeDoubleLE",8]),l.prototype.fieldSpec.push(["y","writeDoubleLE",8]),l.prototype.fieldSpec.push(["z","writeDoubleLE",8]),l.prototype.fieldSpec.push(["cov_x_x","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_x_y","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_x_z","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_y_y","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_y_z","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_z_z","writeFloatLE",4]),l.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),l.prototype.fieldSpec.push(["flags","writeUInt8",1]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_POS_LLH",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_POS_LLH",c.prototype.msg_type=522,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("tow").doublele("lat").doublele("lon").doublele("height").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),c.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),c.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),c.prototype.fieldSpec.push(["height","writeDoubleLE",8]),c.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),c.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),c.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),c.prototype.fieldSpec.push(["flags","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_POS_LLH_COV",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_POS_LLH_COV",u.prototype.msg_type=529,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("tow").doublele("lat").doublele("lon").doublele("height").floatle("cov_n_n").floatle("cov_n_e").floatle("cov_n_d").floatle("cov_e_e").floatle("cov_e_d").floatle("cov_d_d").uint8("n_sats").uint8("flags"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),u.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),u.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),u.prototype.fieldSpec.push(["height","writeDoubleLE",8]),u.prototype.fieldSpec.push(["cov_n_n","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_n_e","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_n_d","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_e_e","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_e_d","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_d_d","writeFloatLE",4]),u.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),u.prototype.fieldSpec.push(["flags","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_ECEF",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_ECEF",y.prototype.msg_type=523,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),y.prototype.fieldSpec.push(["x","writeInt32LE",4]),y.prototype.fieldSpec.push(["y","writeInt32LE",4]),y.prototype.fieldSpec.push(["z","writeInt32LE",4]),y.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),y.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),y.prototype.fieldSpec.push(["flags","writeUInt8",1]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_NED",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_NED",h.prototype.msg_type=524,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),h.prototype.fieldSpec.push(["n","writeInt32LE",4]),h.prototype.fieldSpec.push(["e","writeInt32LE",4]),h.prototype.fieldSpec.push(["d","writeInt32LE",4]),h.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),h.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),h.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),h.prototype.fieldSpec.push(["flags","writeUInt8",1]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_ECEF",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_VEL_ECEF",f.prototype.msg_type=525,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),f.prototype.fieldSpec.push(["x","writeInt32LE",4]),f.prototype.fieldSpec.push(["y","writeInt32LE",4]),f.prototype.fieldSpec.push(["z","writeInt32LE",4]),f.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),f.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),f.prototype.fieldSpec.push(["flags","writeUInt8",1]);var d=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_ECEF_COV",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_VEL_ECEF_COV",d.prototype.msg_type=533,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").floatle("cov_x_x").floatle("cov_x_y").floatle("cov_x_z").floatle("cov_y_y").floatle("cov_y_z").floatle("cov_z_z").uint8("n_sats").uint8("flags"),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),d.prototype.fieldSpec.push(["x","writeInt32LE",4]),d.prototype.fieldSpec.push(["y","writeInt32LE",4]),d.prototype.fieldSpec.push(["z","writeInt32LE",4]),d.prototype.fieldSpec.push(["cov_x_x","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_x_y","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_x_z","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_y_y","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_y_z","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_z_z","writeFloatLE",4]),d.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),d.prototype.fieldSpec.push(["flags","writeUInt8",1]);var _=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_NED",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="MSG_VEL_NED",_.prototype.msg_type=526,_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),_.prototype.fieldSpec.push(["n","writeInt32LE",4]),_.prototype.fieldSpec.push(["e","writeInt32LE",4]),_.prototype.fieldSpec.push(["d","writeInt32LE",4]),_.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),_.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),_.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),_.prototype.fieldSpec.push(["flags","writeUInt8",1]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_NED_COV",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_VEL_NED_COV",S.prototype.msg_type=530,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").floatle("cov_n_n").floatle("cov_n_e").floatle("cov_n_d").floatle("cov_e_e").floatle("cov_e_d").floatle("cov_d_d").uint8("n_sats").uint8("flags"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),S.prototype.fieldSpec.push(["n","writeInt32LE",4]),S.prototype.fieldSpec.push(["e","writeInt32LE",4]),S.prototype.fieldSpec.push(["d","writeInt32LE",4]),S.prototype.fieldSpec.push(["cov_n_n","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_n_e","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_n_d","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_e_e","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_e_d","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_d_d","writeFloatLE",4]),S.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),S.prototype.fieldSpec.push(["flags","writeUInt8",1]);var g=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_BODY",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="MSG_VEL_BODY",g.prototype.msg_type=531,g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").floatle("cov_x_x").floatle("cov_x_y").floatle("cov_x_z").floatle("cov_y_y").floatle("cov_y_z").floatle("cov_z_z").uint8("n_sats").uint8("flags"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),g.prototype.fieldSpec.push(["x","writeInt32LE",4]),g.prototype.fieldSpec.push(["y","writeInt32LE",4]),g.prototype.fieldSpec.push(["z","writeInt32LE",4]),g.prototype.fieldSpec.push(["cov_x_x","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_x_y","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_x_z","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_y_y","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_y_z","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_z_z","writeFloatLE",4]),g.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),g.prototype.fieldSpec.push(["flags","writeUInt8",1]);var w=function(e,t){return p.call(this,e),this.messageType="MSG_AGE_CORRECTIONS",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="MSG_AGE_CORRECTIONS",w.prototype.msg_type=528,w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").uint32("tow").uint16("age"),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),w.prototype.fieldSpec.push(["age","writeUInt16LE",2]);var E=function(e,t){return p.call(this,e),this.messageType="MSG_GPS_TIME_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="MSG_GPS_TIME_DEP_A",E.prototype.msg_type=256,E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").uint16("wn").uint32("tow").int32("ns_residual").uint8("flags"),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["wn","writeUInt16LE",2]),E.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),E.prototype.fieldSpec.push(["ns_residual","writeInt32LE",4]),E.prototype.fieldSpec.push(["flags","writeUInt8",1]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_DOPS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_DOPS_DEP_A",m.prototype.msg_type=518,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").uint32("tow").uint16("gdop").uint16("pdop").uint16("tdop").uint16("hdop").uint16("vdop"),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),m.prototype.fieldSpec.push(["gdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["pdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["tdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["hdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["vdop","writeUInt16LE",2]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_POS_ECEF_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_POS_ECEF_DEP_A",b.prototype.msg_type=512,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").uint32("tow").doublele("x").doublele("y").doublele("z").uint16("accuracy").uint8("n_sats").uint8("flags"),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),b.prototype.fieldSpec.push(["x","writeDoubleLE",8]),b.prototype.fieldSpec.push(["y","writeDoubleLE",8]),b.prototype.fieldSpec.push(["z","writeDoubleLE",8]),b.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),b.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),b.prototype.fieldSpec.push(["flags","writeUInt8",1]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_POS_LLH_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_POS_LLH_DEP_A",v.prototype.msg_type=513,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").uint32("tow").doublele("lat").doublele("lon").doublele("height").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),v.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),v.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),v.prototype.fieldSpec.push(["height","writeDoubleLE",8]),v.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),v.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),v.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),v.prototype.fieldSpec.push(["flags","writeUInt8",1]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_ECEF_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_ECEF_DEP_A",L.prototype.msg_type=514,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),L.prototype.fieldSpec.push(["x","writeInt32LE",4]),L.prototype.fieldSpec.push(["y","writeInt32LE",4]),L.prototype.fieldSpec.push(["z","writeInt32LE",4]),L.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),L.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),L.prototype.fieldSpec.push(["flags","writeUInt8",1]);var T=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_NED_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(T.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_NED_DEP_A",T.prototype.msg_type=515,T.prototype.constructor=T,T.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),T.prototype.fieldSpec=[],T.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),T.prototype.fieldSpec.push(["n","writeInt32LE",4]),T.prototype.fieldSpec.push(["e","writeInt32LE",4]),T.prototype.fieldSpec.push(["d","writeInt32LE",4]),T.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),T.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),T.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),T.prototype.fieldSpec.push(["flags","writeUInt8",1]);var I=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_ECEF_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(I.prototype=Object.create(p.prototype)).messageType="MSG_VEL_ECEF_DEP_A",I.prototype.msg_type=516,I.prototype.constructor=I,I.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),I.prototype.fieldSpec=[],I.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),I.prototype.fieldSpec.push(["x","writeInt32LE",4]),I.prototype.fieldSpec.push(["y","writeInt32LE",4]),I.prototype.fieldSpec.push(["z","writeInt32LE",4]),I.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),I.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),I.prototype.fieldSpec.push(["flags","writeUInt8",1]);var M=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_NED_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(M.prototype=Object.create(p.prototype)).messageType="MSG_VEL_NED_DEP_A",M.prototype.msg_type=517,M.prototype.constructor=M,M.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),M.prototype.fieldSpec=[],M.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),M.prototype.fieldSpec.push(["n","writeInt32LE",4]),M.prototype.fieldSpec.push(["e","writeInt32LE",4]),M.prototype.fieldSpec.push(["d","writeInt32LE",4]),M.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),M.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),M.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),M.prototype.fieldSpec.push(["flags","writeUInt8",1]);var U=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_HEADING_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(U.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_HEADING_DEP_A",U.prototype.msg_type=519,U.prototype.constructor=U,U.prototype.parser=(new o).endianess("little").uint32("tow").uint32("heading").uint8("n_sats").uint8("flags"),U.prototype.fieldSpec=[],U.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),U.prototype.fieldSpec.push(["heading","writeUInt32LE",4]),U.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),U.prototype.fieldSpec.push(["flags","writeUInt8",1]),e.exports={258:i,MsgGpsTime:i,259:s,MsgUtcTime:s,520:n,MsgDops:n,521:a,MsgPosEcef:a,532:l,MsgPosEcefCov:l,522:c,MsgPosLlh:c,529:u,MsgPosLlhCov:u,523:y,MsgBaselineEcef:y,524:h,MsgBaselineNed:h,525:f,MsgVelEcef:f,533:d,MsgVelEcefCov:d,526:_,MsgVelNed:_,530:S,MsgVelNedCov:S,531:g,MsgVelBody:g,528:w,MsgAgeCorrections:w,256:E,MsgGpsTimeDepA:E,518:m,MsgDopsDepA:m,512:b,MsgPosEcefDepA:b,513:v,MsgPosLlhDepA:v,514:L,MsgBaselineEcefDepA:L,515:T,MsgBaselineNedDepA:T,516:I,MsgVelEcefDepA:I,517:M,MsgVelNedDepA:M,519:U,MsgBaselineHeadingDepA:U}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=(r(0).GnssSignalDep,r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep,r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_NDB_EVENT",this.fields=t||this.parser.parse(e.payload),this});(s.prototype=Object.create(p.prototype)).messageType="MSG_NDB_EVENT",s.prototype.msg_type=1024,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint64("recv_time").uint8("event").uint8("object_type").uint8("result").uint8("data_source").nest("object_sid",{type:i.prototype.parser}).nest("src_sid",{type:i.prototype.parser}).uint16("original_sender"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["recv_time","writeUInt64LE",8]),s.prototype.fieldSpec.push(["event","writeUInt8",1]),s.prototype.fieldSpec.push(["object_type","writeUInt8",1]),s.prototype.fieldSpec.push(["result","writeUInt8",1]),s.prototype.fieldSpec.push(["data_source","writeUInt8",1]),s.prototype.fieldSpec.push(["object_sid",i.prototype.fieldSpec]),s.prototype.fieldSpec.push(["src_sid",i.prototype.fieldSpec]),s.prototype.fieldSpec.push(["original_sender","writeUInt16LE",2]),e.exports={1024:s,MsgNdbEvent:s}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=r(0).GPSTime,a=r(0).CarrierPhase,l=(n=r(0).GPSTime,r(0).GPSTimeSec),c=r(0).GPSTimeDep,u=(r(0).SvId,function(e,t){return p.call(this,e),this.messageType="ObservationHeader",this.fields=t||this.parser.parse(e.payload),this});(u.prototype=Object.create(p.prototype)).messageType="ObservationHeader",u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").nest("t",{type:n.prototype.parser}).uint8("n_obs"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["t",n.prototype.fieldSpec]),u.prototype.fieldSpec.push(["n_obs","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="Doppler",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="Doppler",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").int16("i").uint8("f"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["i","writeInt16LE",2]),y.prototype.fieldSpec.push(["f","writeUInt8",1]);var h=function(e,t){return p.call(this,e),this.messageType="PackedObsContent",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="PackedObsContent",h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:a.prototype.parser}).nest("D",{type:y.prototype.parser}).uint8("cn0").uint8("lock").uint8("flags").nest("sid",{type:i.prototype.parser}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["P","writeUInt32LE",4]),h.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),h.prototype.fieldSpec.push(["D",y.prototype.fieldSpec]),h.prototype.fieldSpec.push(["cn0","writeUInt8",1]),h.prototype.fieldSpec.push(["lock","writeUInt8",1]),h.prototype.fieldSpec.push(["flags","writeUInt8",1]),h.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]);var f=function(e,t){return p.call(this,e),this.messageType="PackedOsrContent",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="PackedOsrContent",f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:a.prototype.parser}).uint8("lock").uint8("flags").nest("sid",{type:i.prototype.parser}).uint16("iono_std").uint16("tropo_std").uint16("range_std"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["P","writeUInt32LE",4]),f.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),f.prototype.fieldSpec.push(["lock","writeUInt8",1]),f.prototype.fieldSpec.push(["flags","writeUInt8",1]),f.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),f.prototype.fieldSpec.push(["iono_std","writeUInt16LE",2]),f.prototype.fieldSpec.push(["tropo_std","writeUInt16LE",2]),f.prototype.fieldSpec.push(["range_std","writeUInt16LE",2]);var d=function(e,t){return p.call(this,e),this.messageType="MSG_OBS",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_OBS",d.prototype.msg_type=74,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").nest("header",{type:u.prototype.parser}).array("obs",{type:h.prototype.parser,readUntil:"eof"}),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["header",u.prototype.fieldSpec]),d.prototype.fieldSpec.push(["obs","array",h.prototype.fieldSpec,function(){return this.fields.array.length},null]);var _=function(e,t){return p.call(this,e),this.messageType="MSG_BASE_POS_LLH",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="MSG_BASE_POS_LLH",_.prototype.msg_type=68,_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").doublele("lat").doublele("lon").doublele("height"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),_.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),_.prototype.fieldSpec.push(["height","writeDoubleLE",8]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_BASE_POS_ECEF",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_BASE_POS_ECEF",S.prototype.msg_type=72,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").doublele("x").doublele("y").doublele("z"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["x","writeDoubleLE",8]),S.prototype.fieldSpec.push(["y","writeDoubleLE",8]),S.prototype.fieldSpec.push(["z","writeDoubleLE",8]);var g=function(e,t){return p.call(this,e),this.messageType="EphemerisCommonContent",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="EphemerisCommonContent",g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).nest("toe",{type:l.prototype.parser}).floatle("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),g.prototype.fieldSpec.push(["toe",l.prototype.fieldSpec]),g.prototype.fieldSpec.push(["ura","writeFloatLE",4]),g.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),g.prototype.fieldSpec.push(["valid","writeUInt8",1]),g.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var w=function(e,t){return p.call(this,e),this.messageType="EphemerisCommonContentDepB",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="EphemerisCommonContentDepB",w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).nest("toe",{type:l.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),w.prototype.fieldSpec.push(["toe",l.prototype.fieldSpec]),w.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),w.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),w.prototype.fieldSpec.push(["valid","writeUInt8",1]),w.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var E=function(e,t){return p.call(this,e),this.messageType="EphemerisCommonContentDepA",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="EphemerisCommonContentDepA",E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").nest("sid",{type:s.prototype.parser}).nest("toe",{type:c.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),E.prototype.fieldSpec.push(["toe",c.prototype.fieldSpec]),E.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),E.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),E.prototype.fieldSpec.push(["valid","writeUInt8",1]),E.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GPS_DEP_E",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GPS_DEP_E",m.prototype.msg_type=129,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").nest("common",{type:E.prototype.parser}).doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").nest("toc",{type:c.prototype.parser}).uint8("iode").uint16("iodc"),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["common",E.prototype.fieldSpec]),m.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),m.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),m.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),m.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),m.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),m.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),m.prototype.fieldSpec.push(["w","writeDoubleLE",8]),m.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),m.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),m.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),m.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),m.prototype.fieldSpec.push(["toc",c.prototype.fieldSpec]),m.prototype.fieldSpec.push(["iode","writeUInt8",1]),m.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GPS_DEP_F",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GPS_DEP_F",b.prototype.msg_type=134,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),b.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),b.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),b.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),b.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),b.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),b.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),b.prototype.fieldSpec.push(["w","writeDoubleLE",8]),b.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),b.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),b.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),b.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),b.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),b.prototype.fieldSpec.push(["iode","writeUInt8",1]),b.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GPS",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GPS",v.prototype.msg_type=138,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("tgd").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").floatle("af0").floatle("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),v.prototype.fieldSpec.push(["tgd","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),v.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),v.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),v.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),v.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),v.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),v.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),v.prototype.fieldSpec.push(["w","writeDoubleLE",8]),v.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),v.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),v.prototype.fieldSpec.push(["af0","writeFloatLE",4]),v.prototype.fieldSpec.push(["af1","writeFloatLE",4]),v.prototype.fieldSpec.push(["af2","writeFloatLE",4]),v.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),v.prototype.fieldSpec.push(["iode","writeUInt8",1]),v.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_QZSS",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_QZSS",L.prototype.msg_type=142,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("tgd").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").floatle("af0").floatle("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),L.prototype.fieldSpec.push(["tgd","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),L.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),L.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),L.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),L.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),L.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),L.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),L.prototype.fieldSpec.push(["w","writeDoubleLE",8]),L.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),L.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),L.prototype.fieldSpec.push(["af0","writeFloatLE",4]),L.prototype.fieldSpec.push(["af1","writeFloatLE",4]),L.prototype.fieldSpec.push(["af2","writeFloatLE",4]),L.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),L.prototype.fieldSpec.push(["iode","writeUInt8",1]),L.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var T=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_BDS",this.fields=t||this.parser.parse(e.payload),this};(T.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_BDS",T.prototype.msg_type=137,T.prototype.constructor=T,T.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("tgd1").floatle("tgd2").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").floatle("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),T.prototype.fieldSpec=[],T.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),T.prototype.fieldSpec.push(["tgd1","writeFloatLE",4]),T.prototype.fieldSpec.push(["tgd2","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),T.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),T.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),T.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),T.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),T.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),T.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),T.prototype.fieldSpec.push(["w","writeDoubleLE",8]),T.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),T.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),T.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),T.prototype.fieldSpec.push(["af1","writeFloatLE",4]),T.prototype.fieldSpec.push(["af2","writeFloatLE",4]),T.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),T.prototype.fieldSpec.push(["iode","writeUInt8",1]),T.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var I=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GAL_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(I.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GAL_DEP_A",I.prototype.msg_type=149,I.prototype.constructor=I,I.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("bgd_e1e5a").floatle("bgd_e1e5b").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint16("iode").uint16("iodc"),I.prototype.fieldSpec=[],I.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),I.prototype.fieldSpec.push(["bgd_e1e5a","writeFloatLE",4]),I.prototype.fieldSpec.push(["bgd_e1e5b","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),I.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),I.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),I.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),I.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),I.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),I.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),I.prototype.fieldSpec.push(["w","writeDoubleLE",8]),I.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),I.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),I.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),I.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),I.prototype.fieldSpec.push(["af2","writeFloatLE",4]),I.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),I.prototype.fieldSpec.push(["iode","writeUInt16LE",2]),I.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var M=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GAL",this.fields=t||this.parser.parse(e.payload),this};(M.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GAL",M.prototype.msg_type=141,M.prototype.constructor=M,M.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("bgd_e1e5a").floatle("bgd_e1e5b").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint16("iode").uint16("iodc").uint8("source"),M.prototype.fieldSpec=[],M.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),M.prototype.fieldSpec.push(["bgd_e1e5a","writeFloatLE",4]),M.prototype.fieldSpec.push(["bgd_e1e5b","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),M.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),M.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),M.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),M.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),M.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),M.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),M.prototype.fieldSpec.push(["w","writeDoubleLE",8]),M.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),M.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),M.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),M.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),M.prototype.fieldSpec.push(["af2","writeFloatLE",4]),M.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),M.prototype.fieldSpec.push(["iode","writeUInt16LE",2]),M.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]),M.prototype.fieldSpec.push(["source","writeUInt8",1]);var U=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_SBAS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(U.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_SBAS_DEP_A",U.prototype.msg_type=130,U.prototype.constructor=U,U.prototype.parser=(new o).endianess("little").nest("common",{type:E.prototype.parser}).array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).doublele("a_gf0").doublele("a_gf1"),U.prototype.fieldSpec=[],U.prototype.fieldSpec.push(["common",E.prototype.fieldSpec]),U.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),U.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),U.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),U.prototype.fieldSpec.push(["a_gf0","writeDoubleLE",8]),U.prototype.fieldSpec.push(["a_gf1","writeDoubleLE",8]);var D=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(D.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_A",D.prototype.msg_type=131,D.prototype.constructor=D,D.prototype.parser=(new o).endianess("little").nest("common",{type:E.prototype.parser}).doublele("gamma").doublele("tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}),D.prototype.fieldSpec=[],D.prototype.fieldSpec.push(["common",E.prototype.fieldSpec]),D.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),D.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),D.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),D.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),D.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]);var O=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_SBAS_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(O.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_SBAS_DEP_B",O.prototype.msg_type=132,O.prototype.constructor=O,O.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).doublele("a_gf0").doublele("a_gf1"),O.prototype.fieldSpec=[],O.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),O.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),O.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),O.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),O.prototype.fieldSpec.push(["a_gf0","writeDoubleLE",8]),O.prototype.fieldSpec.push(["a_gf1","writeDoubleLE",8]);var A=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_SBAS",this.fields=t||this.parser.parse(e.payload),this};(A.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_SBAS",A.prototype.msg_type=140,A.prototype.constructor=A,A.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"floatle"}).array("acc",{length:3,type:"floatle"}).floatle("a_gf0").floatle("a_gf1"),A.prototype.fieldSpec=[],A.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),A.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),A.prototype.fieldSpec.push(["vel","array","writeFloatLE",function(){return 4},3]),A.prototype.fieldSpec.push(["acc","array","writeFloatLE",function(){return 4},3]),A.prototype.fieldSpec.push(["a_gf0","writeFloatLE",4]),A.prototype.fieldSpec.push(["a_gf1","writeFloatLE",4]);var G=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(G.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_B",G.prototype.msg_type=133,G.prototype.constructor=G,G.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("gamma").doublele("tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}),G.prototype.fieldSpec=[],G.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),G.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),G.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),G.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),G.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),G.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]);var R=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(R.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_C",R.prototype.msg_type=135,R.prototype.constructor=R,R.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("gamma").doublele("tau").doublele("d_tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).uint8("fcn"),R.prototype.fieldSpec=[],R.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),R.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),R.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),R.prototype.fieldSpec.push(["d_tau","writeDoubleLE",8]),R.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),R.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),R.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),R.prototype.fieldSpec.push(["fcn","writeUInt8",1]);var P=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_D",this.fields=t||this.parser.parse(e.payload),this};(P.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_D",P.prototype.msg_type=136,P.prototype.constructor=P,P.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("gamma").doublele("tau").doublele("d_tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).uint8("fcn").uint8("iod"),P.prototype.fieldSpec=[],P.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),P.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),P.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),P.prototype.fieldSpec.push(["d_tau","writeDoubleLE",8]),P.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),P.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),P.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),P.prototype.fieldSpec.push(["fcn","writeUInt8",1]),P.prototype.fieldSpec.push(["iod","writeUInt8",1]);var C=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO",this.fields=t||this.parser.parse(e.payload),this};(C.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO",C.prototype.msg_type=139,C.prototype.constructor=C,C.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("gamma").floatle("tau").floatle("d_tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"floatle"}).uint8("fcn").uint8("iod"),C.prototype.fieldSpec=[],C.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),C.prototype.fieldSpec.push(["gamma","writeFloatLE",4]),C.prototype.fieldSpec.push(["tau","writeFloatLE",4]),C.prototype.fieldSpec.push(["d_tau","writeFloatLE",4]),C.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),C.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),C.prototype.fieldSpec.push(["acc","array","writeFloatLE",function(){return 4},3]),C.prototype.fieldSpec.push(["fcn","writeUInt8",1]),C.prototype.fieldSpec.push(["iod","writeUInt8",1]);var j=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_D",this.fields=t||this.parser.parse(e.payload),this};(j.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_D",j.prototype.msg_type=128,j.prototype.constructor=j,j.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").nest("sid",{type:s.prototype.parser}).uint8("iode").uint16("iodc").uint32("reserved"),j.prototype.fieldSpec=[],j.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),j.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),j.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),j.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),j.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),j.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),j.prototype.fieldSpec.push(["w","writeDoubleLE",8]),j.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),j.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),j.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),j.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),j.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),j.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),j.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),j.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),j.prototype.fieldSpec.push(["valid","writeUInt8",1]),j.prototype.fieldSpec.push(["healthy","writeUInt8",1]),j.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),j.prototype.fieldSpec.push(["iode","writeUInt8",1]),j.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]),j.prototype.fieldSpec.push(["reserved","writeUInt32LE",4]);var N=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(N.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_A",N.prototype.msg_type=26,N.prototype.constructor=N,N.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").uint8("prn"),N.prototype.fieldSpec=[],N.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),N.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),N.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),N.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),N.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),N.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),N.prototype.fieldSpec.push(["w","writeDoubleLE",8]),N.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),N.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),N.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),N.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),N.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),N.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),N.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),N.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),N.prototype.fieldSpec.push(["valid","writeUInt8",1]),N.prototype.fieldSpec.push(["healthy","writeUInt8",1]),N.prototype.fieldSpec.push(["prn","writeUInt8",1]);var x=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(x.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_B",x.prototype.msg_type=70,x.prototype.constructor=x,x.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").uint8("prn").uint8("iode"),x.prototype.fieldSpec=[],x.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),x.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),x.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),x.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),x.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),x.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),x.prototype.fieldSpec.push(["w","writeDoubleLE",8]),x.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),x.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),x.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),x.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),x.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),x.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),x.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),x.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),x.prototype.fieldSpec.push(["valid","writeUInt8",1]),x.prototype.fieldSpec.push(["healthy","writeUInt8",1]),x.prototype.fieldSpec.push(["prn","writeUInt8",1]),x.prototype.fieldSpec.push(["iode","writeUInt8",1]);var k=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(k.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_C",k.prototype.msg_type=71,k.prototype.constructor=k,k.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").nest("sid",{type:s.prototype.parser}).uint8("iode").uint16("iodc").uint32("reserved"),k.prototype.fieldSpec=[],k.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),k.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),k.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),k.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),k.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),k.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),k.prototype.fieldSpec.push(["w","writeDoubleLE",8]),k.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),k.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),k.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),k.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),k.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),k.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),k.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),k.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),k.prototype.fieldSpec.push(["valid","writeUInt8",1]),k.prototype.fieldSpec.push(["healthy","writeUInt8",1]),k.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),k.prototype.fieldSpec.push(["iode","writeUInt8",1]),k.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]),k.prototype.fieldSpec.push(["reserved","writeUInt32LE",4]);var B=function(e,t){return p.call(this,e),this.messageType="ObservationHeaderDep",this.fields=t||this.parser.parse(e.payload),this};(B.prototype=Object.create(p.prototype)).messageType="ObservationHeaderDep",B.prototype.constructor=B,B.prototype.parser=(new o).endianess("little").nest("t",{type:c.prototype.parser}).uint8("n_obs"),B.prototype.fieldSpec=[],B.prototype.fieldSpec.push(["t",c.prototype.fieldSpec]),B.prototype.fieldSpec.push(["n_obs","writeUInt8",1]);var F=function(e,t){return p.call(this,e),this.messageType="CarrierPhaseDepA",this.fields=t||this.parser.parse(e.payload),this};(F.prototype=Object.create(p.prototype)).messageType="CarrierPhaseDepA",F.prototype.constructor=F,F.prototype.parser=(new o).endianess("little").int32("i").uint8("f"),F.prototype.fieldSpec=[],F.prototype.fieldSpec.push(["i","writeInt32LE",4]),F.prototype.fieldSpec.push(["f","writeUInt8",1]);var q=function(e,t){return p.call(this,e),this.messageType="PackedObsContentDepA",this.fields=t||this.parser.parse(e.payload),this};(q.prototype=Object.create(p.prototype)).messageType="PackedObsContentDepA",q.prototype.constructor=q,q.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:F.prototype.parser}).uint8("cn0").uint16("lock").uint8("prn"),q.prototype.fieldSpec=[],q.prototype.fieldSpec.push(["P","writeUInt32LE",4]),q.prototype.fieldSpec.push(["L",F.prototype.fieldSpec]),q.prototype.fieldSpec.push(["cn0","writeUInt8",1]),q.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),q.prototype.fieldSpec.push(["prn","writeUInt8",1]);var H=function(e,t){return p.call(this,e),this.messageType="PackedObsContentDepB",this.fields=t||this.parser.parse(e.payload),this};(H.prototype=Object.create(p.prototype)).messageType="PackedObsContentDepB",H.prototype.constructor=H,H.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:F.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:s.prototype.parser}),H.prototype.fieldSpec=[],H.prototype.fieldSpec.push(["P","writeUInt32LE",4]),H.prototype.fieldSpec.push(["L",F.prototype.fieldSpec]),H.prototype.fieldSpec.push(["cn0","writeUInt8",1]),H.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),H.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var z=function(e,t){return p.call(this,e),this.messageType="PackedObsContentDepC",this.fields=t||this.parser.parse(e.payload),this};(z.prototype=Object.create(p.prototype)).messageType="PackedObsContentDepC",z.prototype.constructor=z,z.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:a.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:s.prototype.parser}),z.prototype.fieldSpec=[],z.prototype.fieldSpec.push(["P","writeUInt32LE",4]),z.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),z.prototype.fieldSpec.push(["cn0","writeUInt8",1]),z.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),z.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var V=function(e,t){return p.call(this,e),this.messageType="MSG_OBS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(V.prototype=Object.create(p.prototype)).messageType="MSG_OBS_DEP_A",V.prototype.msg_type=69,V.prototype.constructor=V,V.prototype.parser=(new o).endianess("little").nest("header",{type:B.prototype.parser}).array("obs",{type:q.prototype.parser,readUntil:"eof"}),V.prototype.fieldSpec=[],V.prototype.fieldSpec.push(["header",B.prototype.fieldSpec]),V.prototype.fieldSpec.push(["obs","array",q.prototype.fieldSpec,function(){return this.fields.array.length},null]);var Y=function(e,t){return p.call(this,e),this.messageType="MSG_OBS_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(Y.prototype=Object.create(p.prototype)).messageType="MSG_OBS_DEP_B",Y.prototype.msg_type=67,Y.prototype.constructor=Y,Y.prototype.parser=(new o).endianess("little").nest("header",{type:B.prototype.parser}).array("obs",{type:H.prototype.parser,readUntil:"eof"}),Y.prototype.fieldSpec=[],Y.prototype.fieldSpec.push(["header",B.prototype.fieldSpec]),Y.prototype.fieldSpec.push(["obs","array",H.prototype.fieldSpec,function(){return this.fields.array.length},null]);var W=function(e,t){return p.call(this,e),this.messageType="MSG_OBS_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(W.prototype=Object.create(p.prototype)).messageType="MSG_OBS_DEP_C",W.prototype.msg_type=73,W.prototype.constructor=W,W.prototype.parser=(new o).endianess("little").nest("header",{type:B.prototype.parser}).array("obs",{type:z.prototype.parser,readUntil:"eof"}),W.prototype.fieldSpec=[],W.prototype.fieldSpec.push(["header",B.prototype.fieldSpec]),W.prototype.fieldSpec.push(["obs","array",z.prototype.fieldSpec,function(){return this.fields.array.length},null]);var Q=function(e,t){return p.call(this,e),this.messageType="MSG_IONO",this.fields=t||this.parser.parse(e.payload),this};(Q.prototype=Object.create(p.prototype)).messageType="MSG_IONO",Q.prototype.msg_type=144,Q.prototype.constructor=Q,Q.prototype.parser=(new o).endianess("little").nest("t_nmct",{type:l.prototype.parser}).doublele("a0").doublele("a1").doublele("a2").doublele("a3").doublele("b0").doublele("b1").doublele("b2").doublele("b3"),Q.prototype.fieldSpec=[],Q.prototype.fieldSpec.push(["t_nmct",l.prototype.fieldSpec]),Q.prototype.fieldSpec.push(["a0","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["a1","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["a2","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["a3","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b0","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b1","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b2","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b3","writeDoubleLE",8]);var K=function(e,t){return p.call(this,e),this.messageType="MSG_SV_CONFIGURATION_GPS_DEP",this.fields=t||this.parser.parse(e.payload),this};(K.prototype=Object.create(p.prototype)).messageType="MSG_SV_CONFIGURATION_GPS_DEP",K.prototype.msg_type=145,K.prototype.constructor=K,K.prototype.parser=(new o).endianess("little").nest("t_nmct",{type:l.prototype.parser}).uint32("l2c_mask"),K.prototype.fieldSpec=[],K.prototype.fieldSpec.push(["t_nmct",l.prototype.fieldSpec]),K.prototype.fieldSpec.push(["l2c_mask","writeUInt32LE",4]);var X=function(e,t){return p.call(this,e),this.messageType="GnssCapb",this.fields=t||this.parser.parse(e.payload),this};(X.prototype=Object.create(p.prototype)).messageType="GnssCapb",X.prototype.constructor=X,X.prototype.parser=(new o).endianess("little").uint64("gps_active").uint64("gps_l2c").uint64("gps_l5").uint32("glo_active").uint32("glo_l2of").uint32("glo_l3").uint64("sbas_active").uint64("sbas_l5").uint64("bds_active").uint64("bds_d2nav").uint64("bds_b2").uint64("bds_b2a").uint32("qzss_active").uint64("gal_active").uint64("gal_e5"),X.prototype.fieldSpec=[],X.prototype.fieldSpec.push(["gps_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["gps_l2c","writeUInt64LE",8]),X.prototype.fieldSpec.push(["gps_l5","writeUInt64LE",8]),X.prototype.fieldSpec.push(["glo_active","writeUInt32LE",4]),X.prototype.fieldSpec.push(["glo_l2of","writeUInt32LE",4]),X.prototype.fieldSpec.push(["glo_l3","writeUInt32LE",4]),X.prototype.fieldSpec.push(["sbas_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["sbas_l5","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_d2nav","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_b2","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_b2a","writeUInt64LE",8]),X.prototype.fieldSpec.push(["qzss_active","writeUInt32LE",4]),X.prototype.fieldSpec.push(["gal_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["gal_e5","writeUInt64LE",8]);var J=function(e,t){return p.call(this,e),this.messageType="MSG_GNSS_CAPB",this.fields=t||this.parser.parse(e.payload),this};(J.prototype=Object.create(p.prototype)).messageType="MSG_GNSS_CAPB",J.prototype.msg_type=150,J.prototype.constructor=J,J.prototype.parser=(new o).endianess("little").nest("t_nmct",{type:l.prototype.parser}).nest("gc",{type:X.prototype.parser}),J.prototype.fieldSpec=[],J.prototype.fieldSpec.push(["t_nmct",l.prototype.fieldSpec]),J.prototype.fieldSpec.push(["gc",X.prototype.fieldSpec]);var $=function(e,t){return p.call(this,e),this.messageType="MSG_GROUP_DELAY_DEP_A",this.fields=t||this.parser.parse(e.payload),this};($.prototype=Object.create(p.prototype)).messageType="MSG_GROUP_DELAY_DEP_A",$.prototype.msg_type=146,$.prototype.constructor=$,$.prototype.parser=(new o).endianess("little").nest("t_op",{type:c.prototype.parser}).uint8("prn").uint8("valid").int16("tgd").int16("isc_l1ca").int16("isc_l2c"),$.prototype.fieldSpec=[],$.prototype.fieldSpec.push(["t_op",c.prototype.fieldSpec]),$.prototype.fieldSpec.push(["prn","writeUInt8",1]),$.prototype.fieldSpec.push(["valid","writeUInt8",1]),$.prototype.fieldSpec.push(["tgd","writeInt16LE",2]),$.prototype.fieldSpec.push(["isc_l1ca","writeInt16LE",2]),$.prototype.fieldSpec.push(["isc_l2c","writeInt16LE",2]);var Z=function(e,t){return p.call(this,e),this.messageType="MSG_GROUP_DELAY_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(Z.prototype=Object.create(p.prototype)).messageType="MSG_GROUP_DELAY_DEP_B",Z.prototype.msg_type=147,Z.prototype.constructor=Z,Z.prototype.parser=(new o).endianess("little").nest("t_op",{type:l.prototype.parser}).nest("sid",{type:s.prototype.parser}).uint8("valid").int16("tgd").int16("isc_l1ca").int16("isc_l2c"),Z.prototype.fieldSpec=[],Z.prototype.fieldSpec.push(["t_op",l.prototype.fieldSpec]),Z.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),Z.prototype.fieldSpec.push(["valid","writeUInt8",1]),Z.prototype.fieldSpec.push(["tgd","writeInt16LE",2]),Z.prototype.fieldSpec.push(["isc_l1ca","writeInt16LE",2]),Z.prototype.fieldSpec.push(["isc_l2c","writeInt16LE",2]);var ee=function(e,t){return p.call(this,e),this.messageType="MSG_GROUP_DELAY",this.fields=t||this.parser.parse(e.payload),this};(ee.prototype=Object.create(p.prototype)).messageType="MSG_GROUP_DELAY",ee.prototype.msg_type=148,ee.prototype.constructor=ee,ee.prototype.parser=(new o).endianess("little").nest("t_op",{type:l.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("valid").int16("tgd").int16("isc_l1ca").int16("isc_l2c"),ee.prototype.fieldSpec=[],ee.prototype.fieldSpec.push(["t_op",l.prototype.fieldSpec]),ee.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),ee.prototype.fieldSpec.push(["valid","writeUInt8",1]),ee.prototype.fieldSpec.push(["tgd","writeInt16LE",2]),ee.prototype.fieldSpec.push(["isc_l1ca","writeInt16LE",2]),ee.prototype.fieldSpec.push(["isc_l2c","writeInt16LE",2]);var te=function(e,t){return p.call(this,e),this.messageType="AlmanacCommonContent",this.fields=t||this.parser.parse(e.payload),this};(te.prototype=Object.create(p.prototype)).messageType="AlmanacCommonContent",te.prototype.constructor=te,te.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).nest("toa",{type:l.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),te.prototype.fieldSpec=[],te.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),te.prototype.fieldSpec.push(["toa",l.prototype.fieldSpec]),te.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),te.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),te.prototype.fieldSpec.push(["valid","writeUInt8",1]),te.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var re=function(e,t){return p.call(this,e),this.messageType="AlmanacCommonContentDep",this.fields=t||this.parser.parse(e.payload),this};(re.prototype=Object.create(p.prototype)).messageType="AlmanacCommonContentDep",re.prototype.constructor=re,re.prototype.parser=(new o).endianess("little").nest("sid",{type:s.prototype.parser}).nest("toa",{type:l.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),re.prototype.fieldSpec=[],re.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),re.prototype.fieldSpec.push(["toa",l.prototype.fieldSpec]),re.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),re.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),re.prototype.fieldSpec.push(["valid","writeUInt8",1]),re.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var pe=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GPS_DEP",this.fields=t||this.parser.parse(e.payload),this};(pe.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GPS_DEP",pe.prototype.msg_type=112,pe.prototype.constructor=pe,pe.prototype.parser=(new o).endianess("little").nest("common",{type:re.prototype.parser}).doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("af0").doublele("af1"),pe.prototype.fieldSpec=[],pe.prototype.fieldSpec.push(["common",re.prototype.fieldSpec]),pe.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["w","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["af1","writeDoubleLE",8]);var oe=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GPS",this.fields=t||this.parser.parse(e.payload),this};(oe.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GPS",oe.prototype.msg_type=114,oe.prototype.constructor=oe,oe.prototype.parser=(new o).endianess("little").nest("common",{type:te.prototype.parser}).doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("af0").doublele("af1"),oe.prototype.fieldSpec=[],oe.prototype.fieldSpec.push(["common",te.prototype.fieldSpec]),oe.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["w","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["af1","writeDoubleLE",8]);var ie=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GLO_DEP",this.fields=t||this.parser.parse(e.payload),this};(ie.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GLO_DEP",ie.prototype.msg_type=113,ie.prototype.constructor=ie,ie.prototype.parser=(new o).endianess("little").nest("common",{type:re.prototype.parser}).doublele("lambda_na").doublele("t_lambda_na").doublele("i").doublele("t").doublele("t_dot").doublele("epsilon").doublele("omega"),ie.prototype.fieldSpec=[],ie.prototype.fieldSpec.push(["common",re.prototype.fieldSpec]),ie.prototype.fieldSpec.push(["lambda_na","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["t_lambda_na","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["i","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["t","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["t_dot","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["epsilon","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["omega","writeDoubleLE",8]);var se=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GLO",this.fields=t||this.parser.parse(e.payload),this};(se.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GLO",se.prototype.msg_type=115,se.prototype.constructor=se,se.prototype.parser=(new o).endianess("little").nest("common",{type:te.prototype.parser}).doublele("lambda_na").doublele("t_lambda_na").doublele("i").doublele("t").doublele("t_dot").doublele("epsilon").doublele("omega"),se.prototype.fieldSpec=[],se.prototype.fieldSpec.push(["common",te.prototype.fieldSpec]),se.prototype.fieldSpec.push(["lambda_na","writeDoubleLE",8]),se.prototype.fieldSpec.push(["t_lambda_na","writeDoubleLE",8]),se.prototype.fieldSpec.push(["i","writeDoubleLE",8]),se.prototype.fieldSpec.push(["t","writeDoubleLE",8]),se.prototype.fieldSpec.push(["t_dot","writeDoubleLE",8]),se.prototype.fieldSpec.push(["epsilon","writeDoubleLE",8]),se.prototype.fieldSpec.push(["omega","writeDoubleLE",8]);var ne=function(e,t){return p.call(this,e),this.messageType="MSG_GLO_BIASES",this.fields=t||this.parser.parse(e.payload),this};(ne.prototype=Object.create(p.prototype)).messageType="MSG_GLO_BIASES",ne.prototype.msg_type=117,ne.prototype.constructor=ne,ne.prototype.parser=(new o).endianess("little").uint8("mask").int16("l1ca_bias").int16("l1p_bias").int16("l2ca_bias").int16("l2p_bias"),ne.prototype.fieldSpec=[],ne.prototype.fieldSpec.push(["mask","writeUInt8",1]),ne.prototype.fieldSpec.push(["l1ca_bias","writeInt16LE",2]),ne.prototype.fieldSpec.push(["l1p_bias","writeInt16LE",2]),ne.prototype.fieldSpec.push(["l2ca_bias","writeInt16LE",2]),ne.prototype.fieldSpec.push(["l2p_bias","writeInt16LE",2]);var ae=function(e,t){return p.call(this,e),this.messageType="SvAzEl",this.fields=t||this.parser.parse(e.payload),this};(ae.prototype=Object.create(p.prototype)).messageType="SvAzEl",ae.prototype.constructor=ae,ae.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).uint8("az").int8("el"),ae.prototype.fieldSpec=[],ae.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),ae.prototype.fieldSpec.push(["az","writeUInt8",1]),ae.prototype.fieldSpec.push(["el","writeInt8",1]);var le=function(e,t){return p.call(this,e),this.messageType="MSG_SV_AZ_EL",this.fields=t||this.parser.parse(e.payload),this};(le.prototype=Object.create(p.prototype)).messageType="MSG_SV_AZ_EL",le.prototype.msg_type=151,le.prototype.constructor=le,le.prototype.parser=(new o).endianess("little").array("azel",{type:ae.prototype.parser,readUntil:"eof"}),le.prototype.fieldSpec=[],le.prototype.fieldSpec.push(["azel","array",ae.prototype.fieldSpec,function(){return this.fields.array.length},null]);var ce=function(e,t){return p.call(this,e),this.messageType="MSG_OSR",this.fields=t||this.parser.parse(e.payload),this};(ce.prototype=Object.create(p.prototype)).messageType="MSG_OSR",ce.prototype.msg_type=1600,ce.prototype.constructor=ce,ce.prototype.parser=(new o).endianess("little").nest("header",{type:u.prototype.parser}).array("obs",{type:f.prototype.parser,readUntil:"eof"}),ce.prototype.fieldSpec=[],ce.prototype.fieldSpec.push(["header",u.prototype.fieldSpec]),ce.prototype.fieldSpec.push(["obs","array",f.prototype.fieldSpec,function(){return this.fields.array.length},null]),e.exports={ObservationHeader:u,Doppler:y,PackedObsContent:h,PackedOsrContent:f,74:d,MsgObs:d,68:_,MsgBasePosLlh:_,72:S,MsgBasePosEcef:S,EphemerisCommonContent:g,EphemerisCommonContentDepB:w,EphemerisCommonContentDepA:E,129:m,MsgEphemerisGpsDepE:m,134:b,MsgEphemerisGpsDepF:b,138:v,MsgEphemerisGps:v,142:L,MsgEphemerisQzss:L,137:T,MsgEphemerisBds:T,149:I,MsgEphemerisGalDepA:I,141:M,MsgEphemerisGal:M,130:U,MsgEphemerisSbasDepA:U,131:D,MsgEphemerisGloDepA:D,132:O,MsgEphemerisSbasDepB:O,140:A,MsgEphemerisSbas:A,133:G,MsgEphemerisGloDepB:G,135:R,MsgEphemerisGloDepC:R,136:P,MsgEphemerisGloDepD:P,139:C,MsgEphemerisGlo:C,128:j,MsgEphemerisDepD:j,26:N,MsgEphemerisDepA:N,70:x,MsgEphemerisDepB:x,71:k,MsgEphemerisDepC:k,ObservationHeaderDep:B,CarrierPhaseDepA:F,PackedObsContentDepA:q,PackedObsContentDepB:H,PackedObsContentDepC:z,69:V,MsgObsDepA:V,67:Y,MsgObsDepB:Y,73:W,MsgObsDepC:W,144:Q,MsgIono:Q,145:K,MsgSvConfigurationGpsDep:K,GnssCapb:X,150:J,MsgGnssCapb:J,146:$,MsgGroupDelayDepA:$,147:Z,MsgGroupDelayDepB:Z,148:ee,MsgGroupDelay:ee,AlmanacCommonContent:te,AlmanacCommonContentDep:re,112:pe,MsgAlmanacGpsDep:pe,114:oe,MsgAlmanacGps:oe,113:ie,MsgAlmanacGloDep:ie,115:se,MsgAlmanacGlo:se,117:ne,MsgGloBiases:ne,SvAzEl:ae,151:le,MsgSvAzEl:le,1600:ce,MsgOsr:ce}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=r(0).GPSTime,a=(r(0).CarrierPhase,n=r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep),l=(r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC",this.fields=t||this.parser.parse(e.payload),this});(l.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC",l.prototype.msg_type=105,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little"),l.prototype.fieldSpec=[];var c=function(e,t){return p.call(this,e),this.messageType="MSG_SET_TIME",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_SET_TIME",c.prototype.msg_type=104,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little"),c.prototype.fieldSpec=[];var u=function(e,t){return p.call(this,e),this.messageType="MSG_RESET",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_RESET",u.prototype.msg_type=182,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("flags"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_RESET_DEP",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_RESET_DEP",y.prototype.msg_type=178,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little"),y.prototype.fieldSpec=[];var h=function(e,t){return p.call(this,e),this.messageType="MSG_CW_RESULTS",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_CW_RESULTS",h.prototype.msg_type=192,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little"),h.prototype.fieldSpec=[];var f=function(e,t){return p.call(this,e),this.messageType="MSG_CW_START",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_CW_START",f.prototype.msg_type=193,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little"),f.prototype.fieldSpec=[];var d=function(e,t){return p.call(this,e),this.messageType="MSG_RESET_FILTERS",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_RESET_FILTERS",d.prototype.msg_type=34,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").uint8("filter"),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["filter","writeUInt8",1]);var _=function(e,t){return p.call(this,e),this.messageType="MSG_INIT_BASE_DEP",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="MSG_INIT_BASE_DEP",_.prototype.msg_type=35,_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little"),_.prototype.fieldSpec=[];var S=function(e,t){return p.call(this,e),this.messageType="MSG_THREAD_STATE",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_THREAD_STATE",S.prototype.msg_type=23,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").string("name",{length:20}).uint16("cpu").uint32("stack_free"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["name","string",20]),S.prototype.fieldSpec.push(["cpu","writeUInt16LE",2]),S.prototype.fieldSpec.push(["stack_free","writeUInt32LE",4]);var g=function(e,t){return p.call(this,e),this.messageType="UARTChannel",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="UARTChannel",g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").floatle("tx_throughput").floatle("rx_throughput").uint16("crc_error_count").uint16("io_error_count").uint8("tx_buffer_level").uint8("rx_buffer_level"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["tx_throughput","writeFloatLE",4]),g.prototype.fieldSpec.push(["rx_throughput","writeFloatLE",4]),g.prototype.fieldSpec.push(["crc_error_count","writeUInt16LE",2]),g.prototype.fieldSpec.push(["io_error_count","writeUInt16LE",2]),g.prototype.fieldSpec.push(["tx_buffer_level","writeUInt8",1]),g.prototype.fieldSpec.push(["rx_buffer_level","writeUInt8",1]);var w=function(e,t){return p.call(this,e),this.messageType="Period",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="Period",w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").int32("avg").int32("pmin").int32("pmax").int32("current"),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["avg","writeInt32LE",4]),w.prototype.fieldSpec.push(["pmin","writeInt32LE",4]),w.prototype.fieldSpec.push(["pmax","writeInt32LE",4]),w.prototype.fieldSpec.push(["current","writeInt32LE",4]);var E=function(e,t){return p.call(this,e),this.messageType="Latency",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="Latency",E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").int32("avg").int32("lmin").int32("lmax").int32("current"),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["avg","writeInt32LE",4]),E.prototype.fieldSpec.push(["lmin","writeInt32LE",4]),E.prototype.fieldSpec.push(["lmax","writeInt32LE",4]),E.prototype.fieldSpec.push(["current","writeInt32LE",4]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_UART_STATE",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_UART_STATE",m.prototype.msg_type=29,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").nest("uart_a",{type:g.prototype.parser}).nest("uart_b",{type:g.prototype.parser}).nest("uart_ftdi",{type:g.prototype.parser}).nest("latency",{type:E.prototype.parser}).nest("obs_period",{type:w.prototype.parser}),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["uart_a",g.prototype.fieldSpec]),m.prototype.fieldSpec.push(["uart_b",g.prototype.fieldSpec]),m.prototype.fieldSpec.push(["uart_ftdi",g.prototype.fieldSpec]),m.prototype.fieldSpec.push(["latency",E.prototype.fieldSpec]),m.prototype.fieldSpec.push(["obs_period",w.prototype.fieldSpec]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_UART_STATE_DEPA",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_UART_STATE_DEPA",b.prototype.msg_type=24,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").nest("uart_a",{type:g.prototype.parser}).nest("uart_b",{type:g.prototype.parser}).nest("uart_ftdi",{type:g.prototype.parser}).nest("latency",{type:E.prototype.parser}),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["uart_a",g.prototype.fieldSpec]),b.prototype.fieldSpec.push(["uart_b",g.prototype.fieldSpec]),b.prototype.fieldSpec.push(["uart_ftdi",g.prototype.fieldSpec]),b.prototype.fieldSpec.push(["latency",E.prototype.fieldSpec]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_IAR_STATE",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_IAR_STATE",v.prototype.msg_type=25,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").uint32("num_hyps"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["num_hyps","writeUInt32LE",4]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_MASK_SATELLITE",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_MASK_SATELLITE",L.prototype.msg_type=43,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").uint8("mask").nest("sid",{type:i.prototype.parser}),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["mask","writeUInt8",1]),L.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]);var T=function(e,t){return p.call(this,e),this.messageType="MSG_MASK_SATELLITE_DEP",this.fields=t||this.parser.parse(e.payload),this};(T.prototype=Object.create(p.prototype)).messageType="MSG_MASK_SATELLITE_DEP",T.prototype.msg_type=27,T.prototype.constructor=T,T.prototype.parser=(new o).endianess("little").uint8("mask").nest("sid",{type:s.prototype.parser}),T.prototype.fieldSpec=[],T.prototype.fieldSpec.push(["mask","writeUInt8",1]),T.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var I=function(e,t){return p.call(this,e),this.messageType="MSG_DEVICE_MONITOR",this.fields=t||this.parser.parse(e.payload),this};(I.prototype=Object.create(p.prototype)).messageType="MSG_DEVICE_MONITOR",I.prototype.msg_type=181,I.prototype.constructor=I,I.prototype.parser=(new o).endianess("little").int16("dev_vin").int16("cpu_vint").int16("cpu_vaux").int16("cpu_temperature").int16("fe_temperature"),I.prototype.fieldSpec=[],I.prototype.fieldSpec.push(["dev_vin","writeInt16LE",2]),I.prototype.fieldSpec.push(["cpu_vint","writeInt16LE",2]),I.prototype.fieldSpec.push(["cpu_vaux","writeInt16LE",2]),I.prototype.fieldSpec.push(["cpu_temperature","writeInt16LE",2]),I.prototype.fieldSpec.push(["fe_temperature","writeInt16LE",2]);var M=function(e,t){return p.call(this,e),this.messageType="MSG_COMMAND_REQ",this.fields=t||this.parser.parse(e.payload),this};(M.prototype=Object.create(p.prototype)).messageType="MSG_COMMAND_REQ",M.prototype.msg_type=184,M.prototype.constructor=M,M.prototype.parser=(new o).endianess("little").uint32("sequence").string("command",{greedy:!0}),M.prototype.fieldSpec=[],M.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),M.prototype.fieldSpec.push(["command","string",null]);var U=function(e,t){return p.call(this,e),this.messageType="MSG_COMMAND_RESP",this.fields=t||this.parser.parse(e.payload),this};(U.prototype=Object.create(p.prototype)).messageType="MSG_COMMAND_RESP",U.prototype.msg_type=185,U.prototype.constructor=U,U.prototype.parser=(new o).endianess("little").uint32("sequence").int32("code"),U.prototype.fieldSpec=[],U.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),U.prototype.fieldSpec.push(["code","writeInt32LE",4]);var D=function(e,t){return p.call(this,e),this.messageType="MSG_COMMAND_OUTPUT",this.fields=t||this.parser.parse(e.payload),this};(D.prototype=Object.create(p.prototype)).messageType="MSG_COMMAND_OUTPUT",D.prototype.msg_type=188,D.prototype.constructor=D,D.prototype.parser=(new o).endianess("little").uint32("sequence").string("line",{greedy:!0}),D.prototype.fieldSpec=[],D.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),D.prototype.fieldSpec.push(["line","string",null]);var O=function(e,t){return p.call(this,e),this.messageType="MSG_NETWORK_STATE_REQ",this.fields=t||this.parser.parse(e.payload),this};(O.prototype=Object.create(p.prototype)).messageType="MSG_NETWORK_STATE_REQ",O.prototype.msg_type=186,O.prototype.constructor=O,O.prototype.parser=(new o).endianess("little"),O.prototype.fieldSpec=[];var A=function(e,t){return p.call(this,e),this.messageType="MSG_NETWORK_STATE_RESP",this.fields=t||this.parser.parse(e.payload),this};(A.prototype=Object.create(p.prototype)).messageType="MSG_NETWORK_STATE_RESP",A.prototype.msg_type=187,A.prototype.constructor=A,A.prototype.parser=(new o).endianess("little").array("ipv4_address",{length:4,type:"uint8"}).uint8("ipv4_mask_size").array("ipv6_address",{length:16,type:"uint8"}).uint8("ipv6_mask_size").uint32("rx_bytes").uint32("tx_bytes").string("interface_name",{length:16}).uint32("flags"),A.prototype.fieldSpec=[],A.prototype.fieldSpec.push(["ipv4_address","array","writeUInt8",function(){return 1},4]),A.prototype.fieldSpec.push(["ipv4_mask_size","writeUInt8",1]),A.prototype.fieldSpec.push(["ipv6_address","array","writeUInt8",function(){return 1},16]),A.prototype.fieldSpec.push(["ipv6_mask_size","writeUInt8",1]),A.prototype.fieldSpec.push(["rx_bytes","writeUInt32LE",4]),A.prototype.fieldSpec.push(["tx_bytes","writeUInt32LE",4]),A.prototype.fieldSpec.push(["interface_name","string",16]),A.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var G=function(e,t){return p.call(this,e),this.messageType="NetworkUsage",this.fields=t||this.parser.parse(e.payload),this};(G.prototype=Object.create(p.prototype)).messageType="NetworkUsage",G.prototype.constructor=G,G.prototype.parser=(new o).endianess("little").uint64("duration").uint64("total_bytes").uint32("rx_bytes").uint32("tx_bytes").string("interface_name",{length:16}),G.prototype.fieldSpec=[],G.prototype.fieldSpec.push(["duration","writeUInt64LE",8]),G.prototype.fieldSpec.push(["total_bytes","writeUInt64LE",8]),G.prototype.fieldSpec.push(["rx_bytes","writeUInt32LE",4]),G.prototype.fieldSpec.push(["tx_bytes","writeUInt32LE",4]),G.prototype.fieldSpec.push(["interface_name","string",16]);var R=function(e,t){return p.call(this,e),this.messageType="MSG_NETWORK_BANDWIDTH_USAGE",this.fields=t||this.parser.parse(e.payload),this};(R.prototype=Object.create(p.prototype)).messageType="MSG_NETWORK_BANDWIDTH_USAGE",R.prototype.msg_type=189,R.prototype.constructor=R,R.prototype.parser=(new o).endianess("little").array("interfaces",{type:G.prototype.parser,readUntil:"eof"}),R.prototype.fieldSpec=[],R.prototype.fieldSpec.push(["interfaces","array",G.prototype.fieldSpec,function(){return this.fields.array.length},null]);var P=function(e,t){return p.call(this,e),this.messageType="MSG_CELL_MODEM_STATUS",this.fields=t||this.parser.parse(e.payload),this};(P.prototype=Object.create(p.prototype)).messageType="MSG_CELL_MODEM_STATUS",P.prototype.msg_type=190,P.prototype.constructor=P,P.prototype.parser=(new o).endianess("little").int8("signal_strength").floatle("signal_error_rate").array("reserved",{type:"uint8",readUntil:"eof"}),P.prototype.fieldSpec=[],P.prototype.fieldSpec.push(["signal_strength","writeInt8",1]),P.prototype.fieldSpec.push(["signal_error_rate","writeFloatLE",4]),P.prototype.fieldSpec.push(["reserved","array","writeUInt8",function(){return 1},null]);var C=function(e,t){return p.call(this,e),this.messageType="MSG_SPECAN_DEP",this.fields=t||this.parser.parse(e.payload),this};(C.prototype=Object.create(p.prototype)).messageType="MSG_SPECAN_DEP",C.prototype.msg_type=80,C.prototype.constructor=C,C.prototype.parser=(new o).endianess("little").uint16("channel_tag").nest("t",{type:a.prototype.parser}).floatle("freq_ref").floatle("freq_step").floatle("amplitude_ref").floatle("amplitude_unit").array("amplitude_value",{type:"uint8",readUntil:"eof"}),C.prototype.fieldSpec=[],C.prototype.fieldSpec.push(["channel_tag","writeUInt16LE",2]),C.prototype.fieldSpec.push(["t",a.prototype.fieldSpec]),C.prototype.fieldSpec.push(["freq_ref","writeFloatLE",4]),C.prototype.fieldSpec.push(["freq_step","writeFloatLE",4]),C.prototype.fieldSpec.push(["amplitude_ref","writeFloatLE",4]),C.prototype.fieldSpec.push(["amplitude_unit","writeFloatLE",4]),C.prototype.fieldSpec.push(["amplitude_value","array","writeUInt8",function(){return 1},null]);var j=function(e,t){return p.call(this,e),this.messageType="MSG_SPECAN",this.fields=t||this.parser.parse(e.payload),this};(j.prototype=Object.create(p.prototype)).messageType="MSG_SPECAN",j.prototype.msg_type=81,j.prototype.constructor=j,j.prototype.parser=(new o).endianess("little").uint16("channel_tag").nest("t",{type:n.prototype.parser}).floatle("freq_ref").floatle("freq_step").floatle("amplitude_ref").floatle("amplitude_unit").array("amplitude_value",{type:"uint8",readUntil:"eof"}),j.prototype.fieldSpec=[],j.prototype.fieldSpec.push(["channel_tag","writeUInt16LE",2]),j.prototype.fieldSpec.push(["t",n.prototype.fieldSpec]),j.prototype.fieldSpec.push(["freq_ref","writeFloatLE",4]),j.prototype.fieldSpec.push(["freq_step","writeFloatLE",4]),j.prototype.fieldSpec.push(["amplitude_ref","writeFloatLE",4]),j.prototype.fieldSpec.push(["amplitude_unit","writeFloatLE",4]),j.prototype.fieldSpec.push(["amplitude_value","array","writeUInt8",function(){return 1},null]);var N=function(e,t){return p.call(this,e),this.messageType="MSG_FRONT_END_GAIN",this.fields=t||this.parser.parse(e.payload),this};(N.prototype=Object.create(p.prototype)).messageType="MSG_FRONT_END_GAIN",N.prototype.msg_type=191,N.prototype.constructor=N,N.prototype.parser=(new o).endianess("little").array("rf_gain",{length:8,type:"int8"}).array("if_gain",{length:8,type:"int8"}),N.prototype.fieldSpec=[],N.prototype.fieldSpec.push(["rf_gain","array","writeInt8",function(){return 1},8]),N.prototype.fieldSpec.push(["if_gain","array","writeInt8",function(){return 1},8]),e.exports={105:l,MsgAlmanac:l,104:c,MsgSetTime:c,182:u,MsgReset:u,178:y,MsgResetDep:y,192:h,MsgCwResults:h,193:f,MsgCwStart:f,34:d,MsgResetFilters:d,35:_,MsgInitBaseDep:_,23:S,MsgThreadState:S,UARTChannel:g,Period:w,Latency:E,29:m,MsgUartState:m,24:b,MsgUartStateDepa:b,25:v,MsgIarState:v,43:L,MsgMaskSatellite:L,27:T,MsgMaskSatelliteDep:T,181:I,MsgDeviceMonitor:I,184:M,MsgCommandReq:M,185:U,MsgCommandResp:U,188:D,MsgCommandOutput:D,186:O,MsgNetworkStateReq:O,187:A,MsgNetworkStateResp:A,NetworkUsage:G,189:R,MsgNetworkBandwidthUsage:R,190:P,MsgCellModemStatus:P,80:C,MsgSpecanDep:C,81:j,MsgSpecan:j,191:N,MsgFrontEndGain:N}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=(r(0).GnssSignalDep,r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep,r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_SBAS_RAW",this.fields=t||this.parser.parse(e.payload),this});(s.prototype=Object.create(p.prototype)).messageType="MSG_SBAS_RAW",s.prototype.msg_type=30583,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).uint32("tow").uint8("message_type").array("data",{length:27,type:"uint8"}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),s.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),s.prototype.fieldSpec.push(["message_type","writeUInt8",1]),s.prototype.fieldSpec.push(["data","array","writeUInt8",function(){return 1},27]),e.exports={30583:s,MsgSbasRaw:s}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_SAVE",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_SAVE",i.prototype.msg_type=161,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little"),i.prototype.fieldSpec=[];var s=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_WRITE",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_WRITE",s.prototype.msg_type=160,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["setting","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_WRITE_RESP",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_WRITE_RESP",n.prototype.msg_type=175,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint8("status").string("setting",{greedy:!0}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["status","writeUInt8",1]),n.prototype.fieldSpec.push(["setting","string",null]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_REQ",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_REQ",a.prototype.msg_type=164,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["setting","string",null]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_RESP",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_RESP",l.prototype.msg_type=165,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["setting","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_BY_INDEX_REQ",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_BY_INDEX_REQ",c.prototype.msg_type=162,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint16("index"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["index","writeUInt16LE",2]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_BY_INDEX_RESP",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_BY_INDEX_RESP",u.prototype.msg_type=167,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint16("index").string("setting",{greedy:!0}),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["index","writeUInt16LE",2]),u.prototype.fieldSpec.push(["setting","string",null]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_BY_INDEX_DONE",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_BY_INDEX_DONE",y.prototype.msg_type=166,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little"),y.prototype.fieldSpec=[];var h=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_REGISTER",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_REGISTER",h.prototype.msg_type=174,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["setting","string",null]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_REGISTER_RESP",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_REGISTER_RESP",f.prototype.msg_type=431,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").uint8("status").string("setting",{greedy:!0}),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["status","writeUInt8",1]),f.prototype.fieldSpec.push(["setting","string",null]),e.exports={161:i,MsgSettingsSave:i,160:s,MsgSettingsWrite:s,175:n,MsgSettingsWriteResp:n,164:a,MsgSettingsReadReq:a,165:l,MsgSettingsReadResp:l,162:c,MsgSettingsReadByIndexReq:c,167:u,MsgSettingsReadByIndexResp:u,166:y,MsgSettingsReadByIndexDone:y,174:h,MsgSettingsRegister:h,431:f,MsgSettingsRegisterResp:f}},function(e,t,r){var p=r(2),o=r(13).Parser,i=function(e){return p.call(this,e),this.messageType="SBPSignal",this.fields=this.parser.parse(e.payload),this};(i.prototype=Object.create(p.prototype)).constructor=i,i.prototype.parser=(new o).endianess("little").uint16("sat").uint8("band").uint8("constellation"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["sat","writeUInt16LE",2]),i.prototype.fieldSpec.push(["band","writeUInt8",1]),i.prototype.fieldSpec.push(["constellation","writeUInt8",1]),e.exports={SBPSignal:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=(r(0).GnssSignalDep,r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec),n=(r(0).GPSTimeDep,r(0).SvId),a=function(e,t){return p.call(this,e),this.messageType="CodeBiasesContent",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="CodeBiasesContent",a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint8("code").int16("value"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["code","writeUInt8",1]),a.prototype.fieldSpec.push(["value","writeInt16LE",2]);var l=function(e,t){return p.call(this,e),this.messageType="PhaseBiasesContent",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="PhaseBiasesContent",l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("code").uint8("integer_indicator").uint8("widelane_integer_indicator").uint8("discontinuity_counter").int32("bias"),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["code","writeUInt8",1]),l.prototype.fieldSpec.push(["integer_indicator","writeUInt8",1]),l.prototype.fieldSpec.push(["widelane_integer_indicator","writeUInt8",1]),l.prototype.fieldSpec.push(["discontinuity_counter","writeUInt8",1]),l.prototype.fieldSpec.push(["bias","writeInt32LE",4]);var c=function(e,t){return p.call(this,e),this.messageType="STECHeader",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="STECHeader",c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).uint8("num_msgs").uint8("seq_num").uint8("update_interval").uint8("iod_ssr"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),c.prototype.fieldSpec.push(["num_msgs","writeUInt8",1]),c.prototype.fieldSpec.push(["seq_num","writeUInt8",1]),c.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),c.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="GriddedCorrectionHeader",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="GriddedCorrectionHeader",u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).uint16("num_msgs").uint16("seq_num").uint8("update_interval").uint8("iod_ssr").uint8("tropo_quality_indicator"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),u.prototype.fieldSpec.push(["num_msgs","writeUInt16LE",2]),u.prototype.fieldSpec.push(["seq_num","writeUInt16LE",2]),u.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),u.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),u.prototype.fieldSpec.push(["tropo_quality_indicator","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="STECSatElement",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="STECSatElement",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").nest("sv_id",{type:n.prototype.parser}).uint8("stec_quality_indicator").array("stec_coeff",{length:4,type:"int16le"}),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sv_id",n.prototype.fieldSpec]),y.prototype.fieldSpec.push(["stec_quality_indicator","writeUInt8",1]),y.prototype.fieldSpec.push(["stec_coeff","array","writeInt16LE",function(){return 2},4]);var h=function(e,t){return p.call(this,e),this.messageType="TroposphericDelayCorrection",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="TroposphericDelayCorrection",h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").int16("hydro").int8("wet"),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["hydro","writeInt16LE",2]),h.prototype.fieldSpec.push(["wet","writeInt8",1]);var f=function(e,t){return p.call(this,e),this.messageType="STECResidual",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="STECResidual",f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").nest("sv_id",{type:n.prototype.parser}).int16("residual"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["sv_id",n.prototype.fieldSpec]),f.prototype.fieldSpec.push(["residual","writeInt16LE",2]);var d=function(e,t){return p.call(this,e),this.messageType="GridElement",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="GridElement",d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").uint16("index").nest("tropo_delay_correction",{type:h.prototype.parser}).array("stec_residuals",{type:f.prototype.parser,readUntil:"eof"}),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["index","writeUInt16LE",2]),d.prototype.fieldSpec.push(["tropo_delay_correction",h.prototype.fieldSpec]),d.prototype.fieldSpec.push(["stec_residuals","array",f.prototype.fieldSpec,function(){return this.fields.array.length},null]);var _=function(e,t){return p.call(this,e),this.messageType="GridDefinitionHeader",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="GridDefinitionHeader",_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").uint8("region_size_inverse").uint16("area_width").uint16("lat_nw_corner_enc").uint16("lon_nw_corner_enc").uint8("num_msgs").uint8("seq_num"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["region_size_inverse","writeUInt8",1]),_.prototype.fieldSpec.push(["area_width","writeUInt16LE",2]),_.prototype.fieldSpec.push(["lat_nw_corner_enc","writeUInt16LE",2]),_.prototype.fieldSpec.push(["lon_nw_corner_enc","writeUInt16LE",2]),_.prototype.fieldSpec.push(["num_msgs","writeUInt8",1]),_.prototype.fieldSpec.push(["seq_num","writeUInt8",1]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_ORBIT_CLOCK",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_SSR_ORBIT_CLOCK",S.prototype.msg_type=1501,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").uint32("iod").int32("radial").int32("along").int32("cross").int32("dot_radial").int32("dot_along").int32("dot_cross").int32("c0").int32("c1").int32("c2"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),S.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),S.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),S.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),S.prototype.fieldSpec.push(["iod","writeUInt32LE",4]),S.prototype.fieldSpec.push(["radial","writeInt32LE",4]),S.prototype.fieldSpec.push(["along","writeInt32LE",4]),S.prototype.fieldSpec.push(["cross","writeInt32LE",4]),S.prototype.fieldSpec.push(["dot_radial","writeInt32LE",4]),S.prototype.fieldSpec.push(["dot_along","writeInt32LE",4]),S.prototype.fieldSpec.push(["dot_cross","writeInt32LE",4]),S.prototype.fieldSpec.push(["c0","writeInt32LE",4]),S.prototype.fieldSpec.push(["c1","writeInt32LE",4]),S.prototype.fieldSpec.push(["c2","writeInt32LE",4]);var g=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_ORBIT_CLOCK_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="MSG_SSR_ORBIT_CLOCK_DEP_A",g.prototype.msg_type=1500,g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").uint8("iod").int32("radial").int32("along").int32("cross").int32("dot_radial").int32("dot_along").int32("dot_cross").int32("c0").int32("c1").int32("c2"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),g.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),g.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),g.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),g.prototype.fieldSpec.push(["iod","writeUInt8",1]),g.prototype.fieldSpec.push(["radial","writeInt32LE",4]),g.prototype.fieldSpec.push(["along","writeInt32LE",4]),g.prototype.fieldSpec.push(["cross","writeInt32LE",4]),g.prototype.fieldSpec.push(["dot_radial","writeInt32LE",4]),g.prototype.fieldSpec.push(["dot_along","writeInt32LE",4]),g.prototype.fieldSpec.push(["dot_cross","writeInt32LE",4]),g.prototype.fieldSpec.push(["c0","writeInt32LE",4]),g.prototype.fieldSpec.push(["c1","writeInt32LE",4]),g.prototype.fieldSpec.push(["c2","writeInt32LE",4]);var w=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_CODE_BIASES",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="MSG_SSR_CODE_BIASES",w.prototype.msg_type=1505,w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").array("biases",{type:a.prototype.parser,readUntil:"eof"}),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),w.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),w.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),w.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),w.prototype.fieldSpec.push(["biases","array",a.prototype.fieldSpec,function(){return this.fields.array.length},null]);var E=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_PHASE_BIASES",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="MSG_SSR_PHASE_BIASES",E.prototype.msg_type=1510,E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").uint8("dispersive_bias").uint8("mw_consistency").uint16("yaw").int8("yaw_rate").array("biases",{type:l.prototype.parser,readUntil:"eof"}),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),E.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),E.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),E.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),E.prototype.fieldSpec.push(["dispersive_bias","writeUInt8",1]),E.prototype.fieldSpec.push(["mw_consistency","writeUInt8",1]),E.prototype.fieldSpec.push(["yaw","writeUInt16LE",2]),E.prototype.fieldSpec.push(["yaw_rate","writeInt8",1]),E.prototype.fieldSpec.push(["biases","array",l.prototype.fieldSpec,function(){return this.fields.array.length},null]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_STEC_CORRECTION",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_SSR_STEC_CORRECTION",m.prototype.msg_type=1515,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").nest("header",{type:c.prototype.parser}).array("stec_sat_list",{type:y.prototype.parser,readUntil:"eof"}),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["header",c.prototype.fieldSpec]),m.prototype.fieldSpec.push(["stec_sat_list","array",y.prototype.fieldSpec,function(){return this.fields.array.length},null]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_GRIDDED_CORRECTION",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_SSR_GRIDDED_CORRECTION",b.prototype.msg_type=1520,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").nest("header",{type:u.prototype.parser}).nest("element",{type:d.prototype.parser}),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["header",u.prototype.fieldSpec]),b.prototype.fieldSpec.push(["element",d.prototype.fieldSpec]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_GRID_DEFINITION",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_SSR_GRID_DEFINITION",v.prototype.msg_type=1525,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").nest("header",{type:_.prototype.parser}).array("rle_list",{type:"uint8",readUntil:"eof"}),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["header",_.prototype.fieldSpec]),v.prototype.fieldSpec.push(["rle_list","array","writeUInt8",function(){return 1},null]),e.exports={CodeBiasesContent:a,PhaseBiasesContent:l,STECHeader:c,GriddedCorrectionHeader:u,STECSatElement:y,TroposphericDelayCorrection:h,STECResidual:f,GridElement:d,GridDefinitionHeader:_,1501:S,MsgSsrOrbitClock:S,1500:g,MsgSsrOrbitClockDepA:g,1505:w,MsgSsrCodeBiases:w,1510:E,MsgSsrPhaseBiases:E,1515:m,MsgSsrStecCorrection:m,1520:b,MsgSsrGriddedCorrection:b,1525:v,MsgSsrGridDefinition:v}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_STARTUP",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_STARTUP",i.prototype.msg_type=65280,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("cause").uint8("startup_type").uint16("reserved"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["cause","writeUInt8",1]),i.prototype.fieldSpec.push(["startup_type","writeUInt8",1]),i.prototype.fieldSpec.push(["reserved","writeUInt16LE",2]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_DGNSS_STATUS",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_DGNSS_STATUS",s.prototype.msg_type=65282,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("flags").uint16("latency").uint8("num_signals").string("source",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["flags","writeUInt8",1]),s.prototype.fieldSpec.push(["latency","writeUInt16LE",2]),s.prototype.fieldSpec.push(["num_signals","writeUInt8",1]),s.prototype.fieldSpec.push(["source","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_HEARTBEAT",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_HEARTBEAT",n.prototype.msg_type=65535,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("flags"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_INS_STATUS",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_INS_STATUS",a.prototype.msg_type=65283,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("flags"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_CSAC_TELEMETRY",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_CSAC_TELEMETRY",l.prototype.msg_type=65284,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("id").string("telemetry",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["id","writeUInt8",1]),l.prototype.fieldSpec.push(["telemetry","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_CSAC_TELEMETRY_LABELS",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_CSAC_TELEMETRY_LABELS",c.prototype.msg_type=65285,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint8("id").string("telemetry_labels",{greedy:!0}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["id","writeUInt8",1]),c.prototype.fieldSpec.push(["telemetry_labels","string",null]),e.exports={65280:i,MsgStartup:i,65282:s,MsgDgnssStatus:s,65535:n,MsgHeartbeat:n,65283:a,MsgInsStatus:a,65284:l,MsgCsacTelemetry:l,65285:c,MsgCsacTelemetryLabels:c}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=r(0).GPSTime,a=r(0).CarrierPhase,l=(n=r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep),c=(r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DETAILED_DEP_A",this.fields=t||this.parser.parse(e.payload),this});(c.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DETAILED_DEP_A",c.prototype.msg_type=33,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint64("recv_time").nest("tot",{type:n.prototype.parser}).uint32("P").uint16("P_std").nest("L",{type:a.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:i.prototype.parser}).int32("doppler").uint16("doppler_std").uint32("uptime").int16("clock_offset").int16("clock_drift").uint16("corr_spacing").int8("acceleration").uint8("sync_flags").uint8("tow_flags").uint8("track_flags").uint8("nav_flags").uint8("pset_flags").uint8("misc_flags"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["recv_time","writeUInt64LE",8]),c.prototype.fieldSpec.push(["tot",n.prototype.fieldSpec]),c.prototype.fieldSpec.push(["P","writeUInt32LE",4]),c.prototype.fieldSpec.push(["P_std","writeUInt16LE",2]),c.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),c.prototype.fieldSpec.push(["cn0","writeUInt8",1]),c.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),c.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),c.prototype.fieldSpec.push(["doppler","writeInt32LE",4]),c.prototype.fieldSpec.push(["doppler_std","writeUInt16LE",2]),c.prototype.fieldSpec.push(["uptime","writeUInt32LE",4]),c.prototype.fieldSpec.push(["clock_offset","writeInt16LE",2]),c.prototype.fieldSpec.push(["clock_drift","writeInt16LE",2]),c.prototype.fieldSpec.push(["corr_spacing","writeUInt16LE",2]),c.prototype.fieldSpec.push(["acceleration","writeInt8",1]),c.prototype.fieldSpec.push(["sync_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["tow_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["track_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["nav_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["pset_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["misc_flags","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DETAILED_DEP",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DETAILED_DEP",u.prototype.msg_type=17,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint64("recv_time").nest("tot",{type:l.prototype.parser}).uint32("P").uint16("P_std").nest("L",{type:a.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:s.prototype.parser}).int32("doppler").uint16("doppler_std").uint32("uptime").int16("clock_offset").int16("clock_drift").uint16("corr_spacing").int8("acceleration").uint8("sync_flags").uint8("tow_flags").uint8("track_flags").uint8("nav_flags").uint8("pset_flags").uint8("misc_flags"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["recv_time","writeUInt64LE",8]),u.prototype.fieldSpec.push(["tot",l.prototype.fieldSpec]),u.prototype.fieldSpec.push(["P","writeUInt32LE",4]),u.prototype.fieldSpec.push(["P_std","writeUInt16LE",2]),u.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),u.prototype.fieldSpec.push(["cn0","writeUInt8",1]),u.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),u.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),u.prototype.fieldSpec.push(["doppler","writeInt32LE",4]),u.prototype.fieldSpec.push(["doppler_std","writeUInt16LE",2]),u.prototype.fieldSpec.push(["uptime","writeUInt32LE",4]),u.prototype.fieldSpec.push(["clock_offset","writeInt16LE",2]),u.prototype.fieldSpec.push(["clock_drift","writeInt16LE",2]),u.prototype.fieldSpec.push(["corr_spacing","writeUInt16LE",2]),u.prototype.fieldSpec.push(["acceleration","writeInt8",1]),u.prototype.fieldSpec.push(["sync_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["tow_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["track_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["nav_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["pset_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["misc_flags","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="TrackingChannelState",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="TrackingChannelState",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).uint8("fcn").uint8("cn0"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),y.prototype.fieldSpec.push(["fcn","writeUInt8",1]),y.prototype.fieldSpec.push(["cn0","writeUInt8",1]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE",h.prototype.msg_type=65,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").array("states",{type:y.prototype.parser,readUntil:"eof"}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["states","array",y.prototype.fieldSpec,function(){return this.fields.array.length},null]);var f=function(e,t){return p.call(this,e),this.messageType="MeasurementState",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MeasurementState",f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").nest("mesid",{type:i.prototype.parser}).uint8("cn0"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["mesid",i.prototype.fieldSpec]),f.prototype.fieldSpec.push(["cn0","writeUInt8",1]);var d=function(e,t){return p.call(this,e),this.messageType="MSG_MEASUREMENT_STATE",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_MEASUREMENT_STATE",d.prototype.msg_type=97,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").array("states",{type:f.prototype.parser,readUntil:"eof"}),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["states","array",f.prototype.fieldSpec,function(){return this.fields.array.length},null]);var _=function(e,t){return p.call(this,e),this.messageType="TrackingChannelCorrelation",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="TrackingChannelCorrelation",_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").int16("I").int16("Q"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["I","writeInt16LE",2]),_.prototype.fieldSpec.push(["Q","writeInt16LE",2]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_IQ",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_IQ",S.prototype.msg_type=45,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").uint8("channel").nest("sid",{type:i.prototype.parser}).array("corrs",{length:3,type:_.prototype.parser}),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["channel","writeUInt8",1]),S.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),S.prototype.fieldSpec.push(["corrs","array",_.prototype.fieldSpec,function(){return this.fields.array.length},3]);var g=function(e,t){return p.call(this,e),this.messageType="TrackingChannelCorrelationDep",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="TrackingChannelCorrelationDep",g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").int32("I").int32("Q"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["I","writeInt32LE",4]),g.prototype.fieldSpec.push(["Q","writeInt32LE",4]);var w=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_IQ_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_IQ_DEP_B",w.prototype.msg_type=44,w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").uint8("channel").nest("sid",{type:i.prototype.parser}).array("corrs",{length:3,type:g.prototype.parser}),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["channel","writeUInt8",1]),w.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),w.prototype.fieldSpec.push(["corrs","array",g.prototype.fieldSpec,function(){return this.fields.array.length},3]);var E=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_IQ_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_IQ_DEP_A",E.prototype.msg_type=28,E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").uint8("channel").nest("sid",{type:s.prototype.parser}).array("corrs",{length:3,type:g.prototype.parser}),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["channel","writeUInt8",1]),E.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),E.prototype.fieldSpec.push(["corrs","array",g.prototype.fieldSpec,function(){return this.fields.array.length},3]);var m=function(e,t){return p.call(this,e),this.messageType="TrackingChannelStateDepA",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="TrackingChannelStateDepA",m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").uint8("state").uint8("prn").floatle("cn0"),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["state","writeUInt8",1]),m.prototype.fieldSpec.push(["prn","writeUInt8",1]),m.prototype.fieldSpec.push(["cn0","writeFloatLE",4]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DEP_A",b.prototype.msg_type=22,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").array("states",{type:m.prototype.parser,readUntil:"eof"}),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["states","array",m.prototype.fieldSpec,function(){return this.fields.array.length},null]);var v=function(e,t){return p.call(this,e),this.messageType="TrackingChannelStateDepB",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="TrackingChannelStateDepB",v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").uint8("state").nest("sid",{type:s.prototype.parser}).floatle("cn0"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["state","writeUInt8",1]),v.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),v.prototype.fieldSpec.push(["cn0","writeFloatLE",4]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DEP_B",L.prototype.msg_type=19,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").array("states",{type:v.prototype.parser,readUntil:"eof"}),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["states","array",v.prototype.fieldSpec,function(){return this.fields.array.length},null]),e.exports={33:c,MsgTrackingStateDetailedDepA:c,17:u,MsgTrackingStateDetailedDep:u,TrackingChannelState:y,65:h,MsgTrackingState:h,MeasurementState:f,97:d,MsgMeasurementState:d,TrackingChannelCorrelation:_,45:S,MsgTrackingIq:S,TrackingChannelCorrelationDep:g,44:w,MsgTrackingIqDepB:w,28:E,MsgTrackingIqDepA:E,TrackingChannelStateDepA:m,22:b,MsgTrackingStateDepA:b,TrackingChannelStateDepB:v,19:L,MsgTrackingStateDepB:L}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_USER_DATA",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_USER_DATA",i.prototype.msg_type=2048,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").array("contents",{type:"uint8",readUntil:"eof"}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["contents","array","writeUInt8",function(){return 1},null]),e.exports={2048:i,MsgUserData:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_ODOMETRY",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_ODOMETRY",i.prototype.msg_type=2307,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").int32("velocity").uint8("flags"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["velocity","writeInt32LE",4]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]),e.exports={2307:i,MsgOdometry:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_HEADING",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_HEADING",i.prototype.msg_type=527,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").uint32("heading").uint8("n_sats").uint8("flags"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["heading","writeUInt32LE",4]),i.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_ORIENT_QUAT",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_ORIENT_QUAT",s.prototype.msg_type=544,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint32("tow").int32("w").int32("x").int32("y").int32("z").floatle("w_accuracy").floatle("x_accuracy").floatle("y_accuracy").floatle("z_accuracy").uint8("flags"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),s.prototype.fieldSpec.push(["w","writeInt32LE",4]),s.prototype.fieldSpec.push(["x","writeInt32LE",4]),s.prototype.fieldSpec.push(["y","writeInt32LE",4]),s.prototype.fieldSpec.push(["z","writeInt32LE",4]),s.prototype.fieldSpec.push(["w_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["x_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["y_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["z_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["flags","writeUInt8",1]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_ORIENT_EULER",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_ORIENT_EULER",n.prototype.msg_type=545,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("tow").int32("roll").int32("pitch").int32("yaw").floatle("roll_accuracy").floatle("pitch_accuracy").floatle("yaw_accuracy").uint8("flags"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),n.prototype.fieldSpec.push(["roll","writeInt32LE",4]),n.prototype.fieldSpec.push(["pitch","writeInt32LE",4]),n.prototype.fieldSpec.push(["yaw","writeInt32LE",4]),n.prototype.fieldSpec.push(["roll_accuracy","writeFloatLE",4]),n.prototype.fieldSpec.push(["pitch_accuracy","writeFloatLE",4]),n.prototype.fieldSpec.push(["yaw_accuracy","writeFloatLE",4]),n.prototype.fieldSpec.push(["flags","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_ANGULAR_RATE",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_ANGULAR_RATE",a.prototype.msg_type=546,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint8("flags"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),a.prototype.fieldSpec.push(["x","writeInt32LE",4]),a.prototype.fieldSpec.push(["y","writeInt32LE",4]),a.prototype.fieldSpec.push(["z","writeInt32LE",4]),a.prototype.fieldSpec.push(["flags","writeUInt8",1]),e.exports={527:i,MsgBaselineHeading:i,544:s,MsgOrientQuat:s,545:n,MsgOrientEuler:n,546:a,MsgAngularRate:a}}]); \ No newline at end of file +function p(e,t){if(e===t)return 0;for(var r=e.length,p=t.length,o=0,i=Math.min(r,p);o=0;l--)if(c[l]!==u[l])return!1;for(l=c.length-1;l>=0;l--)if(a=c[l],!g(e[a],t[a],r,p))return!1;return!0}(e,t,r,s))}return r?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function E(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function m(e,t,r,p){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(p=r,r=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),p=(r&&r.name?" ("+r.name+").":".")+(p?" "+p:"."),e&&!o&&_(o,r,"Missing expected exception"+p);var s="string"==typeof p,n=!e&&o&&!r;if((!e&&i.isError(o)&&s&&E(o,r)||n)&&_(o,r,"Got unwanted exception"+p),e&&o&&r&&!E(o,r)||!e&&o)throw o}u.AssertionError=function(e){var t;this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=f(d((t=this).actual),128)+" "+t.operator+" "+f(d(t.expected),128),this.generatedMessage=!0);var r=e.stackStartFunction||_;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var p=new Error;if(p.stack){var o=p.stack,i=h(r),s=o.indexOf("\n"+i);if(s>=0){var n=o.indexOf("\n",s+1);o=o.substring(n+1)}this.stack=o}}},i.inherits(u.AssertionError,Error),u.fail=_,u.ok=S,u.equal=function(e,t,r){e!=t&&_(e,t,r,"==",u.equal)},u.notEqual=function(e,t,r){e==t&&_(e,t,r,"!=",u.notEqual)},u.deepEqual=function(e,t,r){g(e,t,!1)||_(e,t,r,"deepEqual",u.deepEqual)},u.deepStrictEqual=function(e,t,r){g(e,t,!0)||_(e,t,r,"deepStrictEqual",u.deepStrictEqual)},u.notDeepEqual=function(e,t,r){g(e,t,!1)&&_(e,t,r,"notDeepEqual",u.notDeepEqual)},u.notDeepStrictEqual=function e(t,r,p){g(t,r,!0)&&_(t,r,p,"notDeepStrictEqual",e)},u.strictEqual=function(e,t,r){e!==t&&_(e,t,r,"===",u.strictEqual)},u.notStrictEqual=function(e,t,r){e===t&&_(e,t,r,"!==",u.notStrictEqual)},u.throws=function(e,t,r){m(!0,e,t,r)},u.doesNotThrow=function(e,t,r){m(!1,e,t,r)},u.ifError=function(e){if(e)throw e};var b=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(this,r(5))},function(e,t,r){(function(e,p){var o=/%[sdj%]/g;t.format=function(e){if(!S(e)){for(var t=[],r=0;r=i)return e;switch(e){case"%s":return String(p[r++]);case"%d":return Number(p[r++]);case"%j":try{return JSON.stringify(p[r++])}catch(e){return"[Circular]"}default:return e}}),a=p[r];r=3&&(p.depth=arguments[2]),arguments.length>=4&&(p.colors=arguments[3]),f(r)?p.showHidden=r:r&&t._extend(p,r),g(p.showHidden)&&(p.showHidden=!1),g(p.depth)&&(p.depth=2),g(p.colors)&&(p.colors=!1),g(p.customInspect)&&(p.customInspect=!0),p.colors&&(p.stylize=a),c(p,e,p.depth)}function a(e,t){var r=n.styles[t];return r?"["+n.colors[r][0]+"m"+e+"["+n.colors[r][1]+"m":e}function l(e,t){return e}function c(e,r,p){if(e.customInspect&&r&&v(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(p,e);return S(o)||(o=c(e,o,p)),o}var i=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(S(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(_(t))return e.stylize(""+t,"number");if(f(t))return e.stylize(""+t,"boolean");if(d(t))return e.stylize("null","null")}(e,r);if(i)return i;var s=Object.keys(r),n=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),b(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(r);if(0===s.length){if(v(r)){var a=r.name?": "+r.name:"";return e.stylize("[Function"+a+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(m(r))return e.stylize(Date.prototype.toString.call(r),"date");if(b(r))return u(r)}var l,E="",L=!1,T=["{","}"];(h(r)&&(L=!0,T=["[","]"]),v(r))&&(E=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(E=" "+RegExp.prototype.toString.call(r)),m(r)&&(E=" "+Date.prototype.toUTCString.call(r)),b(r)&&(E=" "+u(r)),0!==s.length||L&&0!=r.length?p<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=L?function(e,t,r,p,o){for(var i=[],s=0,n=t.length;s=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,E,T)):T[0]+E+T[1]}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function y(e,t,r,p,o,i){var s,n,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?n=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(n=e.stylize("[Setter]","special")),M(p,o)||(s="["+o+"]"),n||(e.seen.indexOf(a.value)<0?(n=d(r)?c(e,a.value,null):c(e,a.value,r-1)).indexOf("\n")>-1&&(n=i?n.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+n.split("\n").map(function(e){return" "+e}).join("\n")):n=e.stylize("[Circular]","special")),g(s)){if(i&&o.match(/^\d+$/))return n;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+n}function h(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function d(e){return null===e}function _(e){return"number"==typeof e}function S(e){return"string"==typeof e}function g(e){return void 0===e}function w(e){return E(e)&&"[object RegExp]"===L(e)}function E(e){return"object"==typeof e&&null!==e}function m(e){return E(e)&&"[object Date]"===L(e)}function b(e){return E(e)&&("[object Error]"===L(e)||e instanceof Error)}function v(e){return"function"==typeof e}function L(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(i)&&(i=p.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var r=p.pid;s[e]=function(){var p=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,p)}}else s[e]=function(){};return s[e]},t.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=f,t.isNull=d,t.isNullOrUndefined=function(e){return null==e},t.isNumber=_,t.isString=S,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=w,t.isObject=E,t.isDate=m,t.isError=b,t.isFunction=v,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(43);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":"),[e.getDate(),I[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(6),t._extend=function(e,t){if(!t||!E(t))return e;for(var r=Object.keys(t),p=r.length;p--;)e[r[p]]=t[r[p]];return e}}).call(this,r(5),r(9))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t,r){var p;!function(r){o(Math.pow(36,5)),o(Math.pow(16,7)),o(Math.pow(10,9)),o(Math.pow(2,30)),o(36),o(16),o(10),o(2);function o(e,t){return this instanceof o?(this._low=0,this._high=0,this.remainder=null,void 0===t?s.call(this,e):"string"==typeof e?n.call(this,e,t):void i.call(this,e,t)):new o(e,t)}function i(e,t){return this._low=0|e,this._high=0|t,this}function s(e){return this._low=65535&e,this._high=e>>>16,this}function n(e,t){var r=parseInt(e,t||10);return this._low=65535&r,this._high=r>>>16,this}o.prototype.fromBits=i,o.prototype.fromNumber=s,o.prototype.fromString=n,o.prototype.toNumber=function(){return 65536*this._high+this._low},o.prototype.toString=function(e){return this.toNumber().toString(e||10)},o.prototype.add=function(e){var t=this._low+e._low,r=t>>>16;return r+=this._high+e._high,this._low=65535&t,this._high=65535&r,this},o.prototype.subtract=function(e){return this.add(e.clone().negate())},o.prototype.multiply=function(e){var t,r,p=this._high,o=this._low,i=e._high,s=e._low;return t=(r=o*s)>>>16,t+=p*s,t&=65535,t+=o*i,this._low=65535&r,this._high=65535&t,this},o.prototype.div=function(e){if(0==e._low&&0==e._high)throw Error("division by zero");if(0==e._high&&1==e._low)return this.remainder=new o(0),this;if(e.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(e))return this.remainder=new o(0),this._low=1,this._high=0,this;for(var t=e.clone(),r=-1;!this.lt(t);)t.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._low=0,this._high=0;r>=0;r--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),r>=16?this._high|=1<>>16)&65535,this},o.prototype.equals=o.prototype.eq=function(e){return this._low==e._low&&this._high==e._high},o.prototype.greaterThan=o.prototype.gt=function(e){return this._high>e._high||!(this._highe._low},o.prototype.lessThan=o.prototype.lt=function(e){return this._highe._high)&&this._low16?(this._low=this._high>>e-16,this._high=0):16==e?(this._low=this._high,this._high=0):(this._low=this._low>>e|this._high<<16-e&65535,this._high>>=e),this},o.prototype.shiftLeft=o.prototype.shiftl=function(e,t){return e>16?(this._high=this._low<>16-e,this._low=this._low<>>32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.rotateRight=o.prototype.rotr=function(e){var t=this._high<<16|this._low;return t=t>>>e|t<<32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.clone=function(){return new o(this._low,this._high)},void 0===(p=function(){return o}.apply(t,[]))||(e.exports=p)}()},function(e,t,r){var p;!function(r){var o={16:s(Math.pow(16,5)),10:s(Math.pow(10,5)),2:s(Math.pow(2,5))},i={16:s(16),10:s(10),2:s(2)};function s(e,t,r,p){return this instanceof s?(this.remainder=null,"string"==typeof e?l.call(this,e,t):void 0===t?a.call(this,e):void n.apply(this,arguments)):new s(e,t,r,p)}function n(e,t,r,p){return void 0===r?(this._a00=65535&e,this._a16=e>>>16,this._a32=65535&t,this._a48=t>>>16,this):(this._a00=0|e,this._a16=0|t,this._a32=0|r,this._a48=0|p,this)}function a(e){return this._a00=65535&e,this._a16=e>>>16,this._a32=0,this._a48=0,this}function l(e,t){t=t||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var r=o[t]||new s(Math.pow(t,5)),p=0,i=e.length;p=0&&(r.div(t),p[o]=r.remainder.toNumber().toString(e),r.gt(t));o--);return p[o-1]=r.toNumber().toString(e),p.join("")},s.prototype.add=function(e){var t=this._a00+e._a00,r=t>>>16,p=(r+=this._a16+e._a16)>>>16,o=(p+=this._a32+e._a32)>>>16;return o+=this._a48+e._a48,this._a00=65535&t,this._a16=65535&r,this._a32=65535&p,this._a48=65535&o,this},s.prototype.subtract=function(e){return this.add(e.clone().negate())},s.prototype.multiply=function(e){var t=this._a00,r=this._a16,p=this._a32,o=this._a48,i=e._a00,s=e._a16,n=e._a32,a=t*i,l=a>>>16,c=(l+=t*s)>>>16;l&=65535,c+=(l+=r*i)>>>16;var u=(c+=t*n)>>>16;return c&=65535,u+=(c+=r*s)>>>16,c&=65535,u+=(c+=p*i)>>>16,u+=t*e._a48,u&=65535,u+=r*n,u&=65535,u+=p*s,u&=65535,u+=o*i,this._a00=65535&a,this._a16=65535&l,this._a32=65535&c,this._a48=65535&u,this},s.prototype.div=function(e){if(0==e._a16&&0==e._a32&&0==e._a48){if(0==e._a00)throw Error("division by zero");if(1==e._a00)return this.remainder=new s(0),this}if(e.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(e))return this.remainder=new s(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var t=e.clone(),r=-1;!this.lt(t);)t.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;r>=0;r--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),r>=48?this._a48|=1<=32?this._a32|=1<=16?this._a16|=1<>>16),this._a16=65535&e,e=(65535&~this._a32)+(e>>>16),this._a32=65535&e,this._a48=~this._a48+(e>>>16)&65535,this},s.prototype.equals=s.prototype.eq=function(e){return this._a48==e._a48&&this._a00==e._a00&&this._a32==e._a32&&this._a16==e._a16},s.prototype.greaterThan=s.prototype.gt=function(e){return this._a48>e._a48||!(this._a48e._a32||!(this._a32e._a16||!(this._a16e._a00))},s.prototype.lessThan=s.prototype.lt=function(e){return this._a48e._a48)&&(this._a32e._a32)&&(this._a16e._a16)&&this._a00=48?(this._a00=this._a48>>e-48,this._a16=0,this._a32=0,this._a48=0):e>=32?(e-=32,this._a00=65535&(this._a32>>e|this._a48<<16-e),this._a16=this._a48>>e&65535,this._a32=0,this._a48=0):e>=16?(e-=16,this._a00=65535&(this._a16>>e|this._a32<<16-e),this._a16=65535&(this._a32>>e|this._a48<<16-e),this._a32=this._a48>>e&65535,this._a48=0):(this._a00=65535&(this._a00>>e|this._a16<<16-e),this._a16=65535&(this._a16>>e|this._a32<<16-e),this._a32=65535&(this._a32>>e|this._a48<<16-e),this._a48=this._a48>>e&65535),this},s.prototype.shiftLeft=s.prototype.shiftl=function(e,t){return(e%=64)>=48?(this._a48=this._a00<=32?(e-=32,this._a48=this._a16<>16-e,this._a32=this._a00<=16?(e-=16,this._a48=this._a32<>16-e,this._a32=65535&(this._a16<>16-e),this._a16=this._a00<>16-e,this._a32=65535&(this._a32<>16-e),this._a16=65535&(this._a16<>16-e),this._a00=this._a00<=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var r=this._a48<<16|this._a32,p=this._a16<<16|this._a00,o=r<>>32-e,i=p<>>32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&o,this._a48=o>>>16,this},s.prototype.rotateRight=s.prototype.rotr=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var r=this._a48<<16|this._a32,p=this._a16<<16|this._a00,o=r>>>e|p<<32-e,i=p>>>e|r<<32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&o,this._a48=o>>>16,this},s.prototype.clone=function(){return new s(this._a00,this._a16,this._a32,this._a48)},void 0===(p=function(){return s}.apply(t,[]))||(e.exports=p)}()},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=(r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep,r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT",this.fields=t||this.parser.parse(e.payload),this});(n.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT",n.prototype.msg_type=47,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").floatle("cn0").floatle("cp").floatle("cf").nest("sid",{type:i.prototype.parser}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["cn0","writeFloatLE",4]),n.prototype.fieldSpec.push(["cp","writeFloatLE",4]),n.prototype.fieldSpec.push(["cf","writeFloatLE",4]),n.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT_DEP_C",a.prototype.msg_type=31,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").floatle("cn0").floatle("cp").floatle("cf").nest("sid",{type:s.prototype.parser}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["cn0","writeFloatLE",4]),a.prototype.fieldSpec.push(["cp","writeFloatLE",4]),a.prototype.fieldSpec.push(["cf","writeFloatLE",4]),a.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT_DEP_B",l.prototype.msg_type=20,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").floatle("snr").floatle("cp").floatle("cf").nest("sid",{type:s.prototype.parser}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["snr","writeFloatLE",4]),l.prototype.fieldSpec.push(["cp","writeFloatLE",4]),l.prototype.fieldSpec.push(["cf","writeFloatLE",4]),l.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_RESULT_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_RESULT_DEP_A",c.prototype.msg_type=21,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").floatle("snr").floatle("cp").floatle("cf").uint8("prn"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["snr","writeFloatLE",4]),c.prototype.fieldSpec.push(["cp","writeFloatLE",4]),c.prototype.fieldSpec.push(["cf","writeFloatLE",4]),c.prototype.fieldSpec.push(["prn","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="AcqSvProfile",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="AcqSvProfile",u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint8("job_type").uint8("status").uint16("cn0").uint8("int_time").nest("sid",{type:i.prototype.parser}).uint16("bin_width").uint32("timestamp").uint32("time_spent").int32("cf_min").int32("cf_max").int32("cf").uint32("cp"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["job_type","writeUInt8",1]),u.prototype.fieldSpec.push(["status","writeUInt8",1]),u.prototype.fieldSpec.push(["cn0","writeUInt16LE",2]),u.prototype.fieldSpec.push(["int_time","writeUInt8",1]),u.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),u.prototype.fieldSpec.push(["bin_width","writeUInt16LE",2]),u.prototype.fieldSpec.push(["timestamp","writeUInt32LE",4]),u.prototype.fieldSpec.push(["time_spent","writeUInt32LE",4]),u.prototype.fieldSpec.push(["cf_min","writeInt32LE",4]),u.prototype.fieldSpec.push(["cf_max","writeInt32LE",4]),u.prototype.fieldSpec.push(["cf","writeInt32LE",4]),u.prototype.fieldSpec.push(["cp","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="AcqSvProfileDep",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="AcqSvProfileDep",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint8("job_type").uint8("status").uint16("cn0").uint8("int_time").nest("sid",{type:s.prototype.parser}).uint16("bin_width").uint32("timestamp").uint32("time_spent").int32("cf_min").int32("cf_max").int32("cf").uint32("cp"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["job_type","writeUInt8",1]),y.prototype.fieldSpec.push(["status","writeUInt8",1]),y.prototype.fieldSpec.push(["cn0","writeUInt16LE",2]),y.prototype.fieldSpec.push(["int_time","writeUInt8",1]),y.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),y.prototype.fieldSpec.push(["bin_width","writeUInt16LE",2]),y.prototype.fieldSpec.push(["timestamp","writeUInt32LE",4]),y.prototype.fieldSpec.push(["time_spent","writeUInt32LE",4]),y.prototype.fieldSpec.push(["cf_min","writeInt32LE",4]),y.prototype.fieldSpec.push(["cf_max","writeInt32LE",4]),y.prototype.fieldSpec.push(["cf","writeInt32LE",4]),y.prototype.fieldSpec.push(["cp","writeUInt32LE",4]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_SV_PROFILE",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_SV_PROFILE",h.prototype.msg_type=46,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").array("acq_sv_profile",{type:u.prototype.parser,readUntil:"eof"}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["acq_sv_profile","array",u.prototype.fieldSpec,function(){return this.fields.array.length},null]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_ACQ_SV_PROFILE_DEP",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_ACQ_SV_PROFILE_DEP",f.prototype.msg_type=30,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").array("acq_sv_profile",{type:y.prototype.parser,readUntil:"eof"}),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["acq_sv_profile","array",y.prototype.fieldSpec,function(){return this.fields.array.length},null]),e.exports={47:n,MsgAcqResult:n,31:a,MsgAcqResultDepC:a,20:l,MsgAcqResultDepB:l,21:c,MsgAcqResultDepA:c,AcqSvProfile:u,AcqSvProfileDep:y,46:h,MsgAcqSvProfile:h,30:f,MsgAcqSvProfileDep:f}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_HANDSHAKE_REQ",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_HANDSHAKE_REQ",i.prototype.msg_type=179,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little"),i.prototype.fieldSpec=[];var s=function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_HANDSHAKE_RESP",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_HANDSHAKE_RESP",s.prototype.msg_type=180,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint32("flags").string("version",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["flags","writeUInt32LE",4]),s.prototype.fieldSpec.push(["version","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_JUMP_TO_APP",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_JUMP_TO_APP",n.prototype.msg_type=177,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint8("jump"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["jump","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_NAP_DEVICE_DNA_REQ",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_NAP_DEVICE_DNA_REQ",a.prototype.msg_type=222,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little"),a.prototype.fieldSpec=[];var l=function(e,t){return p.call(this,e),this.messageType="MSG_NAP_DEVICE_DNA_RESP",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_NAP_DEVICE_DNA_RESP",l.prototype.msg_type=221,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").array("dna",{length:8,type:"uint8"}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["dna","array","writeUInt8",function(){return 1},8]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_BOOTLOADER_HANDSHAKE_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_BOOTLOADER_HANDSHAKE_DEP_A",c.prototype.msg_type=176,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").array("handshake",{type:"uint8",readUntil:"eof"}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["handshake","array","writeUInt8",function(){return 1},null]),e.exports={179:i,MsgBootloaderHandshakeReq:i,180:s,MsgBootloaderHandshakeResp:s,177:n,MsgBootloaderJumpToApp:n,222:a,MsgNapDeviceDnaReq:a,221:l,MsgNapDeviceDnaResp:l,176:c,MsgBootloaderHandshakeDepA:c}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_EXT_EVENT",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_EXT_EVENT",i.prototype.msg_type=257,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint16("wn").uint32("tow").int32("ns_residual").uint8("flags").uint8("pin"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["wn","writeUInt16LE",2]),i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["ns_residual","writeInt32LE",4]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]),i.prototype.fieldSpec.push(["pin","writeUInt8",1]),e.exports={257:i,MsgExtEvent:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_REQ",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_REQ",i.prototype.msg_type=168,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("offset").uint8("chunk_size").string("filename",{greedy:!0}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),i.prototype.fieldSpec.push(["offset","writeUInt32LE",4]),i.prototype.fieldSpec.push(["chunk_size","writeUInt8",1]),i.prototype.fieldSpec.push(["filename","string",null]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_RESP",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_RESP",s.prototype.msg_type=163,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint32("sequence").array("contents",{type:"uint8",readUntil:"eof"}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),s.prototype.fieldSpec.push(["contents","array","writeUInt8",function(){return 1},null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_DIR_REQ",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_DIR_REQ",n.prototype.msg_type=169,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("offset").string("dirname",{greedy:!0}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),n.prototype.fieldSpec.push(["offset","writeUInt32LE",4]),n.prototype.fieldSpec.push(["dirname","string",null]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_READ_DIR_RESP",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_READ_DIR_RESP",a.prototype.msg_type=170,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("sequence").array("contents",{type:"uint8",readUntil:"eof"}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),a.prototype.fieldSpec.push(["contents","array","writeUInt8",function(){return 1},null]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_REMOVE",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_REMOVE",l.prototype.msg_type=172,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").string("filename",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["filename","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_WRITE_REQ",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_WRITE_REQ",c.prototype.msg_type=173,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("offset").string("filename",{greedy:!0}).array("data",{type:"uint8",readUntil:"eof"}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),c.prototype.fieldSpec.push(["offset","writeUInt32LE",4]),c.prototype.fieldSpec.push(["filename","string",null]),c.prototype.fieldSpec.push(["data","array","writeUInt8",function(){return 1},null]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_WRITE_RESP",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_WRITE_RESP",u.prototype.msg_type=171,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("sequence"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_CONFIG_REQ",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_CONFIG_REQ",y.prototype.msg_type=4097,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint32("sequence"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_FILEIO_CONFIG_RESP",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_FILEIO_CONFIG_RESP",h.prototype.msg_type=4098,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").uint32("sequence").uint32("window_size").uint32("batch_size").uint32("fileio_version"),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),h.prototype.fieldSpec.push(["window_size","writeUInt32LE",4]),h.prototype.fieldSpec.push(["batch_size","writeUInt32LE",4]),h.prototype.fieldSpec.push(["fileio_version","writeUInt32LE",4]),e.exports={168:i,MsgFileioReadReq:i,163:s,MsgFileioReadResp:s,169:n,MsgFileioReadDirReq:n,170:a,MsgFileioReadDirResp:a,172:l,MsgFileioRemove:l,173:c,MsgFileioWriteReq:c,171:u,MsgFileioWriteResp:u,4097:y,MsgFileioConfigReq:y,4098:h,MsgFileioConfigResp:h}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_PROGRAM",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_PROGRAM",i.prototype.msg_type=230,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("target").array("addr_start",{length:3,type:"uint8"}).uint8("addr_len").array("data",{type:"uint8",length:"addr_len"}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["target","writeUInt8",1]),i.prototype.fieldSpec.push(["addr_start","array","writeUInt8",function(){return 1},3]),i.prototype.fieldSpec.push(["addr_len","writeUInt8",1]),i.prototype.fieldSpec.push(["data","array","writeUInt8",function(){return 1},"addr_len"]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_DONE",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_DONE",s.prototype.msg_type=224,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("response"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["response","writeUInt8",1]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_READ_REQ",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_READ_REQ",n.prototype.msg_type=231,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint8("target").array("addr_start",{length:3,type:"uint8"}).uint8("addr_len"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["target","writeUInt8",1]),n.prototype.fieldSpec.push(["addr_start","array","writeUInt8",function(){return 1},3]),n.prototype.fieldSpec.push(["addr_len","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_READ_RESP",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_READ_RESP",a.prototype.msg_type=225,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint8("target").array("addr_start",{length:3,type:"uint8"}).uint8("addr_len"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["target","writeUInt8",1]),a.prototype.fieldSpec.push(["addr_start","array","writeUInt8",function(){return 1},3]),a.prototype.fieldSpec.push(["addr_len","writeUInt8",1]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_FLASH_ERASE",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_FLASH_ERASE",l.prototype.msg_type=226,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("target").uint32("sector_num"),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["target","writeUInt8",1]),l.prototype.fieldSpec.push(["sector_num","writeUInt32LE",4]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_STM_FLASH_LOCK_SECTOR",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_STM_FLASH_LOCK_SECTOR",c.prototype.msg_type=227,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("sector"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["sector","writeUInt32LE",4]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_STM_FLASH_UNLOCK_SECTOR",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_STM_FLASH_UNLOCK_SECTOR",u.prototype.msg_type=228,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("sector"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["sector","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_STM_UNIQUE_ID_REQ",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_STM_UNIQUE_ID_REQ",y.prototype.msg_type=232,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little"),y.prototype.fieldSpec=[];var h=function(e,t){return p.call(this,e),this.messageType="MSG_STM_UNIQUE_ID_RESP",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_STM_UNIQUE_ID_RESP",h.prototype.msg_type=229,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").array("stm_id",{length:12,type:"uint8"}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["stm_id","array","writeUInt8",function(){return 1},12]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_M25_FLASH_WRITE_STATUS",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_M25_FLASH_WRITE_STATUS",f.prototype.msg_type=243,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").array("status",{length:1,type:"uint8"}),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["status","array","writeUInt8",function(){return 1},1]),e.exports={230:i,MsgFlashProgram:i,224:s,MsgFlashDone:s,231:n,MsgFlashReadReq:n,225:a,MsgFlashReadResp:a,226:l,MsgFlashErase:l,227:c,MsgStmFlashLockSector:c,228:u,MsgStmFlashUnlockSector:u,232:y,MsgStmUniqueIdReq:y,229:h,MsgStmUniqueIdResp:h,243:f,MsgM25FlashWriteStatus:f}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_IMU_RAW",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_IMU_RAW",i.prototype.msg_type=2304,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").uint8("tow_f").int16("acc_x").int16("acc_y").int16("acc_z").int16("gyr_x").int16("gyr_y").int16("gyr_z"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["tow_f","writeUInt8",1]),i.prototype.fieldSpec.push(["acc_x","writeInt16LE",2]),i.prototype.fieldSpec.push(["acc_y","writeInt16LE",2]),i.prototype.fieldSpec.push(["acc_z","writeInt16LE",2]),i.prototype.fieldSpec.push(["gyr_x","writeInt16LE",2]),i.prototype.fieldSpec.push(["gyr_y","writeInt16LE",2]),i.prototype.fieldSpec.push(["gyr_z","writeInt16LE",2]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_IMU_AUX",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_IMU_AUX",s.prototype.msg_type=2305,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("imu_type").int16("temp").uint8("imu_conf"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["imu_type","writeUInt8",1]),s.prototype.fieldSpec.push(["temp","writeInt16LE",2]),s.prototype.fieldSpec.push(["imu_conf","writeUInt8",1]),e.exports={2304:i,MsgImuRaw:i,2305:s,MsgImuAux:s}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_CPU_STATE",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_CPU_STATE",i.prototype.msg_type=32512,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint8("pcpu").string("tname",{length:15}).string("cmdline",{greedy:!0}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["index","writeUInt8",1]),i.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),i.prototype.fieldSpec.push(["pcpu","writeUInt8",1]),i.prototype.fieldSpec.push(["tname","string",15]),i.prototype.fieldSpec.push(["cmdline","string",null]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_MEM_STATE",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_MEM_STATE",s.prototype.msg_type=32513,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint8("pmem").string("tname",{length:15}).string("cmdline",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["index","writeUInt8",1]),s.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),s.prototype.fieldSpec.push(["pmem","writeUInt8",1]),s.prototype.fieldSpec.push(["tname","string",15]),s.prototype.fieldSpec.push(["cmdline","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_SYS_STATE",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_SYS_STATE",n.prototype.msg_type=32514,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint16("mem_total").uint8("pcpu").uint8("pmem").uint16("procs_starting").uint16("procs_stopping").uint16("pid_count"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["mem_total","writeUInt16LE",2]),n.prototype.fieldSpec.push(["pcpu","writeUInt8",1]),n.prototype.fieldSpec.push(["pmem","writeUInt8",1]),n.prototype.fieldSpec.push(["procs_starting","writeUInt16LE",2]),n.prototype.fieldSpec.push(["procs_stopping","writeUInt16LE",2]),n.prototype.fieldSpec.push(["pid_count","writeUInt16LE",2]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_SOCKET_COUNTS",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_SOCKET_COUNTS",a.prototype.msg_type=32515,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint16("socket_count").uint16("socket_types").uint16("socket_states").string("cmdline",{greedy:!0}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["index","writeUInt8",1]),a.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),a.prototype.fieldSpec.push(["socket_count","writeUInt16LE",2]),a.prototype.fieldSpec.push(["socket_types","writeUInt16LE",2]),a.prototype.fieldSpec.push(["socket_states","writeUInt16LE",2]),a.prototype.fieldSpec.push(["cmdline","string",null]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_SOCKET_QUEUES",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_SOCKET_QUEUES",l.prototype.msg_type=32516,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint16("recv_queued").uint16("send_queued").uint16("socket_types").uint16("socket_states").string("address_of_largest",{length:64}).string("cmdline",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["index","writeUInt8",1]),l.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),l.prototype.fieldSpec.push(["recv_queued","writeUInt16LE",2]),l.prototype.fieldSpec.push(["send_queued","writeUInt16LE",2]),l.prototype.fieldSpec.push(["socket_types","writeUInt16LE",2]),l.prototype.fieldSpec.push(["socket_states","writeUInt16LE",2]),l.prototype.fieldSpec.push(["address_of_largest","string",64]),l.prototype.fieldSpec.push(["cmdline","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_SOCKET_USAGE",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_SOCKET_USAGE",c.prototype.msg_type=32517,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("avg_queue_depth").uint32("max_queue_depth").array("socket_state_counts",{length:16,type:"uint16le"}).array("socket_type_counts",{length:16,type:"uint16le"}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["avg_queue_depth","writeUInt32LE",4]),c.prototype.fieldSpec.push(["max_queue_depth","writeUInt32LE",4]),c.prototype.fieldSpec.push(["socket_state_counts","array","writeUInt16LE",function(){return 2},16]),c.prototype.fieldSpec.push(["socket_type_counts","array","writeUInt16LE",function(){return 2},16]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_FD_COUNT",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_FD_COUNT",u.prototype.msg_type=32518,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint8("index").uint16("pid").uint16("fd_count").string("cmdline",{greedy:!0}),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["index","writeUInt8",1]),u.prototype.fieldSpec.push(["pid","writeUInt16LE",2]),u.prototype.fieldSpec.push(["fd_count","writeUInt16LE",2]),u.prototype.fieldSpec.push(["cmdline","string",null]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_LINUX_PROCESS_FD_SUMMARY",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_LINUX_PROCESS_FD_SUMMARY",y.prototype.msg_type=32519,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint32("sys_fd_count").string("most_opened",{greedy:!0}),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sys_fd_count","writeUInt32LE",4]),y.prototype.fieldSpec.push(["most_opened","string",null]),e.exports={32512:i,MsgLinuxCpuState:i,32513:s,MsgLinuxMemState:s,32514:n,MsgLinuxSysState:n,32515:a,MsgLinuxProcessSocketCounts:a,32516:l,MsgLinuxProcessSocketQueues:l,32517:c,MsgLinuxSocketUsage:c,32518:u,MsgLinuxProcessFdCount:u,32519:y,MsgLinuxProcessFdSummary:y}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_LOG",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_LOG",i.prototype.msg_type=1025,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("level").string("text",{greedy:!0}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["level","writeUInt8",1]),i.prototype.fieldSpec.push(["text","string",null]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_FWD",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_FWD",s.prototype.msg_type=1026,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("source").uint8("protocol").string("fwd_payload",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["source","writeUInt8",1]),s.prototype.fieldSpec.push(["protocol","writeUInt8",1]),s.prototype.fieldSpec.push(["fwd_payload","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_PRINT_DEP",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_PRINT_DEP",n.prototype.msg_type=16,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").string("text",{greedy:!0}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["text","string",null]),e.exports={1025:i,MsgLog:i,1026:s,MsgFwd:s,16:n,MsgPrintDep:n}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_MAG_RAW",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_MAG_RAW",i.prototype.msg_type=2306,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").uint8("tow_f").int16("mag_x").int16("mag_y").int16("mag_z"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["tow_f","writeUInt8",1]),i.prototype.fieldSpec.push(["mag_x","writeInt16LE",2]),i.prototype.fieldSpec.push(["mag_y","writeInt16LE",2]),i.prototype.fieldSpec.push(["mag_z","writeInt16LE",2]),e.exports={2306:i,MsgMagRaw:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_GPS_TIME",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_GPS_TIME",i.prototype.msg_type=258,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint16("wn").uint32("tow").int32("ns_residual").uint8("flags"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["wn","writeUInt16LE",2]),i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["ns_residual","writeInt32LE",4]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_UTC_TIME",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_UTC_TIME",s.prototype.msg_type=259,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("flags").uint32("tow").uint16("year").uint8("month").uint8("day").uint8("hours").uint8("minutes").uint8("seconds").uint32("ns"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["flags","writeUInt8",1]),s.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),s.prototype.fieldSpec.push(["year","writeUInt16LE",2]),s.prototype.fieldSpec.push(["month","writeUInt8",1]),s.prototype.fieldSpec.push(["day","writeUInt8",1]),s.prototype.fieldSpec.push(["hours","writeUInt8",1]),s.prototype.fieldSpec.push(["minutes","writeUInt8",1]),s.prototype.fieldSpec.push(["seconds","writeUInt8",1]),s.prototype.fieldSpec.push(["ns","writeUInt32LE",4]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_DOPS",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_DOPS",n.prototype.msg_type=520,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("tow").uint16("gdop").uint16("pdop").uint16("tdop").uint16("hdop").uint16("vdop").uint8("flags"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),n.prototype.fieldSpec.push(["gdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["pdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["tdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["hdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["vdop","writeUInt16LE",2]),n.prototype.fieldSpec.push(["flags","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_POS_ECEF",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_POS_ECEF",a.prototype.msg_type=521,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("tow").doublele("x").doublele("y").doublele("z").uint16("accuracy").uint8("n_sats").uint8("flags"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),a.prototype.fieldSpec.push(["x","writeDoubleLE",8]),a.prototype.fieldSpec.push(["y","writeDoubleLE",8]),a.prototype.fieldSpec.push(["z","writeDoubleLE",8]),a.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),a.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),a.prototype.fieldSpec.push(["flags","writeUInt8",1]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_POS_ECEF_COV",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_POS_ECEF_COV",l.prototype.msg_type=532,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint32("tow").doublele("x").doublele("y").doublele("z").floatle("cov_x_x").floatle("cov_x_y").floatle("cov_x_z").floatle("cov_y_y").floatle("cov_y_z").floatle("cov_z_z").uint8("n_sats").uint8("flags"),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),l.prototype.fieldSpec.push(["x","writeDoubleLE",8]),l.prototype.fieldSpec.push(["y","writeDoubleLE",8]),l.prototype.fieldSpec.push(["z","writeDoubleLE",8]),l.prototype.fieldSpec.push(["cov_x_x","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_x_y","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_x_z","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_y_y","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_y_z","writeFloatLE",4]),l.prototype.fieldSpec.push(["cov_z_z","writeFloatLE",4]),l.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),l.prototype.fieldSpec.push(["flags","writeUInt8",1]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_POS_LLH",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_POS_LLH",c.prototype.msg_type=522,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint32("tow").doublele("lat").doublele("lon").doublele("height").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),c.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),c.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),c.prototype.fieldSpec.push(["height","writeDoubleLE",8]),c.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),c.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),c.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),c.prototype.fieldSpec.push(["flags","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_POS_LLH_COV",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_POS_LLH_COV",u.prototype.msg_type=529,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("tow").doublele("lat").doublele("lon").doublele("height").floatle("cov_n_n").floatle("cov_n_e").floatle("cov_n_d").floatle("cov_e_e").floatle("cov_e_d").floatle("cov_d_d").uint8("n_sats").uint8("flags"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),u.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),u.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),u.prototype.fieldSpec.push(["height","writeDoubleLE",8]),u.prototype.fieldSpec.push(["cov_n_n","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_n_e","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_n_d","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_e_e","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_e_d","writeFloatLE",4]),u.prototype.fieldSpec.push(["cov_d_d","writeFloatLE",4]),u.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),u.prototype.fieldSpec.push(["flags","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_ECEF",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_ECEF",y.prototype.msg_type=523,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),y.prototype.fieldSpec.push(["x","writeInt32LE",4]),y.prototype.fieldSpec.push(["y","writeInt32LE",4]),y.prototype.fieldSpec.push(["z","writeInt32LE",4]),y.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),y.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),y.prototype.fieldSpec.push(["flags","writeUInt8",1]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_NED",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_NED",h.prototype.msg_type=524,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),h.prototype.fieldSpec.push(["n","writeInt32LE",4]),h.prototype.fieldSpec.push(["e","writeInt32LE",4]),h.prototype.fieldSpec.push(["d","writeInt32LE",4]),h.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),h.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),h.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),h.prototype.fieldSpec.push(["flags","writeUInt8",1]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_ECEF",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_VEL_ECEF",f.prototype.msg_type=525,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),f.prototype.fieldSpec.push(["x","writeInt32LE",4]),f.prototype.fieldSpec.push(["y","writeInt32LE",4]),f.prototype.fieldSpec.push(["z","writeInt32LE",4]),f.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),f.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),f.prototype.fieldSpec.push(["flags","writeUInt8",1]);var d=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_ECEF_COV",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_VEL_ECEF_COV",d.prototype.msg_type=533,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").floatle("cov_x_x").floatle("cov_x_y").floatle("cov_x_z").floatle("cov_y_y").floatle("cov_y_z").floatle("cov_z_z").uint8("n_sats").uint8("flags"),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),d.prototype.fieldSpec.push(["x","writeInt32LE",4]),d.prototype.fieldSpec.push(["y","writeInt32LE",4]),d.prototype.fieldSpec.push(["z","writeInt32LE",4]),d.prototype.fieldSpec.push(["cov_x_x","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_x_y","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_x_z","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_y_y","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_y_z","writeFloatLE",4]),d.prototype.fieldSpec.push(["cov_z_z","writeFloatLE",4]),d.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),d.prototype.fieldSpec.push(["flags","writeUInt8",1]);var _=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_NED",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="MSG_VEL_NED",_.prototype.msg_type=526,_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),_.prototype.fieldSpec.push(["n","writeInt32LE",4]),_.prototype.fieldSpec.push(["e","writeInt32LE",4]),_.prototype.fieldSpec.push(["d","writeInt32LE",4]),_.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),_.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),_.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),_.prototype.fieldSpec.push(["flags","writeUInt8",1]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_NED_COV",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_VEL_NED_COV",S.prototype.msg_type=530,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").floatle("cov_n_n").floatle("cov_n_e").floatle("cov_n_d").floatle("cov_e_e").floatle("cov_e_d").floatle("cov_d_d").uint8("n_sats").uint8("flags"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),S.prototype.fieldSpec.push(["n","writeInt32LE",4]),S.prototype.fieldSpec.push(["e","writeInt32LE",4]),S.prototype.fieldSpec.push(["d","writeInt32LE",4]),S.prototype.fieldSpec.push(["cov_n_n","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_n_e","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_n_d","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_e_e","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_e_d","writeFloatLE",4]),S.prototype.fieldSpec.push(["cov_d_d","writeFloatLE",4]),S.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),S.prototype.fieldSpec.push(["flags","writeUInt8",1]);var g=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_BODY",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="MSG_VEL_BODY",g.prototype.msg_type=531,g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").floatle("cov_x_x").floatle("cov_x_y").floatle("cov_x_z").floatle("cov_y_y").floatle("cov_y_z").floatle("cov_z_z").uint8("n_sats").uint8("flags"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),g.prototype.fieldSpec.push(["x","writeInt32LE",4]),g.prototype.fieldSpec.push(["y","writeInt32LE",4]),g.prototype.fieldSpec.push(["z","writeInt32LE",4]),g.prototype.fieldSpec.push(["cov_x_x","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_x_y","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_x_z","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_y_y","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_y_z","writeFloatLE",4]),g.prototype.fieldSpec.push(["cov_z_z","writeFloatLE",4]),g.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),g.prototype.fieldSpec.push(["flags","writeUInt8",1]);var w=function(e,t){return p.call(this,e),this.messageType="MSG_AGE_CORRECTIONS",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="MSG_AGE_CORRECTIONS",w.prototype.msg_type=528,w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").uint32("tow").uint16("age"),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),w.prototype.fieldSpec.push(["age","writeUInt16LE",2]);var E=function(e,t){return p.call(this,e),this.messageType="MSG_GPS_TIME_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="MSG_GPS_TIME_DEP_A",E.prototype.msg_type=256,E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").uint16("wn").uint32("tow").int32("ns_residual").uint8("flags"),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["wn","writeUInt16LE",2]),E.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),E.prototype.fieldSpec.push(["ns_residual","writeInt32LE",4]),E.prototype.fieldSpec.push(["flags","writeUInt8",1]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_DOPS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_DOPS_DEP_A",m.prototype.msg_type=518,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").uint32("tow").uint16("gdop").uint16("pdop").uint16("tdop").uint16("hdop").uint16("vdop"),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),m.prototype.fieldSpec.push(["gdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["pdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["tdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["hdop","writeUInt16LE",2]),m.prototype.fieldSpec.push(["vdop","writeUInt16LE",2]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_POS_ECEF_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_POS_ECEF_DEP_A",b.prototype.msg_type=512,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").uint32("tow").doublele("x").doublele("y").doublele("z").uint16("accuracy").uint8("n_sats").uint8("flags"),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),b.prototype.fieldSpec.push(["x","writeDoubleLE",8]),b.prototype.fieldSpec.push(["y","writeDoubleLE",8]),b.prototype.fieldSpec.push(["z","writeDoubleLE",8]),b.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),b.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),b.prototype.fieldSpec.push(["flags","writeUInt8",1]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_POS_LLH_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_POS_LLH_DEP_A",v.prototype.msg_type=513,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").uint32("tow").doublele("lat").doublele("lon").doublele("height").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),v.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),v.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),v.prototype.fieldSpec.push(["height","writeDoubleLE",8]),v.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),v.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),v.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),v.prototype.fieldSpec.push(["flags","writeUInt8",1]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_ECEF_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_ECEF_DEP_A",L.prototype.msg_type=514,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),L.prototype.fieldSpec.push(["x","writeInt32LE",4]),L.prototype.fieldSpec.push(["y","writeInt32LE",4]),L.prototype.fieldSpec.push(["z","writeInt32LE",4]),L.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),L.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),L.prototype.fieldSpec.push(["flags","writeUInt8",1]);var T=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_NED_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(T.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_NED_DEP_A",T.prototype.msg_type=515,T.prototype.constructor=T,T.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),T.prototype.fieldSpec=[],T.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),T.prototype.fieldSpec.push(["n","writeInt32LE",4]),T.prototype.fieldSpec.push(["e","writeInt32LE",4]),T.prototype.fieldSpec.push(["d","writeInt32LE",4]),T.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),T.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),T.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),T.prototype.fieldSpec.push(["flags","writeUInt8",1]);var I=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_ECEF_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(I.prototype=Object.create(p.prototype)).messageType="MSG_VEL_ECEF_DEP_A",I.prototype.msg_type=516,I.prototype.constructor=I,I.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint16("accuracy").uint8("n_sats").uint8("flags"),I.prototype.fieldSpec=[],I.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),I.prototype.fieldSpec.push(["x","writeInt32LE",4]),I.prototype.fieldSpec.push(["y","writeInt32LE",4]),I.prototype.fieldSpec.push(["z","writeInt32LE",4]),I.prototype.fieldSpec.push(["accuracy","writeUInt16LE",2]),I.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),I.prototype.fieldSpec.push(["flags","writeUInt8",1]);var M=function(e,t){return p.call(this,e),this.messageType="MSG_VEL_NED_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(M.prototype=Object.create(p.prototype)).messageType="MSG_VEL_NED_DEP_A",M.prototype.msg_type=517,M.prototype.constructor=M,M.prototype.parser=(new o).endianess("little").uint32("tow").int32("n").int32("e").int32("d").uint16("h_accuracy").uint16("v_accuracy").uint8("n_sats").uint8("flags"),M.prototype.fieldSpec=[],M.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),M.prototype.fieldSpec.push(["n","writeInt32LE",4]),M.prototype.fieldSpec.push(["e","writeInt32LE",4]),M.prototype.fieldSpec.push(["d","writeInt32LE",4]),M.prototype.fieldSpec.push(["h_accuracy","writeUInt16LE",2]),M.prototype.fieldSpec.push(["v_accuracy","writeUInt16LE",2]),M.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),M.prototype.fieldSpec.push(["flags","writeUInt8",1]);var U=function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_HEADING_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(U.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_HEADING_DEP_A",U.prototype.msg_type=519,U.prototype.constructor=U,U.prototype.parser=(new o).endianess("little").uint32("tow").uint32("heading").uint8("n_sats").uint8("flags"),U.prototype.fieldSpec=[],U.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),U.prototype.fieldSpec.push(["heading","writeUInt32LE",4]),U.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),U.prototype.fieldSpec.push(["flags","writeUInt8",1]),e.exports={258:i,MsgGpsTime:i,259:s,MsgUtcTime:s,520:n,MsgDops:n,521:a,MsgPosEcef:a,532:l,MsgPosEcefCov:l,522:c,MsgPosLlh:c,529:u,MsgPosLlhCov:u,523:y,MsgBaselineEcef:y,524:h,MsgBaselineNed:h,525:f,MsgVelEcef:f,533:d,MsgVelEcefCov:d,526:_,MsgVelNed:_,530:S,MsgVelNedCov:S,531:g,MsgVelBody:g,528:w,MsgAgeCorrections:w,256:E,MsgGpsTimeDepA:E,518:m,MsgDopsDepA:m,512:b,MsgPosEcefDepA:b,513:v,MsgPosLlhDepA:v,514:L,MsgBaselineEcefDepA:L,515:T,MsgBaselineNedDepA:T,516:I,MsgVelEcefDepA:I,517:M,MsgVelNedDepA:M,519:U,MsgBaselineHeadingDepA:U}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=(r(0).GnssSignalDep,r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep,r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_NDB_EVENT",this.fields=t||this.parser.parse(e.payload),this});(s.prototype=Object.create(p.prototype)).messageType="MSG_NDB_EVENT",s.prototype.msg_type=1024,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint64("recv_time").uint8("event").uint8("object_type").uint8("result").uint8("data_source").nest("object_sid",{type:i.prototype.parser}).nest("src_sid",{type:i.prototype.parser}).uint16("original_sender"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["recv_time","writeUInt64LE",8]),s.prototype.fieldSpec.push(["event","writeUInt8",1]),s.prototype.fieldSpec.push(["object_type","writeUInt8",1]),s.prototype.fieldSpec.push(["result","writeUInt8",1]),s.prototype.fieldSpec.push(["data_source","writeUInt8",1]),s.prototype.fieldSpec.push(["object_sid",i.prototype.fieldSpec]),s.prototype.fieldSpec.push(["src_sid",i.prototype.fieldSpec]),s.prototype.fieldSpec.push(["original_sender","writeUInt16LE",2]),e.exports={1024:s,MsgNdbEvent:s}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=r(0).GPSTime,a=r(0).CarrierPhase,l=(n=r(0).GPSTime,r(0).GPSTimeSec),c=r(0).GPSTimeDep,u=(r(0).SvId,function(e,t){return p.call(this,e),this.messageType="ObservationHeader",this.fields=t||this.parser.parse(e.payload),this});(u.prototype=Object.create(p.prototype)).messageType="ObservationHeader",u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").nest("t",{type:n.prototype.parser}).uint8("n_obs"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["t",n.prototype.fieldSpec]),u.prototype.fieldSpec.push(["n_obs","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="Doppler",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="Doppler",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").int16("i").uint8("f"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["i","writeInt16LE",2]),y.prototype.fieldSpec.push(["f","writeUInt8",1]);var h=function(e,t){return p.call(this,e),this.messageType="PackedObsContent",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="PackedObsContent",h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:a.prototype.parser}).nest("D",{type:y.prototype.parser}).uint8("cn0").uint8("lock").uint8("flags").nest("sid",{type:i.prototype.parser}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["P","writeUInt32LE",4]),h.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),h.prototype.fieldSpec.push(["D",y.prototype.fieldSpec]),h.prototype.fieldSpec.push(["cn0","writeUInt8",1]),h.prototype.fieldSpec.push(["lock","writeUInt8",1]),h.prototype.fieldSpec.push(["flags","writeUInt8",1]),h.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]);var f=function(e,t){return p.call(this,e),this.messageType="PackedOsrContent",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="PackedOsrContent",f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:a.prototype.parser}).uint8("lock").uint8("flags").nest("sid",{type:i.prototype.parser}).uint16("iono_std").uint16("tropo_std").uint16("range_std"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["P","writeUInt32LE",4]),f.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),f.prototype.fieldSpec.push(["lock","writeUInt8",1]),f.prototype.fieldSpec.push(["flags","writeUInt8",1]),f.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),f.prototype.fieldSpec.push(["iono_std","writeUInt16LE",2]),f.prototype.fieldSpec.push(["tropo_std","writeUInt16LE",2]),f.prototype.fieldSpec.push(["range_std","writeUInt16LE",2]);var d=function(e,t){return p.call(this,e),this.messageType="MSG_OBS",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_OBS",d.prototype.msg_type=74,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").nest("header",{type:u.prototype.parser}).array("obs",{type:h.prototype.parser,readUntil:"eof"}),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["header",u.prototype.fieldSpec]),d.prototype.fieldSpec.push(["obs","array",h.prototype.fieldSpec,function(){return this.fields.array.length},null]);var _=function(e,t){return p.call(this,e),this.messageType="MSG_BASE_POS_LLH",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="MSG_BASE_POS_LLH",_.prototype.msg_type=68,_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").doublele("lat").doublele("lon").doublele("height"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["lat","writeDoubleLE",8]),_.prototype.fieldSpec.push(["lon","writeDoubleLE",8]),_.prototype.fieldSpec.push(["height","writeDoubleLE",8]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_BASE_POS_ECEF",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_BASE_POS_ECEF",S.prototype.msg_type=72,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").doublele("x").doublele("y").doublele("z"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["x","writeDoubleLE",8]),S.prototype.fieldSpec.push(["y","writeDoubleLE",8]),S.prototype.fieldSpec.push(["z","writeDoubleLE",8]);var g=function(e,t){return p.call(this,e),this.messageType="EphemerisCommonContent",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="EphemerisCommonContent",g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).nest("toe",{type:l.prototype.parser}).floatle("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),g.prototype.fieldSpec.push(["toe",l.prototype.fieldSpec]),g.prototype.fieldSpec.push(["ura","writeFloatLE",4]),g.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),g.prototype.fieldSpec.push(["valid","writeUInt8",1]),g.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var w=function(e,t){return p.call(this,e),this.messageType="EphemerisCommonContentDepB",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="EphemerisCommonContentDepB",w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).nest("toe",{type:l.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),w.prototype.fieldSpec.push(["toe",l.prototype.fieldSpec]),w.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),w.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),w.prototype.fieldSpec.push(["valid","writeUInt8",1]),w.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var E=function(e,t){return p.call(this,e),this.messageType="EphemerisCommonContentDepA",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="EphemerisCommonContentDepA",E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").nest("sid",{type:s.prototype.parser}).nest("toe",{type:c.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),E.prototype.fieldSpec.push(["toe",c.prototype.fieldSpec]),E.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),E.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),E.prototype.fieldSpec.push(["valid","writeUInt8",1]),E.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GPS_DEP_E",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GPS_DEP_E",m.prototype.msg_type=129,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").nest("common",{type:E.prototype.parser}).doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").nest("toc",{type:c.prototype.parser}).uint8("iode").uint16("iodc"),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["common",E.prototype.fieldSpec]),m.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),m.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),m.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),m.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),m.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),m.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),m.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),m.prototype.fieldSpec.push(["w","writeDoubleLE",8]),m.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),m.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),m.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),m.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),m.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),m.prototype.fieldSpec.push(["toc",c.prototype.fieldSpec]),m.prototype.fieldSpec.push(["iode","writeUInt8",1]),m.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GPS_DEP_F",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GPS_DEP_F",b.prototype.msg_type=134,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),b.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),b.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),b.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),b.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),b.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),b.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),b.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),b.prototype.fieldSpec.push(["w","writeDoubleLE",8]),b.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),b.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),b.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),b.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),b.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),b.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),b.prototype.fieldSpec.push(["iode","writeUInt8",1]),b.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GPS",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GPS",v.prototype.msg_type=138,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("tgd").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").floatle("af0").floatle("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),v.prototype.fieldSpec.push(["tgd","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),v.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),v.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),v.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),v.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),v.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),v.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),v.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),v.prototype.fieldSpec.push(["w","writeDoubleLE",8]),v.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),v.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),v.prototype.fieldSpec.push(["af0","writeFloatLE",4]),v.prototype.fieldSpec.push(["af1","writeFloatLE",4]),v.prototype.fieldSpec.push(["af2","writeFloatLE",4]),v.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),v.prototype.fieldSpec.push(["iode","writeUInt8",1]),v.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_QZSS",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_QZSS",L.prototype.msg_type=142,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("tgd").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").floatle("af0").floatle("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),L.prototype.fieldSpec.push(["tgd","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),L.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),L.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),L.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),L.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),L.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),L.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),L.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),L.prototype.fieldSpec.push(["w","writeDoubleLE",8]),L.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),L.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),L.prototype.fieldSpec.push(["af0","writeFloatLE",4]),L.prototype.fieldSpec.push(["af1","writeFloatLE",4]),L.prototype.fieldSpec.push(["af2","writeFloatLE",4]),L.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),L.prototype.fieldSpec.push(["iode","writeUInt8",1]),L.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var T=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_BDS",this.fields=t||this.parser.parse(e.payload),this};(T.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_BDS",T.prototype.msg_type=137,T.prototype.constructor=T,T.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("tgd1").floatle("tgd2").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").floatle("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint8("iode").uint16("iodc"),T.prototype.fieldSpec=[],T.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),T.prototype.fieldSpec.push(["tgd1","writeFloatLE",4]),T.prototype.fieldSpec.push(["tgd2","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),T.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),T.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),T.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),T.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),T.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),T.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),T.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),T.prototype.fieldSpec.push(["w","writeDoubleLE",8]),T.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),T.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),T.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),T.prototype.fieldSpec.push(["af1","writeFloatLE",4]),T.prototype.fieldSpec.push(["af2","writeFloatLE",4]),T.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),T.prototype.fieldSpec.push(["iode","writeUInt8",1]),T.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var I=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GAL_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(I.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GAL_DEP_A",I.prototype.msg_type=149,I.prototype.constructor=I,I.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("bgd_e1e5a").floatle("bgd_e1e5b").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint16("iode").uint16("iodc"),I.prototype.fieldSpec=[],I.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),I.prototype.fieldSpec.push(["bgd_e1e5a","writeFloatLE",4]),I.prototype.fieldSpec.push(["bgd_e1e5b","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),I.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),I.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),I.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),I.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),I.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),I.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),I.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),I.prototype.fieldSpec.push(["w","writeDoubleLE",8]),I.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),I.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),I.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),I.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),I.prototype.fieldSpec.push(["af2","writeFloatLE",4]),I.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),I.prototype.fieldSpec.push(["iode","writeUInt16LE",2]),I.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]);var M=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GAL",this.fields=t||this.parser.parse(e.payload),this};(M.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GAL",M.prototype.msg_type=141,M.prototype.constructor=M,M.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("bgd_e1e5a").floatle("bgd_e1e5b").floatle("c_rs").floatle("c_rc").floatle("c_uc").floatle("c_us").floatle("c_ic").floatle("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").floatle("af2").nest("toc",{type:l.prototype.parser}).uint16("iode").uint16("iodc").uint8("source"),M.prototype.fieldSpec=[],M.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),M.prototype.fieldSpec.push(["bgd_e1e5a","writeFloatLE",4]),M.prototype.fieldSpec.push(["bgd_e1e5b","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_rs","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_rc","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_uc","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_us","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_ic","writeFloatLE",4]),M.prototype.fieldSpec.push(["c_is","writeFloatLE",4]),M.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),M.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),M.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),M.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),M.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),M.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),M.prototype.fieldSpec.push(["w","writeDoubleLE",8]),M.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),M.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),M.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),M.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),M.prototype.fieldSpec.push(["af2","writeFloatLE",4]),M.prototype.fieldSpec.push(["toc",l.prototype.fieldSpec]),M.prototype.fieldSpec.push(["iode","writeUInt16LE",2]),M.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]),M.prototype.fieldSpec.push(["source","writeUInt8",1]);var U=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_SBAS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(U.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_SBAS_DEP_A",U.prototype.msg_type=130,U.prototype.constructor=U,U.prototype.parser=(new o).endianess("little").nest("common",{type:E.prototype.parser}).array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).doublele("a_gf0").doublele("a_gf1"),U.prototype.fieldSpec=[],U.prototype.fieldSpec.push(["common",E.prototype.fieldSpec]),U.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),U.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),U.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),U.prototype.fieldSpec.push(["a_gf0","writeDoubleLE",8]),U.prototype.fieldSpec.push(["a_gf1","writeDoubleLE",8]);var D=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(D.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_A",D.prototype.msg_type=131,D.prototype.constructor=D,D.prototype.parser=(new o).endianess("little").nest("common",{type:E.prototype.parser}).doublele("gamma").doublele("tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}),D.prototype.fieldSpec=[],D.prototype.fieldSpec.push(["common",E.prototype.fieldSpec]),D.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),D.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),D.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),D.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),D.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]);var O=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_SBAS_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(O.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_SBAS_DEP_B",O.prototype.msg_type=132,O.prototype.constructor=O,O.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).doublele("a_gf0").doublele("a_gf1"),O.prototype.fieldSpec=[],O.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),O.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),O.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),O.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),O.prototype.fieldSpec.push(["a_gf0","writeDoubleLE",8]),O.prototype.fieldSpec.push(["a_gf1","writeDoubleLE",8]);var A=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_SBAS",this.fields=t||this.parser.parse(e.payload),this};(A.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_SBAS",A.prototype.msg_type=140,A.prototype.constructor=A,A.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"floatle"}).array("acc",{length:3,type:"floatle"}).floatle("a_gf0").floatle("a_gf1"),A.prototype.fieldSpec=[],A.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),A.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),A.prototype.fieldSpec.push(["vel","array","writeFloatLE",function(){return 4},3]),A.prototype.fieldSpec.push(["acc","array","writeFloatLE",function(){return 4},3]),A.prototype.fieldSpec.push(["a_gf0","writeFloatLE",4]),A.prototype.fieldSpec.push(["a_gf1","writeFloatLE",4]);var G=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(G.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_B",G.prototype.msg_type=133,G.prototype.constructor=G,G.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("gamma").doublele("tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}),G.prototype.fieldSpec=[],G.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),G.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),G.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),G.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),G.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),G.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]);var R=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(R.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_C",R.prototype.msg_type=135,R.prototype.constructor=R,R.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("gamma").doublele("tau").doublele("d_tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).uint8("fcn"),R.prototype.fieldSpec=[],R.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),R.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),R.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),R.prototype.fieldSpec.push(["d_tau","writeDoubleLE",8]),R.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),R.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),R.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),R.prototype.fieldSpec.push(["fcn","writeUInt8",1]);var P=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO_DEP_D",this.fields=t||this.parser.parse(e.payload),this};(P.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO_DEP_D",P.prototype.msg_type=136,P.prototype.constructor=P,P.prototype.parser=(new o).endianess("little").nest("common",{type:w.prototype.parser}).doublele("gamma").doublele("tau").doublele("d_tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"doublele"}).uint8("fcn").uint8("iod"),P.prototype.fieldSpec=[],P.prototype.fieldSpec.push(["common",w.prototype.fieldSpec]),P.prototype.fieldSpec.push(["gamma","writeDoubleLE",8]),P.prototype.fieldSpec.push(["tau","writeDoubleLE",8]),P.prototype.fieldSpec.push(["d_tau","writeDoubleLE",8]),P.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),P.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),P.prototype.fieldSpec.push(["acc","array","writeDoubleLE",function(){return 8},3]),P.prototype.fieldSpec.push(["fcn","writeUInt8",1]),P.prototype.fieldSpec.push(["iod","writeUInt8",1]);var C=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_GLO",this.fields=t||this.parser.parse(e.payload),this};(C.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_GLO",C.prototype.msg_type=139,C.prototype.constructor=C,C.prototype.parser=(new o).endianess("little").nest("common",{type:g.prototype.parser}).floatle("gamma").floatle("tau").floatle("d_tau").array("pos",{length:3,type:"doublele"}).array("vel",{length:3,type:"doublele"}).array("acc",{length:3,type:"floatle"}).uint8("fcn").uint8("iod"),C.prototype.fieldSpec=[],C.prototype.fieldSpec.push(["common",g.prototype.fieldSpec]),C.prototype.fieldSpec.push(["gamma","writeFloatLE",4]),C.prototype.fieldSpec.push(["tau","writeFloatLE",4]),C.prototype.fieldSpec.push(["d_tau","writeFloatLE",4]),C.prototype.fieldSpec.push(["pos","array","writeDoubleLE",function(){return 8},3]),C.prototype.fieldSpec.push(["vel","array","writeDoubleLE",function(){return 8},3]),C.prototype.fieldSpec.push(["acc","array","writeFloatLE",function(){return 4},3]),C.prototype.fieldSpec.push(["fcn","writeUInt8",1]),C.prototype.fieldSpec.push(["iod","writeUInt8",1]);var j=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_D",this.fields=t||this.parser.parse(e.payload),this};(j.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_D",j.prototype.msg_type=128,j.prototype.constructor=j,j.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").nest("sid",{type:s.prototype.parser}).uint8("iode").uint16("iodc").uint32("reserved"),j.prototype.fieldSpec=[],j.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),j.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),j.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),j.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),j.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),j.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),j.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),j.prototype.fieldSpec.push(["w","writeDoubleLE",8]),j.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),j.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),j.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),j.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),j.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),j.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),j.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),j.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),j.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),j.prototype.fieldSpec.push(["valid","writeUInt8",1]),j.prototype.fieldSpec.push(["healthy","writeUInt8",1]),j.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),j.prototype.fieldSpec.push(["iode","writeUInt8",1]),j.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]),j.prototype.fieldSpec.push(["reserved","writeUInt32LE",4]);var N=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(N.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_A",N.prototype.msg_type=26,N.prototype.constructor=N,N.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").uint8("prn"),N.prototype.fieldSpec=[],N.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),N.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),N.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),N.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),N.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),N.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),N.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),N.prototype.fieldSpec.push(["w","writeDoubleLE",8]),N.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),N.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),N.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),N.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),N.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),N.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),N.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),N.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),N.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),N.prototype.fieldSpec.push(["valid","writeUInt8",1]),N.prototype.fieldSpec.push(["healthy","writeUInt8",1]),N.prototype.fieldSpec.push(["prn","writeUInt8",1]);var x=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(x.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_B",x.prototype.msg_type=70,x.prototype.constructor=x,x.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").uint8("prn").uint8("iode"),x.prototype.fieldSpec=[],x.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),x.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),x.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),x.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),x.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),x.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),x.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),x.prototype.fieldSpec.push(["w","writeDoubleLE",8]),x.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),x.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),x.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),x.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),x.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),x.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),x.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),x.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),x.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),x.prototype.fieldSpec.push(["valid","writeUInt8",1]),x.prototype.fieldSpec.push(["healthy","writeUInt8",1]),x.prototype.fieldSpec.push(["prn","writeUInt8",1]),x.prototype.fieldSpec.push(["iode","writeUInt8",1]);var k=function(e,t){return p.call(this,e),this.messageType="MSG_EPHEMERIS_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(k.prototype=Object.create(p.prototype)).messageType="MSG_EPHEMERIS_DEP_C",k.prototype.msg_type=71,k.prototype.constructor=k,k.prototype.parser=(new o).endianess("little").doublele("tgd").doublele("c_rs").doublele("c_rc").doublele("c_uc").doublele("c_us").doublele("c_ic").doublele("c_is").doublele("dn").doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("inc_dot").doublele("af0").doublele("af1").doublele("af2").doublele("toe_tow").uint16("toe_wn").doublele("toc_tow").uint16("toc_wn").uint8("valid").uint8("healthy").nest("sid",{type:s.prototype.parser}).uint8("iode").uint16("iodc").uint32("reserved"),k.prototype.fieldSpec=[],k.prototype.fieldSpec.push(["tgd","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_rs","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_rc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_uc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_us","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_ic","writeDoubleLE",8]),k.prototype.fieldSpec.push(["c_is","writeDoubleLE",8]),k.prototype.fieldSpec.push(["dn","writeDoubleLE",8]),k.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),k.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),k.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),k.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),k.prototype.fieldSpec.push(["w","writeDoubleLE",8]),k.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),k.prototype.fieldSpec.push(["inc_dot","writeDoubleLE",8]),k.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),k.prototype.fieldSpec.push(["af1","writeDoubleLE",8]),k.prototype.fieldSpec.push(["af2","writeDoubleLE",8]),k.prototype.fieldSpec.push(["toe_tow","writeDoubleLE",8]),k.prototype.fieldSpec.push(["toe_wn","writeUInt16LE",2]),k.prototype.fieldSpec.push(["toc_tow","writeDoubleLE",8]),k.prototype.fieldSpec.push(["toc_wn","writeUInt16LE",2]),k.prototype.fieldSpec.push(["valid","writeUInt8",1]),k.prototype.fieldSpec.push(["healthy","writeUInt8",1]),k.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),k.prototype.fieldSpec.push(["iode","writeUInt8",1]),k.prototype.fieldSpec.push(["iodc","writeUInt16LE",2]),k.prototype.fieldSpec.push(["reserved","writeUInt32LE",4]);var B=function(e,t){return p.call(this,e),this.messageType="ObservationHeaderDep",this.fields=t||this.parser.parse(e.payload),this};(B.prototype=Object.create(p.prototype)).messageType="ObservationHeaderDep",B.prototype.constructor=B,B.prototype.parser=(new o).endianess("little").nest("t",{type:c.prototype.parser}).uint8("n_obs"),B.prototype.fieldSpec=[],B.prototype.fieldSpec.push(["t",c.prototype.fieldSpec]),B.prototype.fieldSpec.push(["n_obs","writeUInt8",1]);var F=function(e,t){return p.call(this,e),this.messageType="CarrierPhaseDepA",this.fields=t||this.parser.parse(e.payload),this};(F.prototype=Object.create(p.prototype)).messageType="CarrierPhaseDepA",F.prototype.constructor=F,F.prototype.parser=(new o).endianess("little").int32("i").uint8("f"),F.prototype.fieldSpec=[],F.prototype.fieldSpec.push(["i","writeInt32LE",4]),F.prototype.fieldSpec.push(["f","writeUInt8",1]);var q=function(e,t){return p.call(this,e),this.messageType="PackedObsContentDepA",this.fields=t||this.parser.parse(e.payload),this};(q.prototype=Object.create(p.prototype)).messageType="PackedObsContentDepA",q.prototype.constructor=q,q.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:F.prototype.parser}).uint8("cn0").uint16("lock").uint8("prn"),q.prototype.fieldSpec=[],q.prototype.fieldSpec.push(["P","writeUInt32LE",4]),q.prototype.fieldSpec.push(["L",F.prototype.fieldSpec]),q.prototype.fieldSpec.push(["cn0","writeUInt8",1]),q.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),q.prototype.fieldSpec.push(["prn","writeUInt8",1]);var H=function(e,t){return p.call(this,e),this.messageType="PackedObsContentDepB",this.fields=t||this.parser.parse(e.payload),this};(H.prototype=Object.create(p.prototype)).messageType="PackedObsContentDepB",H.prototype.constructor=H,H.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:F.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:s.prototype.parser}),H.prototype.fieldSpec=[],H.prototype.fieldSpec.push(["P","writeUInt32LE",4]),H.prototype.fieldSpec.push(["L",F.prototype.fieldSpec]),H.prototype.fieldSpec.push(["cn0","writeUInt8",1]),H.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),H.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var z=function(e,t){return p.call(this,e),this.messageType="PackedObsContentDepC",this.fields=t||this.parser.parse(e.payload),this};(z.prototype=Object.create(p.prototype)).messageType="PackedObsContentDepC",z.prototype.constructor=z,z.prototype.parser=(new o).endianess("little").uint32("P").nest("L",{type:a.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:s.prototype.parser}),z.prototype.fieldSpec=[],z.prototype.fieldSpec.push(["P","writeUInt32LE",4]),z.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),z.prototype.fieldSpec.push(["cn0","writeUInt8",1]),z.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),z.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var V=function(e,t){return p.call(this,e),this.messageType="MSG_OBS_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(V.prototype=Object.create(p.prototype)).messageType="MSG_OBS_DEP_A",V.prototype.msg_type=69,V.prototype.constructor=V,V.prototype.parser=(new o).endianess("little").nest("header",{type:B.prototype.parser}).array("obs",{type:q.prototype.parser,readUntil:"eof"}),V.prototype.fieldSpec=[],V.prototype.fieldSpec.push(["header",B.prototype.fieldSpec]),V.prototype.fieldSpec.push(["obs","array",q.prototype.fieldSpec,function(){return this.fields.array.length},null]);var Y=function(e,t){return p.call(this,e),this.messageType="MSG_OBS_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(Y.prototype=Object.create(p.prototype)).messageType="MSG_OBS_DEP_B",Y.prototype.msg_type=67,Y.prototype.constructor=Y,Y.prototype.parser=(new o).endianess("little").nest("header",{type:B.prototype.parser}).array("obs",{type:H.prototype.parser,readUntil:"eof"}),Y.prototype.fieldSpec=[],Y.prototype.fieldSpec.push(["header",B.prototype.fieldSpec]),Y.prototype.fieldSpec.push(["obs","array",H.prototype.fieldSpec,function(){return this.fields.array.length},null]);var W=function(e,t){return p.call(this,e),this.messageType="MSG_OBS_DEP_C",this.fields=t||this.parser.parse(e.payload),this};(W.prototype=Object.create(p.prototype)).messageType="MSG_OBS_DEP_C",W.prototype.msg_type=73,W.prototype.constructor=W,W.prototype.parser=(new o).endianess("little").nest("header",{type:B.prototype.parser}).array("obs",{type:z.prototype.parser,readUntil:"eof"}),W.prototype.fieldSpec=[],W.prototype.fieldSpec.push(["header",B.prototype.fieldSpec]),W.prototype.fieldSpec.push(["obs","array",z.prototype.fieldSpec,function(){return this.fields.array.length},null]);var Q=function(e,t){return p.call(this,e),this.messageType="MSG_IONO",this.fields=t||this.parser.parse(e.payload),this};(Q.prototype=Object.create(p.prototype)).messageType="MSG_IONO",Q.prototype.msg_type=144,Q.prototype.constructor=Q,Q.prototype.parser=(new o).endianess("little").nest("t_nmct",{type:l.prototype.parser}).doublele("a0").doublele("a1").doublele("a2").doublele("a3").doublele("b0").doublele("b1").doublele("b2").doublele("b3"),Q.prototype.fieldSpec=[],Q.prototype.fieldSpec.push(["t_nmct",l.prototype.fieldSpec]),Q.prototype.fieldSpec.push(["a0","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["a1","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["a2","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["a3","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b0","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b1","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b2","writeDoubleLE",8]),Q.prototype.fieldSpec.push(["b3","writeDoubleLE",8]);var K=function(e,t){return p.call(this,e),this.messageType="MSG_SV_CONFIGURATION_GPS_DEP",this.fields=t||this.parser.parse(e.payload),this};(K.prototype=Object.create(p.prototype)).messageType="MSG_SV_CONFIGURATION_GPS_DEP",K.prototype.msg_type=145,K.prototype.constructor=K,K.prototype.parser=(new o).endianess("little").nest("t_nmct",{type:l.prototype.parser}).uint32("l2c_mask"),K.prototype.fieldSpec=[],K.prototype.fieldSpec.push(["t_nmct",l.prototype.fieldSpec]),K.prototype.fieldSpec.push(["l2c_mask","writeUInt32LE",4]);var X=function(e,t){return p.call(this,e),this.messageType="GnssCapb",this.fields=t||this.parser.parse(e.payload),this};(X.prototype=Object.create(p.prototype)).messageType="GnssCapb",X.prototype.constructor=X,X.prototype.parser=(new o).endianess("little").uint64("gps_active").uint64("gps_l2c").uint64("gps_l5").uint32("glo_active").uint32("glo_l2of").uint32("glo_l3").uint64("sbas_active").uint64("sbas_l5").uint64("bds_active").uint64("bds_d2nav").uint64("bds_b2").uint64("bds_b2a").uint32("qzss_active").uint64("gal_active").uint64("gal_e5"),X.prototype.fieldSpec=[],X.prototype.fieldSpec.push(["gps_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["gps_l2c","writeUInt64LE",8]),X.prototype.fieldSpec.push(["gps_l5","writeUInt64LE",8]),X.prototype.fieldSpec.push(["glo_active","writeUInt32LE",4]),X.prototype.fieldSpec.push(["glo_l2of","writeUInt32LE",4]),X.prototype.fieldSpec.push(["glo_l3","writeUInt32LE",4]),X.prototype.fieldSpec.push(["sbas_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["sbas_l5","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_d2nav","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_b2","writeUInt64LE",8]),X.prototype.fieldSpec.push(["bds_b2a","writeUInt64LE",8]),X.prototype.fieldSpec.push(["qzss_active","writeUInt32LE",4]),X.prototype.fieldSpec.push(["gal_active","writeUInt64LE",8]),X.prototype.fieldSpec.push(["gal_e5","writeUInt64LE",8]);var J=function(e,t){return p.call(this,e),this.messageType="MSG_GNSS_CAPB",this.fields=t||this.parser.parse(e.payload),this};(J.prototype=Object.create(p.prototype)).messageType="MSG_GNSS_CAPB",J.prototype.msg_type=150,J.prototype.constructor=J,J.prototype.parser=(new o).endianess("little").nest("t_nmct",{type:l.prototype.parser}).nest("gc",{type:X.prototype.parser}),J.prototype.fieldSpec=[],J.prototype.fieldSpec.push(["t_nmct",l.prototype.fieldSpec]),J.prototype.fieldSpec.push(["gc",X.prototype.fieldSpec]);var $=function(e,t){return p.call(this,e),this.messageType="MSG_GROUP_DELAY_DEP_A",this.fields=t||this.parser.parse(e.payload),this};($.prototype=Object.create(p.prototype)).messageType="MSG_GROUP_DELAY_DEP_A",$.prototype.msg_type=146,$.prototype.constructor=$,$.prototype.parser=(new o).endianess("little").nest("t_op",{type:c.prototype.parser}).uint8("prn").uint8("valid").int16("tgd").int16("isc_l1ca").int16("isc_l2c"),$.prototype.fieldSpec=[],$.prototype.fieldSpec.push(["t_op",c.prototype.fieldSpec]),$.prototype.fieldSpec.push(["prn","writeUInt8",1]),$.prototype.fieldSpec.push(["valid","writeUInt8",1]),$.prototype.fieldSpec.push(["tgd","writeInt16LE",2]),$.prototype.fieldSpec.push(["isc_l1ca","writeInt16LE",2]),$.prototype.fieldSpec.push(["isc_l2c","writeInt16LE",2]);var Z=function(e,t){return p.call(this,e),this.messageType="MSG_GROUP_DELAY_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(Z.prototype=Object.create(p.prototype)).messageType="MSG_GROUP_DELAY_DEP_B",Z.prototype.msg_type=147,Z.prototype.constructor=Z,Z.prototype.parser=(new o).endianess("little").nest("t_op",{type:l.prototype.parser}).nest("sid",{type:s.prototype.parser}).uint8("valid").int16("tgd").int16("isc_l1ca").int16("isc_l2c"),Z.prototype.fieldSpec=[],Z.prototype.fieldSpec.push(["t_op",l.prototype.fieldSpec]),Z.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),Z.prototype.fieldSpec.push(["valid","writeUInt8",1]),Z.prototype.fieldSpec.push(["tgd","writeInt16LE",2]),Z.prototype.fieldSpec.push(["isc_l1ca","writeInt16LE",2]),Z.prototype.fieldSpec.push(["isc_l2c","writeInt16LE",2]);var ee=function(e,t){return p.call(this,e),this.messageType="MSG_GROUP_DELAY",this.fields=t||this.parser.parse(e.payload),this};(ee.prototype=Object.create(p.prototype)).messageType="MSG_GROUP_DELAY",ee.prototype.msg_type=148,ee.prototype.constructor=ee,ee.prototype.parser=(new o).endianess("little").nest("t_op",{type:l.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("valid").int16("tgd").int16("isc_l1ca").int16("isc_l2c"),ee.prototype.fieldSpec=[],ee.prototype.fieldSpec.push(["t_op",l.prototype.fieldSpec]),ee.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),ee.prototype.fieldSpec.push(["valid","writeUInt8",1]),ee.prototype.fieldSpec.push(["tgd","writeInt16LE",2]),ee.prototype.fieldSpec.push(["isc_l1ca","writeInt16LE",2]),ee.prototype.fieldSpec.push(["isc_l2c","writeInt16LE",2]);var te=function(e,t){return p.call(this,e),this.messageType="AlmanacCommonContent",this.fields=t||this.parser.parse(e.payload),this};(te.prototype=Object.create(p.prototype)).messageType="AlmanacCommonContent",te.prototype.constructor=te,te.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).nest("toa",{type:l.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),te.prototype.fieldSpec=[],te.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),te.prototype.fieldSpec.push(["toa",l.prototype.fieldSpec]),te.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),te.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),te.prototype.fieldSpec.push(["valid","writeUInt8",1]),te.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var re=function(e,t){return p.call(this,e),this.messageType="AlmanacCommonContentDep",this.fields=t||this.parser.parse(e.payload),this};(re.prototype=Object.create(p.prototype)).messageType="AlmanacCommonContentDep",re.prototype.constructor=re,re.prototype.parser=(new o).endianess("little").nest("sid",{type:s.prototype.parser}).nest("toa",{type:l.prototype.parser}).doublele("ura").uint32("fit_interval").uint8("valid").uint8("health_bits"),re.prototype.fieldSpec=[],re.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),re.prototype.fieldSpec.push(["toa",l.prototype.fieldSpec]),re.prototype.fieldSpec.push(["ura","writeDoubleLE",8]),re.prototype.fieldSpec.push(["fit_interval","writeUInt32LE",4]),re.prototype.fieldSpec.push(["valid","writeUInt8",1]),re.prototype.fieldSpec.push(["health_bits","writeUInt8",1]);var pe=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GPS_DEP",this.fields=t||this.parser.parse(e.payload),this};(pe.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GPS_DEP",pe.prototype.msg_type=112,pe.prototype.constructor=pe,pe.prototype.parser=(new o).endianess("little").nest("common",{type:re.prototype.parser}).doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("af0").doublele("af1"),pe.prototype.fieldSpec=[],pe.prototype.fieldSpec.push(["common",re.prototype.fieldSpec]),pe.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["w","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),pe.prototype.fieldSpec.push(["af1","writeDoubleLE",8]);var oe=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GPS",this.fields=t||this.parser.parse(e.payload),this};(oe.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GPS",oe.prototype.msg_type=114,oe.prototype.constructor=oe,oe.prototype.parser=(new o).endianess("little").nest("common",{type:te.prototype.parser}).doublele("m0").doublele("ecc").doublele("sqrta").doublele("omega0").doublele("omegadot").doublele("w").doublele("inc").doublele("af0").doublele("af1"),oe.prototype.fieldSpec=[],oe.prototype.fieldSpec.push(["common",te.prototype.fieldSpec]),oe.prototype.fieldSpec.push(["m0","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["ecc","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["sqrta","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["omega0","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["omegadot","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["w","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["inc","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["af0","writeDoubleLE",8]),oe.prototype.fieldSpec.push(["af1","writeDoubleLE",8]);var ie=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GLO_DEP",this.fields=t||this.parser.parse(e.payload),this};(ie.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GLO_DEP",ie.prototype.msg_type=113,ie.prototype.constructor=ie,ie.prototype.parser=(new o).endianess("little").nest("common",{type:re.prototype.parser}).doublele("lambda_na").doublele("t_lambda_na").doublele("i").doublele("t").doublele("t_dot").doublele("epsilon").doublele("omega"),ie.prototype.fieldSpec=[],ie.prototype.fieldSpec.push(["common",re.prototype.fieldSpec]),ie.prototype.fieldSpec.push(["lambda_na","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["t_lambda_na","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["i","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["t","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["t_dot","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["epsilon","writeDoubleLE",8]),ie.prototype.fieldSpec.push(["omega","writeDoubleLE",8]);var se=function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC_GLO",this.fields=t||this.parser.parse(e.payload),this};(se.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC_GLO",se.prototype.msg_type=115,se.prototype.constructor=se,se.prototype.parser=(new o).endianess("little").nest("common",{type:te.prototype.parser}).doublele("lambda_na").doublele("t_lambda_na").doublele("i").doublele("t").doublele("t_dot").doublele("epsilon").doublele("omega"),se.prototype.fieldSpec=[],se.prototype.fieldSpec.push(["common",te.prototype.fieldSpec]),se.prototype.fieldSpec.push(["lambda_na","writeDoubleLE",8]),se.prototype.fieldSpec.push(["t_lambda_na","writeDoubleLE",8]),se.prototype.fieldSpec.push(["i","writeDoubleLE",8]),se.prototype.fieldSpec.push(["t","writeDoubleLE",8]),se.prototype.fieldSpec.push(["t_dot","writeDoubleLE",8]),se.prototype.fieldSpec.push(["epsilon","writeDoubleLE",8]),se.prototype.fieldSpec.push(["omega","writeDoubleLE",8]);var ne=function(e,t){return p.call(this,e),this.messageType="MSG_GLO_BIASES",this.fields=t||this.parser.parse(e.payload),this};(ne.prototype=Object.create(p.prototype)).messageType="MSG_GLO_BIASES",ne.prototype.msg_type=117,ne.prototype.constructor=ne,ne.prototype.parser=(new o).endianess("little").uint8("mask").int16("l1ca_bias").int16("l1p_bias").int16("l2ca_bias").int16("l2p_bias"),ne.prototype.fieldSpec=[],ne.prototype.fieldSpec.push(["mask","writeUInt8",1]),ne.prototype.fieldSpec.push(["l1ca_bias","writeInt16LE",2]),ne.prototype.fieldSpec.push(["l1p_bias","writeInt16LE",2]),ne.prototype.fieldSpec.push(["l2ca_bias","writeInt16LE",2]),ne.prototype.fieldSpec.push(["l2p_bias","writeInt16LE",2]);var ae=function(e,t){return p.call(this,e),this.messageType="SvAzEl",this.fields=t||this.parser.parse(e.payload),this};(ae.prototype=Object.create(p.prototype)).messageType="SvAzEl",ae.prototype.constructor=ae,ae.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).uint8("az").int8("el"),ae.prototype.fieldSpec=[],ae.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),ae.prototype.fieldSpec.push(["az","writeUInt8",1]),ae.prototype.fieldSpec.push(["el","writeInt8",1]);var le=function(e,t){return p.call(this,e),this.messageType="MSG_SV_AZ_EL",this.fields=t||this.parser.parse(e.payload),this};(le.prototype=Object.create(p.prototype)).messageType="MSG_SV_AZ_EL",le.prototype.msg_type=151,le.prototype.constructor=le,le.prototype.parser=(new o).endianess("little").array("azel",{type:ae.prototype.parser,readUntil:"eof"}),le.prototype.fieldSpec=[],le.prototype.fieldSpec.push(["azel","array",ae.prototype.fieldSpec,function(){return this.fields.array.length},null]);var ce=function(e,t){return p.call(this,e),this.messageType="MSG_OSR",this.fields=t||this.parser.parse(e.payload),this};(ce.prototype=Object.create(p.prototype)).messageType="MSG_OSR",ce.prototype.msg_type=1600,ce.prototype.constructor=ce,ce.prototype.parser=(new o).endianess("little").nest("header",{type:u.prototype.parser}).array("obs",{type:f.prototype.parser,readUntil:"eof"}),ce.prototype.fieldSpec=[],ce.prototype.fieldSpec.push(["header",u.prototype.fieldSpec]),ce.prototype.fieldSpec.push(["obs","array",f.prototype.fieldSpec,function(){return this.fields.array.length},null]),e.exports={ObservationHeader:u,Doppler:y,PackedObsContent:h,PackedOsrContent:f,74:d,MsgObs:d,68:_,MsgBasePosLlh:_,72:S,MsgBasePosEcef:S,EphemerisCommonContent:g,EphemerisCommonContentDepB:w,EphemerisCommonContentDepA:E,129:m,MsgEphemerisGpsDepE:m,134:b,MsgEphemerisGpsDepF:b,138:v,MsgEphemerisGps:v,142:L,MsgEphemerisQzss:L,137:T,MsgEphemerisBds:T,149:I,MsgEphemerisGalDepA:I,141:M,MsgEphemerisGal:M,130:U,MsgEphemerisSbasDepA:U,131:D,MsgEphemerisGloDepA:D,132:O,MsgEphemerisSbasDepB:O,140:A,MsgEphemerisSbas:A,133:G,MsgEphemerisGloDepB:G,135:R,MsgEphemerisGloDepC:R,136:P,MsgEphemerisGloDepD:P,139:C,MsgEphemerisGlo:C,128:j,MsgEphemerisDepD:j,26:N,MsgEphemerisDepA:N,70:x,MsgEphemerisDepB:x,71:k,MsgEphemerisDepC:k,ObservationHeaderDep:B,CarrierPhaseDepA:F,PackedObsContentDepA:q,PackedObsContentDepB:H,PackedObsContentDepC:z,69:V,MsgObsDepA:V,67:Y,MsgObsDepB:Y,73:W,MsgObsDepC:W,144:Q,MsgIono:Q,145:K,MsgSvConfigurationGpsDep:K,GnssCapb:X,150:J,MsgGnssCapb:J,146:$,MsgGroupDelayDepA:$,147:Z,MsgGroupDelayDepB:Z,148:ee,MsgGroupDelay:ee,AlmanacCommonContent:te,AlmanacCommonContentDep:re,112:pe,MsgAlmanacGpsDep:pe,114:oe,MsgAlmanacGps:oe,113:ie,MsgAlmanacGloDep:ie,115:se,MsgAlmanacGlo:se,117:ne,MsgGloBiases:ne,SvAzEl:ae,151:le,MsgSvAzEl:le,1600:ce,MsgOsr:ce}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=r(0).GPSTime,a=(r(0).CarrierPhase,n=r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep),l=(r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_ALMANAC",this.fields=t||this.parser.parse(e.payload),this});(l.prototype=Object.create(p.prototype)).messageType="MSG_ALMANAC",l.prototype.msg_type=105,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little"),l.prototype.fieldSpec=[];var c=function(e,t){return p.call(this,e),this.messageType="MSG_SET_TIME",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_SET_TIME",c.prototype.msg_type=104,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little"),c.prototype.fieldSpec=[];var u=function(e,t){return p.call(this,e),this.messageType="MSG_RESET",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_RESET",u.prototype.msg_type=182,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint32("flags"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_RESET_DEP",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_RESET_DEP",y.prototype.msg_type=178,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little"),y.prototype.fieldSpec=[];var h=function(e,t){return p.call(this,e),this.messageType="MSG_CW_RESULTS",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_CW_RESULTS",h.prototype.msg_type=192,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little"),h.prototype.fieldSpec=[];var f=function(e,t){return p.call(this,e),this.messageType="MSG_CW_START",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_CW_START",f.prototype.msg_type=193,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little"),f.prototype.fieldSpec=[];var d=function(e,t){return p.call(this,e),this.messageType="MSG_RESET_FILTERS",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_RESET_FILTERS",d.prototype.msg_type=34,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").uint8("filter"),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["filter","writeUInt8",1]);var _=function(e,t){return p.call(this,e),this.messageType="MSG_INIT_BASE_DEP",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="MSG_INIT_BASE_DEP",_.prototype.msg_type=35,_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little"),_.prototype.fieldSpec=[];var S=function(e,t){return p.call(this,e),this.messageType="MSG_THREAD_STATE",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_THREAD_STATE",S.prototype.msg_type=23,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").string("name",{length:20}).uint16("cpu").uint32("stack_free"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["name","string",20]),S.prototype.fieldSpec.push(["cpu","writeUInt16LE",2]),S.prototype.fieldSpec.push(["stack_free","writeUInt32LE",4]);var g=function(e,t){return p.call(this,e),this.messageType="UARTChannel",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="UARTChannel",g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").floatle("tx_throughput").floatle("rx_throughput").uint16("crc_error_count").uint16("io_error_count").uint8("tx_buffer_level").uint8("rx_buffer_level"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["tx_throughput","writeFloatLE",4]),g.prototype.fieldSpec.push(["rx_throughput","writeFloatLE",4]),g.prototype.fieldSpec.push(["crc_error_count","writeUInt16LE",2]),g.prototype.fieldSpec.push(["io_error_count","writeUInt16LE",2]),g.prototype.fieldSpec.push(["tx_buffer_level","writeUInt8",1]),g.prototype.fieldSpec.push(["rx_buffer_level","writeUInt8",1]);var w=function(e,t){return p.call(this,e),this.messageType="Period",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="Period",w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").int32("avg").int32("pmin").int32("pmax").int32("current"),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["avg","writeInt32LE",4]),w.prototype.fieldSpec.push(["pmin","writeInt32LE",4]),w.prototype.fieldSpec.push(["pmax","writeInt32LE",4]),w.prototype.fieldSpec.push(["current","writeInt32LE",4]);var E=function(e,t){return p.call(this,e),this.messageType="Latency",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="Latency",E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").int32("avg").int32("lmin").int32("lmax").int32("current"),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["avg","writeInt32LE",4]),E.prototype.fieldSpec.push(["lmin","writeInt32LE",4]),E.prototype.fieldSpec.push(["lmax","writeInt32LE",4]),E.prototype.fieldSpec.push(["current","writeInt32LE",4]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_UART_STATE",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_UART_STATE",m.prototype.msg_type=29,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").nest("uart_a",{type:g.prototype.parser}).nest("uart_b",{type:g.prototype.parser}).nest("uart_ftdi",{type:g.prototype.parser}).nest("latency",{type:E.prototype.parser}).nest("obs_period",{type:w.prototype.parser}),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["uart_a",g.prototype.fieldSpec]),m.prototype.fieldSpec.push(["uart_b",g.prototype.fieldSpec]),m.prototype.fieldSpec.push(["uart_ftdi",g.prototype.fieldSpec]),m.prototype.fieldSpec.push(["latency",E.prototype.fieldSpec]),m.prototype.fieldSpec.push(["obs_period",w.prototype.fieldSpec]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_UART_STATE_DEPA",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_UART_STATE_DEPA",b.prototype.msg_type=24,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").nest("uart_a",{type:g.prototype.parser}).nest("uart_b",{type:g.prototype.parser}).nest("uart_ftdi",{type:g.prototype.parser}).nest("latency",{type:E.prototype.parser}),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["uart_a",g.prototype.fieldSpec]),b.prototype.fieldSpec.push(["uart_b",g.prototype.fieldSpec]),b.prototype.fieldSpec.push(["uart_ftdi",g.prototype.fieldSpec]),b.prototype.fieldSpec.push(["latency",E.prototype.fieldSpec]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_IAR_STATE",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_IAR_STATE",v.prototype.msg_type=25,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").uint32("num_hyps"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["num_hyps","writeUInt32LE",4]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_MASK_SATELLITE",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_MASK_SATELLITE",L.prototype.msg_type=43,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").uint8("mask").nest("sid",{type:i.prototype.parser}),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["mask","writeUInt8",1]),L.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]);var T=function(e,t){return p.call(this,e),this.messageType="MSG_MASK_SATELLITE_DEP",this.fields=t||this.parser.parse(e.payload),this};(T.prototype=Object.create(p.prototype)).messageType="MSG_MASK_SATELLITE_DEP",T.prototype.msg_type=27,T.prototype.constructor=T,T.prototype.parser=(new o).endianess("little").uint8("mask").nest("sid",{type:s.prototype.parser}),T.prototype.fieldSpec=[],T.prototype.fieldSpec.push(["mask","writeUInt8",1]),T.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]);var I=function(e,t){return p.call(this,e),this.messageType="MSG_DEVICE_MONITOR",this.fields=t||this.parser.parse(e.payload),this};(I.prototype=Object.create(p.prototype)).messageType="MSG_DEVICE_MONITOR",I.prototype.msg_type=181,I.prototype.constructor=I,I.prototype.parser=(new o).endianess("little").int16("dev_vin").int16("cpu_vint").int16("cpu_vaux").int16("cpu_temperature").int16("fe_temperature"),I.prototype.fieldSpec=[],I.prototype.fieldSpec.push(["dev_vin","writeInt16LE",2]),I.prototype.fieldSpec.push(["cpu_vint","writeInt16LE",2]),I.prototype.fieldSpec.push(["cpu_vaux","writeInt16LE",2]),I.prototype.fieldSpec.push(["cpu_temperature","writeInt16LE",2]),I.prototype.fieldSpec.push(["fe_temperature","writeInt16LE",2]);var M=function(e,t){return p.call(this,e),this.messageType="MSG_COMMAND_REQ",this.fields=t||this.parser.parse(e.payload),this};(M.prototype=Object.create(p.prototype)).messageType="MSG_COMMAND_REQ",M.prototype.msg_type=184,M.prototype.constructor=M,M.prototype.parser=(new o).endianess("little").uint32("sequence").string("command",{greedy:!0}),M.prototype.fieldSpec=[],M.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),M.prototype.fieldSpec.push(["command","string",null]);var U=function(e,t){return p.call(this,e),this.messageType="MSG_COMMAND_RESP",this.fields=t||this.parser.parse(e.payload),this};(U.prototype=Object.create(p.prototype)).messageType="MSG_COMMAND_RESP",U.prototype.msg_type=185,U.prototype.constructor=U,U.prototype.parser=(new o).endianess("little").uint32("sequence").int32("code"),U.prototype.fieldSpec=[],U.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),U.prototype.fieldSpec.push(["code","writeInt32LE",4]);var D=function(e,t){return p.call(this,e),this.messageType="MSG_COMMAND_OUTPUT",this.fields=t||this.parser.parse(e.payload),this};(D.prototype=Object.create(p.prototype)).messageType="MSG_COMMAND_OUTPUT",D.prototype.msg_type=188,D.prototype.constructor=D,D.prototype.parser=(new o).endianess("little").uint32("sequence").string("line",{greedy:!0}),D.prototype.fieldSpec=[],D.prototype.fieldSpec.push(["sequence","writeUInt32LE",4]),D.prototype.fieldSpec.push(["line","string",null]);var O=function(e,t){return p.call(this,e),this.messageType="MSG_NETWORK_STATE_REQ",this.fields=t||this.parser.parse(e.payload),this};(O.prototype=Object.create(p.prototype)).messageType="MSG_NETWORK_STATE_REQ",O.prototype.msg_type=186,O.prototype.constructor=O,O.prototype.parser=(new o).endianess("little"),O.prototype.fieldSpec=[];var A=function(e,t){return p.call(this,e),this.messageType="MSG_NETWORK_STATE_RESP",this.fields=t||this.parser.parse(e.payload),this};(A.prototype=Object.create(p.prototype)).messageType="MSG_NETWORK_STATE_RESP",A.prototype.msg_type=187,A.prototype.constructor=A,A.prototype.parser=(new o).endianess("little").array("ipv4_address",{length:4,type:"uint8"}).uint8("ipv4_mask_size").array("ipv6_address",{length:16,type:"uint8"}).uint8("ipv6_mask_size").uint32("rx_bytes").uint32("tx_bytes").string("interface_name",{length:16}).uint32("flags"),A.prototype.fieldSpec=[],A.prototype.fieldSpec.push(["ipv4_address","array","writeUInt8",function(){return 1},4]),A.prototype.fieldSpec.push(["ipv4_mask_size","writeUInt8",1]),A.prototype.fieldSpec.push(["ipv6_address","array","writeUInt8",function(){return 1},16]),A.prototype.fieldSpec.push(["ipv6_mask_size","writeUInt8",1]),A.prototype.fieldSpec.push(["rx_bytes","writeUInt32LE",4]),A.prototype.fieldSpec.push(["tx_bytes","writeUInt32LE",4]),A.prototype.fieldSpec.push(["interface_name","string",16]),A.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var G=function(e,t){return p.call(this,e),this.messageType="NetworkUsage",this.fields=t||this.parser.parse(e.payload),this};(G.prototype=Object.create(p.prototype)).messageType="NetworkUsage",G.prototype.constructor=G,G.prototype.parser=(new o).endianess("little").uint64("duration").uint64("total_bytes").uint32("rx_bytes").uint32("tx_bytes").string("interface_name",{length:16}),G.prototype.fieldSpec=[],G.prototype.fieldSpec.push(["duration","writeUInt64LE",8]),G.prototype.fieldSpec.push(["total_bytes","writeUInt64LE",8]),G.prototype.fieldSpec.push(["rx_bytes","writeUInt32LE",4]),G.prototype.fieldSpec.push(["tx_bytes","writeUInt32LE",4]),G.prototype.fieldSpec.push(["interface_name","string",16]);var R=function(e,t){return p.call(this,e),this.messageType="MSG_NETWORK_BANDWIDTH_USAGE",this.fields=t||this.parser.parse(e.payload),this};(R.prototype=Object.create(p.prototype)).messageType="MSG_NETWORK_BANDWIDTH_USAGE",R.prototype.msg_type=189,R.prototype.constructor=R,R.prototype.parser=(new o).endianess("little").array("interfaces",{type:G.prototype.parser,readUntil:"eof"}),R.prototype.fieldSpec=[],R.prototype.fieldSpec.push(["interfaces","array",G.prototype.fieldSpec,function(){return this.fields.array.length},null]);var P=function(e,t){return p.call(this,e),this.messageType="MSG_CELL_MODEM_STATUS",this.fields=t||this.parser.parse(e.payload),this};(P.prototype=Object.create(p.prototype)).messageType="MSG_CELL_MODEM_STATUS",P.prototype.msg_type=190,P.prototype.constructor=P,P.prototype.parser=(new o).endianess("little").int8("signal_strength").floatle("signal_error_rate").array("reserved",{type:"uint8",readUntil:"eof"}),P.prototype.fieldSpec=[],P.prototype.fieldSpec.push(["signal_strength","writeInt8",1]),P.prototype.fieldSpec.push(["signal_error_rate","writeFloatLE",4]),P.prototype.fieldSpec.push(["reserved","array","writeUInt8",function(){return 1},null]);var C=function(e,t){return p.call(this,e),this.messageType="MSG_SPECAN_DEP",this.fields=t||this.parser.parse(e.payload),this};(C.prototype=Object.create(p.prototype)).messageType="MSG_SPECAN_DEP",C.prototype.msg_type=80,C.prototype.constructor=C,C.prototype.parser=(new o).endianess("little").uint16("channel_tag").nest("t",{type:a.prototype.parser}).floatle("freq_ref").floatle("freq_step").floatle("amplitude_ref").floatle("amplitude_unit").array("amplitude_value",{type:"uint8",readUntil:"eof"}),C.prototype.fieldSpec=[],C.prototype.fieldSpec.push(["channel_tag","writeUInt16LE",2]),C.prototype.fieldSpec.push(["t",a.prototype.fieldSpec]),C.prototype.fieldSpec.push(["freq_ref","writeFloatLE",4]),C.prototype.fieldSpec.push(["freq_step","writeFloatLE",4]),C.prototype.fieldSpec.push(["amplitude_ref","writeFloatLE",4]),C.prototype.fieldSpec.push(["amplitude_unit","writeFloatLE",4]),C.prototype.fieldSpec.push(["amplitude_value","array","writeUInt8",function(){return 1},null]);var j=function(e,t){return p.call(this,e),this.messageType="MSG_SPECAN",this.fields=t||this.parser.parse(e.payload),this};(j.prototype=Object.create(p.prototype)).messageType="MSG_SPECAN",j.prototype.msg_type=81,j.prototype.constructor=j,j.prototype.parser=(new o).endianess("little").uint16("channel_tag").nest("t",{type:n.prototype.parser}).floatle("freq_ref").floatle("freq_step").floatle("amplitude_ref").floatle("amplitude_unit").array("amplitude_value",{type:"uint8",readUntil:"eof"}),j.prototype.fieldSpec=[],j.prototype.fieldSpec.push(["channel_tag","writeUInt16LE",2]),j.prototype.fieldSpec.push(["t",n.prototype.fieldSpec]),j.prototype.fieldSpec.push(["freq_ref","writeFloatLE",4]),j.prototype.fieldSpec.push(["freq_step","writeFloatLE",4]),j.prototype.fieldSpec.push(["amplitude_ref","writeFloatLE",4]),j.prototype.fieldSpec.push(["amplitude_unit","writeFloatLE",4]),j.prototype.fieldSpec.push(["amplitude_value","array","writeUInt8",function(){return 1},null]);var N=function(e,t){return p.call(this,e),this.messageType="MSG_FRONT_END_GAIN",this.fields=t||this.parser.parse(e.payload),this};(N.prototype=Object.create(p.prototype)).messageType="MSG_FRONT_END_GAIN",N.prototype.msg_type=191,N.prototype.constructor=N,N.prototype.parser=(new o).endianess("little").array("rf_gain",{length:8,type:"int8"}).array("if_gain",{length:8,type:"int8"}),N.prototype.fieldSpec=[],N.prototype.fieldSpec.push(["rf_gain","array","writeInt8",function(){return 1},8]),N.prototype.fieldSpec.push(["if_gain","array","writeInt8",function(){return 1},8]),e.exports={105:l,MsgAlmanac:l,104:c,MsgSetTime:c,182:u,MsgReset:u,178:y,MsgResetDep:y,192:h,MsgCwResults:h,193:f,MsgCwStart:f,34:d,MsgResetFilters:d,35:_,MsgInitBaseDep:_,23:S,MsgThreadState:S,UARTChannel:g,Period:w,Latency:E,29:m,MsgUartState:m,24:b,MsgUartStateDepa:b,25:v,MsgIarState:v,43:L,MsgMaskSatellite:L,27:T,MsgMaskSatelliteDep:T,181:I,MsgDeviceMonitor:I,184:M,MsgCommandReq:M,185:U,MsgCommandResp:U,188:D,MsgCommandOutput:D,186:O,MsgNetworkStateReq:O,187:A,MsgNetworkStateResp:A,NetworkUsage:G,189:R,MsgNetworkBandwidthUsage:R,190:P,MsgCellModemStatus:P,80:C,MsgSpecanDep:C,81:j,MsgSpecan:j,191:N,MsgFrontEndGain:N}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=(r(0).GnssSignalDep,r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep,r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_SBAS_RAW",this.fields=t||this.parser.parse(e.payload),this});(s.prototype=Object.create(p.prototype)).messageType="MSG_SBAS_RAW",s.prototype.msg_type=30583,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).uint32("tow").uint8("message_type").array("data",{length:27,type:"uint8"}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),s.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),s.prototype.fieldSpec.push(["message_type","writeUInt8",1]),s.prototype.fieldSpec.push(["data","array","writeUInt8",function(){return 1},27]),e.exports={30583:s,MsgSbasRaw:s}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_SAVE",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_SAVE",i.prototype.msg_type=161,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little"),i.prototype.fieldSpec=[];var s=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_WRITE",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_WRITE",s.prototype.msg_type=160,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["setting","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_WRITE_RESP",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_WRITE_RESP",n.prototype.msg_type=175,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint8("status").string("setting",{greedy:!0}),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["status","writeUInt8",1]),n.prototype.fieldSpec.push(["setting","string",null]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_REQ",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_REQ",a.prototype.msg_type=164,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["setting","string",null]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_RESP",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_RESP",l.prototype.msg_type=165,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["setting","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_BY_INDEX_REQ",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_BY_INDEX_REQ",c.prototype.msg_type=162,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint16("index"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["index","writeUInt16LE",2]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_BY_INDEX_RESP",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_BY_INDEX_RESP",u.prototype.msg_type=167,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint16("index").string("setting",{greedy:!0}),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["index","writeUInt16LE",2]),u.prototype.fieldSpec.push(["setting","string",null]);var y=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_READ_BY_INDEX_DONE",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_READ_BY_INDEX_DONE",y.prototype.msg_type=166,y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little"),y.prototype.fieldSpec=[];var h=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_REGISTER",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_REGISTER",h.prototype.msg_type=174,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").string("setting",{greedy:!0}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["setting","string",null]);var f=function(e,t){return p.call(this,e),this.messageType="MSG_SETTINGS_REGISTER_RESP",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MSG_SETTINGS_REGISTER_RESP",f.prototype.msg_type=431,f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").uint8("status").string("setting",{greedy:!0}),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["status","writeUInt8",1]),f.prototype.fieldSpec.push(["setting","string",null]),e.exports={161:i,MsgSettingsSave:i,160:s,MsgSettingsWrite:s,175:n,MsgSettingsWriteResp:n,164:a,MsgSettingsReadReq:a,165:l,MsgSettingsReadResp:l,162:c,MsgSettingsReadByIndexReq:c,167:u,MsgSettingsReadByIndexResp:u,166:y,MsgSettingsReadByIndexDone:y,174:h,MsgSettingsRegister:h,431:f,MsgSettingsRegisterResp:f}},function(e,t,r){var p=r(2),o=r(13).Parser,i=function(e){return p.call(this,e),this.messageType="SBPSignal",this.fields=this.parser.parse(e.payload),this};(i.prototype=Object.create(p.prototype)).constructor=i,i.prototype.parser=(new o).endianess("little").uint16("sat").uint8("band").uint8("constellation"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["sat","writeUInt16LE",2]),i.prototype.fieldSpec.push(["band","writeUInt8",1]),i.prototype.fieldSpec.push(["constellation","writeUInt8",1]),e.exports={SBPSignal:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=(r(0).GnssSignalDep,r(0).GPSTime,r(0).CarrierPhase,r(0).GPSTime,r(0).GPSTimeSec),n=(r(0).GPSTimeDep,r(0).SvId),a=function(e,t){return p.call(this,e),this.messageType="CodeBiasesContent",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="CodeBiasesContent",a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint8("code").int16("value"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["code","writeUInt8",1]),a.prototype.fieldSpec.push(["value","writeInt16LE",2]);var l=function(e,t){return p.call(this,e),this.messageType="PhaseBiasesContent",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="PhaseBiasesContent",l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("code").uint8("integer_indicator").uint8("widelane_integer_indicator").uint8("discontinuity_counter").int32("bias"),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["code","writeUInt8",1]),l.prototype.fieldSpec.push(["integer_indicator","writeUInt8",1]),l.prototype.fieldSpec.push(["widelane_integer_indicator","writeUInt8",1]),l.prototype.fieldSpec.push(["discontinuity_counter","writeUInt8",1]),l.prototype.fieldSpec.push(["bias","writeInt32LE",4]);var c=function(e,t){return p.call(this,e),this.messageType="STECHeader",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="STECHeader",c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).uint8("num_msgs").uint8("seq_num").uint8("update_interval").uint8("iod_atmo"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),c.prototype.fieldSpec.push(["num_msgs","writeUInt8",1]),c.prototype.fieldSpec.push(["seq_num","writeUInt8",1]),c.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),c.prototype.fieldSpec.push(["iod_atmo","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="GriddedCorrectionHeader",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="GriddedCorrectionHeader",u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).uint16("num_msgs").uint16("seq_num").uint8("update_interval").uint8("iod_atmo").uint8("tropo_quality_indicator"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),u.prototype.fieldSpec.push(["num_msgs","writeUInt16LE",2]),u.prototype.fieldSpec.push(["seq_num","writeUInt16LE",2]),u.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),u.prototype.fieldSpec.push(["iod_atmo","writeUInt8",1]),u.prototype.fieldSpec.push(["tropo_quality_indicator","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="STECSatElement",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="STECSatElement",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").nest("sv_id",{type:n.prototype.parser}).uint8("stec_quality_indicator").array("stec_coeff",{length:4,type:"int16le"}),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sv_id",n.prototype.fieldSpec]),y.prototype.fieldSpec.push(["stec_quality_indicator","writeUInt8",1]),y.prototype.fieldSpec.push(["stec_coeff","array","writeInt16LE",function(){return 2},4]);var h=function(e,t){return p.call(this,e),this.messageType="TroposphericDelayCorrection",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="TroposphericDelayCorrection",h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").int16("hydro").int8("wet"),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["hydro","writeInt16LE",2]),h.prototype.fieldSpec.push(["wet","writeInt8",1]);var f=function(e,t){return p.call(this,e),this.messageType="STECResidual",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="STECResidual",f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").nest("sv_id",{type:n.prototype.parser}).int16("residual"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["sv_id",n.prototype.fieldSpec]),f.prototype.fieldSpec.push(["residual","writeInt16LE",2]);var d=function(e,t){return p.call(this,e),this.messageType="GridElement",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="GridElement",d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").uint16("index").nest("tropo_delay_correction",{type:h.prototype.parser}).array("stec_residuals",{type:f.prototype.parser,readUntil:"eof"}),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["index","writeUInt16LE",2]),d.prototype.fieldSpec.push(["tropo_delay_correction",h.prototype.fieldSpec]),d.prototype.fieldSpec.push(["stec_residuals","array",f.prototype.fieldSpec,function(){return this.fields.array.length},null]);var _=function(e,t){return p.call(this,e),this.messageType="GridDefinitionHeader",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="GridDefinitionHeader",_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").uint8("region_size_inverse").uint16("area_width").uint16("lat_nw_corner_enc").uint16("lon_nw_corner_enc").uint8("num_msgs").uint8("seq_num"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["region_size_inverse","writeUInt8",1]),_.prototype.fieldSpec.push(["area_width","writeUInt16LE",2]),_.prototype.fieldSpec.push(["lat_nw_corner_enc","writeUInt16LE",2]),_.prototype.fieldSpec.push(["lon_nw_corner_enc","writeUInt16LE",2]),_.prototype.fieldSpec.push(["num_msgs","writeUInt8",1]),_.prototype.fieldSpec.push(["seq_num","writeUInt8",1]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_ORBIT_CLOCK",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_SSR_ORBIT_CLOCK",S.prototype.msg_type=1501,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").uint32("iod").int32("radial").int32("along").int32("cross").int32("dot_radial").int32("dot_along").int32("dot_cross").int32("c0").int32("c1").int32("c2"),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),S.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),S.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),S.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),S.prototype.fieldSpec.push(["iod","writeUInt32LE",4]),S.prototype.fieldSpec.push(["radial","writeInt32LE",4]),S.prototype.fieldSpec.push(["along","writeInt32LE",4]),S.prototype.fieldSpec.push(["cross","writeInt32LE",4]),S.prototype.fieldSpec.push(["dot_radial","writeInt32LE",4]),S.prototype.fieldSpec.push(["dot_along","writeInt32LE",4]),S.prototype.fieldSpec.push(["dot_cross","writeInt32LE",4]),S.prototype.fieldSpec.push(["c0","writeInt32LE",4]),S.prototype.fieldSpec.push(["c1","writeInt32LE",4]),S.prototype.fieldSpec.push(["c2","writeInt32LE",4]);var g=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_ORBIT_CLOCK_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="MSG_SSR_ORBIT_CLOCK_DEP_A",g.prototype.msg_type=1500,g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").uint8("iod").int32("radial").int32("along").int32("cross").int32("dot_radial").int32("dot_along").int32("dot_cross").int32("c0").int32("c1").int32("c2"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),g.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),g.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),g.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),g.prototype.fieldSpec.push(["iod","writeUInt8",1]),g.prototype.fieldSpec.push(["radial","writeInt32LE",4]),g.prototype.fieldSpec.push(["along","writeInt32LE",4]),g.prototype.fieldSpec.push(["cross","writeInt32LE",4]),g.prototype.fieldSpec.push(["dot_radial","writeInt32LE",4]),g.prototype.fieldSpec.push(["dot_along","writeInt32LE",4]),g.prototype.fieldSpec.push(["dot_cross","writeInt32LE",4]),g.prototype.fieldSpec.push(["c0","writeInt32LE",4]),g.prototype.fieldSpec.push(["c1","writeInt32LE",4]),g.prototype.fieldSpec.push(["c2","writeInt32LE",4]);var w=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_CODE_BIASES",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="MSG_SSR_CODE_BIASES",w.prototype.msg_type=1505,w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").array("biases",{type:a.prototype.parser,readUntil:"eof"}),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),w.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),w.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),w.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),w.prototype.fieldSpec.push(["biases","array",a.prototype.fieldSpec,function(){return this.fields.array.length},null]);var E=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_PHASE_BIASES",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="MSG_SSR_PHASE_BIASES",E.prototype.msg_type=1510,E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").nest("time",{type:s.prototype.parser}).nest("sid",{type:i.prototype.parser}).uint8("update_interval").uint8("iod_ssr").uint8("dispersive_bias").uint8("mw_consistency").uint16("yaw").int8("yaw_rate").array("biases",{type:l.prototype.parser,readUntil:"eof"}),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["time",s.prototype.fieldSpec]),E.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),E.prototype.fieldSpec.push(["update_interval","writeUInt8",1]),E.prototype.fieldSpec.push(["iod_ssr","writeUInt8",1]),E.prototype.fieldSpec.push(["dispersive_bias","writeUInt8",1]),E.prototype.fieldSpec.push(["mw_consistency","writeUInt8",1]),E.prototype.fieldSpec.push(["yaw","writeUInt16LE",2]),E.prototype.fieldSpec.push(["yaw_rate","writeInt8",1]),E.prototype.fieldSpec.push(["biases","array",l.prototype.fieldSpec,function(){return this.fields.array.length},null]);var m=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_STEC_CORRECTION",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="MSG_SSR_STEC_CORRECTION",m.prototype.msg_type=1515,m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").nest("header",{type:c.prototype.parser}).array("stec_sat_list",{type:y.prototype.parser,readUntil:"eof"}),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["header",c.prototype.fieldSpec]),m.prototype.fieldSpec.push(["stec_sat_list","array",y.prototype.fieldSpec,function(){return this.fields.array.length},null]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_GRIDDED_CORRECTION",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_SSR_GRIDDED_CORRECTION",b.prototype.msg_type=1520,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").nest("header",{type:u.prototype.parser}).nest("element",{type:d.prototype.parser}),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["header",u.prototype.fieldSpec]),b.prototype.fieldSpec.push(["element",d.prototype.fieldSpec]);var v=function(e,t){return p.call(this,e),this.messageType="MSG_SSR_GRID_DEFINITION",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="MSG_SSR_GRID_DEFINITION",v.prototype.msg_type=1525,v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").nest("header",{type:_.prototype.parser}).array("rle_list",{type:"uint8",readUntil:"eof"}),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["header",_.prototype.fieldSpec]),v.prototype.fieldSpec.push(["rle_list","array","writeUInt8",function(){return 1},null]),e.exports={CodeBiasesContent:a,PhaseBiasesContent:l,STECHeader:c,GriddedCorrectionHeader:u,STECSatElement:y,TroposphericDelayCorrection:h,STECResidual:f,GridElement:d,GridDefinitionHeader:_,1501:S,MsgSsrOrbitClock:S,1500:g,MsgSsrOrbitClockDepA:g,1505:w,MsgSsrCodeBiases:w,1510:E,MsgSsrPhaseBiases:E,1515:m,MsgSsrStecCorrection:m,1520:b,MsgSsrGriddedCorrection:b,1525:v,MsgSsrGridDefinition:v}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_STARTUP",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_STARTUP",i.prototype.msg_type=65280,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint8("cause").uint8("startup_type").uint16("reserved"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["cause","writeUInt8",1]),i.prototype.fieldSpec.push(["startup_type","writeUInt8",1]),i.prototype.fieldSpec.push(["reserved","writeUInt16LE",2]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_DGNSS_STATUS",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_DGNSS_STATUS",s.prototype.msg_type=65282,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint8("flags").uint16("latency").uint8("num_signals").string("source",{greedy:!0}),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["flags","writeUInt8",1]),s.prototype.fieldSpec.push(["latency","writeUInt16LE",2]),s.prototype.fieldSpec.push(["num_signals","writeUInt8",1]),s.prototype.fieldSpec.push(["source","string",null]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_HEARTBEAT",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_HEARTBEAT",n.prototype.msg_type=65535,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("flags"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_INS_STATUS",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_INS_STATUS",a.prototype.msg_type=65283,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("flags"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["flags","writeUInt32LE",4]);var l=function(e,t){return p.call(this,e),this.messageType="MSG_CSAC_TELEMETRY",this.fields=t||this.parser.parse(e.payload),this};(l.prototype=Object.create(p.prototype)).messageType="MSG_CSAC_TELEMETRY",l.prototype.msg_type=65284,l.prototype.constructor=l,l.prototype.parser=(new o).endianess("little").uint8("id").string("telemetry",{greedy:!0}),l.prototype.fieldSpec=[],l.prototype.fieldSpec.push(["id","writeUInt8",1]),l.prototype.fieldSpec.push(["telemetry","string",null]);var c=function(e,t){return p.call(this,e),this.messageType="MSG_CSAC_TELEMETRY_LABELS",this.fields=t||this.parser.parse(e.payload),this};(c.prototype=Object.create(p.prototype)).messageType="MSG_CSAC_TELEMETRY_LABELS",c.prototype.msg_type=65285,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint8("id").string("telemetry_labels",{greedy:!0}),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["id","writeUInt8",1]),c.prototype.fieldSpec.push(["telemetry_labels","string",null]),e.exports={65280:i,MsgStartup:i,65282:s,MsgDgnssStatus:s,65535:n,MsgHeartbeat:n,65283:a,MsgInsStatus:a,65284:l,MsgCsacTelemetry:l,65285:c,MsgCsacTelemetryLabels:c}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,r(0).GnssSignal),s=r(0).GnssSignalDep,n=r(0).GPSTime,a=r(0).CarrierPhase,l=(n=r(0).GPSTime,r(0).GPSTimeSec,r(0).GPSTimeDep),c=(r(0).SvId,function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DETAILED_DEP_A",this.fields=t||this.parser.parse(e.payload),this});(c.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DETAILED_DEP_A",c.prototype.msg_type=33,c.prototype.constructor=c,c.prototype.parser=(new o).endianess("little").uint64("recv_time").nest("tot",{type:n.prototype.parser}).uint32("P").uint16("P_std").nest("L",{type:a.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:i.prototype.parser}).int32("doppler").uint16("doppler_std").uint32("uptime").int16("clock_offset").int16("clock_drift").uint16("corr_spacing").int8("acceleration").uint8("sync_flags").uint8("tow_flags").uint8("track_flags").uint8("nav_flags").uint8("pset_flags").uint8("misc_flags"),c.prototype.fieldSpec=[],c.prototype.fieldSpec.push(["recv_time","writeUInt64LE",8]),c.prototype.fieldSpec.push(["tot",n.prototype.fieldSpec]),c.prototype.fieldSpec.push(["P","writeUInt32LE",4]),c.prototype.fieldSpec.push(["P_std","writeUInt16LE",2]),c.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),c.prototype.fieldSpec.push(["cn0","writeUInt8",1]),c.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),c.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),c.prototype.fieldSpec.push(["doppler","writeInt32LE",4]),c.prototype.fieldSpec.push(["doppler_std","writeUInt16LE",2]),c.prototype.fieldSpec.push(["uptime","writeUInt32LE",4]),c.prototype.fieldSpec.push(["clock_offset","writeInt16LE",2]),c.prototype.fieldSpec.push(["clock_drift","writeInt16LE",2]),c.prototype.fieldSpec.push(["corr_spacing","writeUInt16LE",2]),c.prototype.fieldSpec.push(["acceleration","writeInt8",1]),c.prototype.fieldSpec.push(["sync_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["tow_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["track_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["nav_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["pset_flags","writeUInt8",1]),c.prototype.fieldSpec.push(["misc_flags","writeUInt8",1]);var u=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DETAILED_DEP",this.fields=t||this.parser.parse(e.payload),this};(u.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DETAILED_DEP",u.prototype.msg_type=17,u.prototype.constructor=u,u.prototype.parser=(new o).endianess("little").uint64("recv_time").nest("tot",{type:l.prototype.parser}).uint32("P").uint16("P_std").nest("L",{type:a.prototype.parser}).uint8("cn0").uint16("lock").nest("sid",{type:s.prototype.parser}).int32("doppler").uint16("doppler_std").uint32("uptime").int16("clock_offset").int16("clock_drift").uint16("corr_spacing").int8("acceleration").uint8("sync_flags").uint8("tow_flags").uint8("track_flags").uint8("nav_flags").uint8("pset_flags").uint8("misc_flags"),u.prototype.fieldSpec=[],u.prototype.fieldSpec.push(["recv_time","writeUInt64LE",8]),u.prototype.fieldSpec.push(["tot",l.prototype.fieldSpec]),u.prototype.fieldSpec.push(["P","writeUInt32LE",4]),u.prototype.fieldSpec.push(["P_std","writeUInt16LE",2]),u.prototype.fieldSpec.push(["L",a.prototype.fieldSpec]),u.prototype.fieldSpec.push(["cn0","writeUInt8",1]),u.prototype.fieldSpec.push(["lock","writeUInt16LE",2]),u.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),u.prototype.fieldSpec.push(["doppler","writeInt32LE",4]),u.prototype.fieldSpec.push(["doppler_std","writeUInt16LE",2]),u.prototype.fieldSpec.push(["uptime","writeUInt32LE",4]),u.prototype.fieldSpec.push(["clock_offset","writeInt16LE",2]),u.prototype.fieldSpec.push(["clock_drift","writeInt16LE",2]),u.prototype.fieldSpec.push(["corr_spacing","writeUInt16LE",2]),u.prototype.fieldSpec.push(["acceleration","writeInt8",1]),u.prototype.fieldSpec.push(["sync_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["tow_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["track_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["nav_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["pset_flags","writeUInt8",1]),u.prototype.fieldSpec.push(["misc_flags","writeUInt8",1]);var y=function(e,t){return p.call(this,e),this.messageType="TrackingChannelState",this.fields=t||this.parser.parse(e.payload),this};(y.prototype=Object.create(p.prototype)).messageType="TrackingChannelState",y.prototype.constructor=y,y.prototype.parser=(new o).endianess("little").nest("sid",{type:i.prototype.parser}).uint8("fcn").uint8("cn0"),y.prototype.fieldSpec=[],y.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),y.prototype.fieldSpec.push(["fcn","writeUInt8",1]),y.prototype.fieldSpec.push(["cn0","writeUInt8",1]);var h=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE",this.fields=t||this.parser.parse(e.payload),this};(h.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE",h.prototype.msg_type=65,h.prototype.constructor=h,h.prototype.parser=(new o).endianess("little").array("states",{type:y.prototype.parser,readUntil:"eof"}),h.prototype.fieldSpec=[],h.prototype.fieldSpec.push(["states","array",y.prototype.fieldSpec,function(){return this.fields.array.length},null]);var f=function(e,t){return p.call(this,e),this.messageType="MeasurementState",this.fields=t||this.parser.parse(e.payload),this};(f.prototype=Object.create(p.prototype)).messageType="MeasurementState",f.prototype.constructor=f,f.prototype.parser=(new o).endianess("little").nest("mesid",{type:i.prototype.parser}).uint8("cn0"),f.prototype.fieldSpec=[],f.prototype.fieldSpec.push(["mesid",i.prototype.fieldSpec]),f.prototype.fieldSpec.push(["cn0","writeUInt8",1]);var d=function(e,t){return p.call(this,e),this.messageType="MSG_MEASUREMENT_STATE",this.fields=t||this.parser.parse(e.payload),this};(d.prototype=Object.create(p.prototype)).messageType="MSG_MEASUREMENT_STATE",d.prototype.msg_type=97,d.prototype.constructor=d,d.prototype.parser=(new o).endianess("little").array("states",{type:f.prototype.parser,readUntil:"eof"}),d.prototype.fieldSpec=[],d.prototype.fieldSpec.push(["states","array",f.prototype.fieldSpec,function(){return this.fields.array.length},null]);var _=function(e,t){return p.call(this,e),this.messageType="TrackingChannelCorrelation",this.fields=t||this.parser.parse(e.payload),this};(_.prototype=Object.create(p.prototype)).messageType="TrackingChannelCorrelation",_.prototype.constructor=_,_.prototype.parser=(new o).endianess("little").int16("I").int16("Q"),_.prototype.fieldSpec=[],_.prototype.fieldSpec.push(["I","writeInt16LE",2]),_.prototype.fieldSpec.push(["Q","writeInt16LE",2]);var S=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_IQ",this.fields=t||this.parser.parse(e.payload),this};(S.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_IQ",S.prototype.msg_type=45,S.prototype.constructor=S,S.prototype.parser=(new o).endianess("little").uint8("channel").nest("sid",{type:i.prototype.parser}).array("corrs",{length:3,type:_.prototype.parser}),S.prototype.fieldSpec=[],S.prototype.fieldSpec.push(["channel","writeUInt8",1]),S.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),S.prototype.fieldSpec.push(["corrs","array",_.prototype.fieldSpec,function(){return this.fields.array.length},3]);var g=function(e,t){return p.call(this,e),this.messageType="TrackingChannelCorrelationDep",this.fields=t||this.parser.parse(e.payload),this};(g.prototype=Object.create(p.prototype)).messageType="TrackingChannelCorrelationDep",g.prototype.constructor=g,g.prototype.parser=(new o).endianess("little").int32("I").int32("Q"),g.prototype.fieldSpec=[],g.prototype.fieldSpec.push(["I","writeInt32LE",4]),g.prototype.fieldSpec.push(["Q","writeInt32LE",4]);var w=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_IQ_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(w.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_IQ_DEP_B",w.prototype.msg_type=44,w.prototype.constructor=w,w.prototype.parser=(new o).endianess("little").uint8("channel").nest("sid",{type:i.prototype.parser}).array("corrs",{length:3,type:g.prototype.parser}),w.prototype.fieldSpec=[],w.prototype.fieldSpec.push(["channel","writeUInt8",1]),w.prototype.fieldSpec.push(["sid",i.prototype.fieldSpec]),w.prototype.fieldSpec.push(["corrs","array",g.prototype.fieldSpec,function(){return this.fields.array.length},3]);var E=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_IQ_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(E.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_IQ_DEP_A",E.prototype.msg_type=28,E.prototype.constructor=E,E.prototype.parser=(new o).endianess("little").uint8("channel").nest("sid",{type:s.prototype.parser}).array("corrs",{length:3,type:g.prototype.parser}),E.prototype.fieldSpec=[],E.prototype.fieldSpec.push(["channel","writeUInt8",1]),E.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),E.prototype.fieldSpec.push(["corrs","array",g.prototype.fieldSpec,function(){return this.fields.array.length},3]);var m=function(e,t){return p.call(this,e),this.messageType="TrackingChannelStateDepA",this.fields=t||this.parser.parse(e.payload),this};(m.prototype=Object.create(p.prototype)).messageType="TrackingChannelStateDepA",m.prototype.constructor=m,m.prototype.parser=(new o).endianess("little").uint8("state").uint8("prn").floatle("cn0"),m.prototype.fieldSpec=[],m.prototype.fieldSpec.push(["state","writeUInt8",1]),m.prototype.fieldSpec.push(["prn","writeUInt8",1]),m.prototype.fieldSpec.push(["cn0","writeFloatLE",4]);var b=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DEP_A",this.fields=t||this.parser.parse(e.payload),this};(b.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DEP_A",b.prototype.msg_type=22,b.prototype.constructor=b,b.prototype.parser=(new o).endianess("little").array("states",{type:m.prototype.parser,readUntil:"eof"}),b.prototype.fieldSpec=[],b.prototype.fieldSpec.push(["states","array",m.prototype.fieldSpec,function(){return this.fields.array.length},null]);var v=function(e,t){return p.call(this,e),this.messageType="TrackingChannelStateDepB",this.fields=t||this.parser.parse(e.payload),this};(v.prototype=Object.create(p.prototype)).messageType="TrackingChannelStateDepB",v.prototype.constructor=v,v.prototype.parser=(new o).endianess("little").uint8("state").nest("sid",{type:s.prototype.parser}).floatle("cn0"),v.prototype.fieldSpec=[],v.prototype.fieldSpec.push(["state","writeUInt8",1]),v.prototype.fieldSpec.push(["sid",s.prototype.fieldSpec]),v.prototype.fieldSpec.push(["cn0","writeFloatLE",4]);var L=function(e,t){return p.call(this,e),this.messageType="MSG_TRACKING_STATE_DEP_B",this.fields=t||this.parser.parse(e.payload),this};(L.prototype=Object.create(p.prototype)).messageType="MSG_TRACKING_STATE_DEP_B",L.prototype.msg_type=19,L.prototype.constructor=L,L.prototype.parser=(new o).endianess("little").array("states",{type:v.prototype.parser,readUntil:"eof"}),L.prototype.fieldSpec=[],L.prototype.fieldSpec.push(["states","array",v.prototype.fieldSpec,function(){return this.fields.array.length},null]),e.exports={33:c,MsgTrackingStateDetailedDepA:c,17:u,MsgTrackingStateDetailedDep:u,TrackingChannelState:y,65:h,MsgTrackingState:h,MeasurementState:f,97:d,MsgMeasurementState:d,TrackingChannelCorrelation:_,45:S,MsgTrackingIq:S,TrackingChannelCorrelationDep:g,44:w,MsgTrackingIqDepB:w,28:E,MsgTrackingIqDepA:E,TrackingChannelStateDepA:m,22:b,MsgTrackingStateDepA:b,TrackingChannelStateDepB:v,19:L,MsgTrackingStateDepB:L}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_USER_DATA",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_USER_DATA",i.prototype.msg_type=2048,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").array("contents",{type:"uint8",readUntil:"eof"}),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["contents","array","writeUInt8",function(){return 1},null]),e.exports={2048:i,MsgUserData:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_ODOMETRY",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_ODOMETRY",i.prototype.msg_type=2307,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").int32("velocity").uint8("flags"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["velocity","writeInt32LE",4]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]),e.exports={2307:i,MsgOdometry:i}},function(e,t,r){var p=r(2),o=r(4),i=(r(3),r(1).UINT64,function(e,t){return p.call(this,e),this.messageType="MSG_BASELINE_HEADING",this.fields=t||this.parser.parse(e.payload),this});(i.prototype=Object.create(p.prototype)).messageType="MSG_BASELINE_HEADING",i.prototype.msg_type=527,i.prototype.constructor=i,i.prototype.parser=(new o).endianess("little").uint32("tow").uint32("heading").uint8("n_sats").uint8("flags"),i.prototype.fieldSpec=[],i.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),i.prototype.fieldSpec.push(["heading","writeUInt32LE",4]),i.prototype.fieldSpec.push(["n_sats","writeUInt8",1]),i.prototype.fieldSpec.push(["flags","writeUInt8",1]);var s=function(e,t){return p.call(this,e),this.messageType="MSG_ORIENT_QUAT",this.fields=t||this.parser.parse(e.payload),this};(s.prototype=Object.create(p.prototype)).messageType="MSG_ORIENT_QUAT",s.prototype.msg_type=544,s.prototype.constructor=s,s.prototype.parser=(new o).endianess("little").uint32("tow").int32("w").int32("x").int32("y").int32("z").floatle("w_accuracy").floatle("x_accuracy").floatle("y_accuracy").floatle("z_accuracy").uint8("flags"),s.prototype.fieldSpec=[],s.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),s.prototype.fieldSpec.push(["w","writeInt32LE",4]),s.prototype.fieldSpec.push(["x","writeInt32LE",4]),s.prototype.fieldSpec.push(["y","writeInt32LE",4]),s.prototype.fieldSpec.push(["z","writeInt32LE",4]),s.prototype.fieldSpec.push(["w_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["x_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["y_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["z_accuracy","writeFloatLE",4]),s.prototype.fieldSpec.push(["flags","writeUInt8",1]);var n=function(e,t){return p.call(this,e),this.messageType="MSG_ORIENT_EULER",this.fields=t||this.parser.parse(e.payload),this};(n.prototype=Object.create(p.prototype)).messageType="MSG_ORIENT_EULER",n.prototype.msg_type=545,n.prototype.constructor=n,n.prototype.parser=(new o).endianess("little").uint32("tow").int32("roll").int32("pitch").int32("yaw").floatle("roll_accuracy").floatle("pitch_accuracy").floatle("yaw_accuracy").uint8("flags"),n.prototype.fieldSpec=[],n.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),n.prototype.fieldSpec.push(["roll","writeInt32LE",4]),n.prototype.fieldSpec.push(["pitch","writeInt32LE",4]),n.prototype.fieldSpec.push(["yaw","writeInt32LE",4]),n.prototype.fieldSpec.push(["roll_accuracy","writeFloatLE",4]),n.prototype.fieldSpec.push(["pitch_accuracy","writeFloatLE",4]),n.prototype.fieldSpec.push(["yaw_accuracy","writeFloatLE",4]),n.prototype.fieldSpec.push(["flags","writeUInt8",1]);var a=function(e,t){return p.call(this,e),this.messageType="MSG_ANGULAR_RATE",this.fields=t||this.parser.parse(e.payload),this};(a.prototype=Object.create(p.prototype)).messageType="MSG_ANGULAR_RATE",a.prototype.msg_type=546,a.prototype.constructor=a,a.prototype.parser=(new o).endianess("little").uint32("tow").int32("x").int32("y").int32("z").uint8("flags"),a.prototype.fieldSpec=[],a.prototype.fieldSpec.push(["tow","writeUInt32LE",4]),a.prototype.fieldSpec.push(["x","writeInt32LE",4]),a.prototype.fieldSpec.push(["y","writeInt32LE",4]),a.prototype.fieldSpec.push(["z","writeInt32LE",4]),a.prototype.fieldSpec.push(["flags","writeUInt8",1]),e.exports={527:i,MsgBaselineHeading:i,544:s,MsgOrientQuat:s,545:n,MsgOrientEuler:n,546:a,MsgAngularRate:a}}]); \ No newline at end of file diff --git a/javascript/sbp/ssr.js b/javascript/sbp/ssr.js index 53c460ad45..473ddcd89b 100644 --- a/javascript/sbp/ssr.js +++ b/javascript/sbp/ssr.js @@ -113,8 +113,7 @@ PhaseBiasesContent.prototype.fieldSpec.push(['bias', 'writeInt32LE', 4]); * @field seq_num number (unsigned 8-bit int, 1 byte) Position of this message in the dataset * @field update_interval number (unsigned 8-bit int, 1 byte) Update interval between consecutive corrections. Encoded following RTCM DF391 * specification. - * @field iod_ssr number (unsigned 8-bit int, 1 byte) IOD of the SSR correction. A change of Issue Of Data SSR is used to indicate a - * change in the SSR generating configuration. + * @field iod_atmo number (unsigned 8-bit int, 1 byte) IOD of the SSR atmospheric correction * * @param sbp An SBP object with a payload to be decoded. */ @@ -134,13 +133,13 @@ STECHeader.prototype.parser = new Parser() .uint8('num_msgs') .uint8('seq_num') .uint8('update_interval') - .uint8('iod_ssr'); + .uint8('iod_atmo'); STECHeader.prototype.fieldSpec = []; STECHeader.prototype.fieldSpec.push(['time', GPSTimeSec.prototype.fieldSpec]); STECHeader.prototype.fieldSpec.push(['num_msgs', 'writeUInt8', 1]); STECHeader.prototype.fieldSpec.push(['seq_num', 'writeUInt8', 1]); STECHeader.prototype.fieldSpec.push(['update_interval', 'writeUInt8', 1]); -STECHeader.prototype.fieldSpec.push(['iod_ssr', 'writeUInt8', 1]); +STECHeader.prototype.fieldSpec.push(['iod_atmo', 'writeUInt8', 1]); /** * SBP class for message fragment GriddedCorrectionHeader @@ -154,10 +153,9 @@ STECHeader.prototype.fieldSpec.push(['iod_ssr', 'writeUInt8', 1]); * @field seq_num number (unsigned 16-bit int, 2 bytes) Position of this message in the dataset * @field update_interval number (unsigned 8-bit int, 1 byte) Update interval between consecutive corrections. Encoded following RTCM DF391 * specification. - * @field iod_ssr number (unsigned 8-bit int, 1 byte) IOD of the SSR correction. A change of Issue Of Data SSR is used to indicate a - * change in the SSR generating configuration. - * @field tropo_quality_indicator number (unsigned 8-bit int, 1 byte) Quality of the troposphere data. Encoded following RTCM DF389 specifcation but - * as TECU instead of m. + * @field iod_atmo number (unsigned 8-bit int, 1 byte) IOD of the SSR atmospheric correction + * @field tropo_quality_indicator number (unsigned 8-bit int, 1 byte) Quality of the troposphere data. Encoded following RTCM DF389 specifcation in + * units of m. * * @param sbp An SBP object with a payload to be decoded. */ @@ -177,14 +175,14 @@ GriddedCorrectionHeader.prototype.parser = new Parser() .uint16('num_msgs') .uint16('seq_num') .uint8('update_interval') - .uint8('iod_ssr') + .uint8('iod_atmo') .uint8('tropo_quality_indicator'); GriddedCorrectionHeader.prototype.fieldSpec = []; GriddedCorrectionHeader.prototype.fieldSpec.push(['time', GPSTimeSec.prototype.fieldSpec]); GriddedCorrectionHeader.prototype.fieldSpec.push(['num_msgs', 'writeUInt16LE', 2]); GriddedCorrectionHeader.prototype.fieldSpec.push(['seq_num', 'writeUInt16LE', 2]); GriddedCorrectionHeader.prototype.fieldSpec.push(['update_interval', 'writeUInt8', 1]); -GriddedCorrectionHeader.prototype.fieldSpec.push(['iod_ssr', 'writeUInt8', 1]); +GriddedCorrectionHeader.prototype.fieldSpec.push(['iod_atmo', 'writeUInt8', 1]); GriddedCorrectionHeader.prototype.fieldSpec.push(['tropo_quality_indicator', 'writeUInt8', 1]); /** @@ -194,8 +192,8 @@ GriddedCorrectionHeader.prototype.fieldSpec.push(['tropo_quality_indicator', 'wr * * Fields in the SBP payload (`sbp.payload`): * @field sv_id SvId Unique space vehicle identifier - * @field stec_quality_indicator number (unsigned 8-bit int, 1 byte) Quality of the STEC data. Encoded following RTCM DF389 specifcation but as TECU - * instead of m. + * @field stec_quality_indicator number (unsigned 8-bit int, 1 byte) Quality of the STEC data. Encoded following RTCM DF389 specifcation but in units + * of TECU instead of m. * @field stec_coeff array Coefficents of the STEC polynomial in the order of C00, C01, C10, C11 * * @param sbp An SBP object with a payload to be decoded. @@ -223,7 +221,7 @@ STECSatElement.prototype.fieldSpec.push(['stec_coeff', 'array', 'writeInt16LE', /** * SBP class for message fragment TroposphericDelayCorrection * - * Troposphere delays at the grid point. + * Troposphere vertical delays at the grid point. * * Fields in the SBP payload (`sbp.payload`): * @field hydro number (signed 16-bit int, 2 bytes) Hydrostatic vertical delay @@ -318,10 +316,11 @@ GridElement.prototype.fieldSpec.push(['stec_residuals', 'array', STECResidual.pr * encoded validity list. * * Fields in the SBP payload (`sbp.payload`): - * @field region_size_inverse number (unsigned 8-bit int, 1 byte) inverse of region size - * @field area_width number (unsigned 16-bit int, 2 bytes) area width; see spec for details - * @field lat_nw_corner_enc number (unsigned 16-bit int, 2 bytes) encoded latitude of the northwest corner of the grid - * @field lon_nw_corner_enc number (unsigned 16-bit int, 2 bytes) encoded longitude of the northwest corner of the grid + * @field region_size_inverse number (unsigned 8-bit int, 1 byte) region_size (deg) = 10 / region_size_inverse 0 is an invalid value. + * @field area_width number (unsigned 16-bit int, 2 bytes) grid height (deg) = grid idth (deg) = area_width / region_size 0 is an invalid + * value. + * @field lat_nw_corner_enc number (unsigned 16-bit int, 2 bytes) North-West corner latitdue (deg) = region_size * lat_nw_corner_enc - 90 + * @field lon_nw_corner_enc number (unsigned 16-bit int, 2 bytes) North-West corner longtitude (deg) = region_size * lon_nw_corner_enc - 180 * @field num_msgs number (unsigned 8-bit int, 1 byte) Number of messages in the dataset * @field seq_num number (unsigned 8-bit int, 1 byte) Postion of this message in the dataset * @@ -659,7 +658,8 @@ MsgSsrGriddedCorrection.prototype.fieldSpec.push(['element', GridElement.prototy /** * SBP class for message MSG_SSR_GRID_DEFINITION (0x05F5). * - * Definition of the grid for STEC and tropo messages + * Based on the 3GPP proposal R2-1906781 which is in turn based on OMA-LPPe- + * ValidityArea from OMA-TS-LPPe–V2_0-20141202-C * * Fields in the SBP payload (`sbp.payload`): * @field header GridDefinitionHeader Header of a Gridded Correction message diff --git a/proto/ssr.proto b/proto/ssr.proto index cc222a7fc2..3c50776805 100644 --- a/proto/ssr.proto +++ b/proto/ssr.proto @@ -55,7 +55,7 @@ message STECHeader { uint32 num_msgs = 2; uint32 seq_num = 3; uint32 update_interval = 4; - uint32 iod_ssr = 5; + uint32 iod_atmo = 5; } /** Header for MSG_SSR_GRIDDED_CORRECTION @@ -69,7 +69,7 @@ message GriddedCorrectionHeader { uint32 num_msgs = 2; uint32 seq_num = 3; uint32 update_interval = 4; - uint32 iod_ssr = 5; + uint32 iod_atmo = 5; uint32 tropo_quality_indicator = 6; } @@ -85,7 +85,7 @@ message STECSatElement { /** None * - * Troposphere delays at the grid point. + * Troposphere vertical delays at the grid point. */ message TroposphericDelayCorrection { sint32 hydro = 1; @@ -208,9 +208,10 @@ message MsgSsrGriddedCorrection { GridElement element = 2; } -/** None +/** Definition of the grid for STEC and tropo messages * -* Definition of the grid for STEC and tropo messages + * Based on the 3GPP proposal R2-1906781 which is in turn based on + * OMA-LPPe-ValidityArea from OMA-TS-LPPe-V2_0-20141202-C */ message MsgSsrGridDefinition { GridDefinitionHeader header = 1; diff --git a/python/sbp/jit/ssr.py b/python/sbp/jit/ssr.py index 91b1cb5838..e0d18cb5eb 100644 --- a/python/sbp/jit/ssr.py +++ b/python/sbp/jit/ssr.py @@ -148,7 +148,7 @@ class STECHeader(object): 'num_msgs', 'seq_num', 'update_interval', - 'iod_ssr', + 'iod_atmo', ] @classmethod def parse_members(cls, buf, offset, length): @@ -161,8 +161,8 @@ def parse_members(cls, buf, offset, length): ret['seq_num'] = __seq_num (__update_interval, offset, length) = get_u8(buf, offset, length) ret['update_interval'] = __update_interval - (__iod_ssr, offset, length) = get_u8(buf, offset, length) - ret['iod_ssr'] = __iod_ssr + (__iod_atmo, offset, length) = get_u8(buf, offset, length) + ret['iod_atmo'] = __iod_atmo return ret, offset, length def _unpack_members(self, buf, offset, length): @@ -173,7 +173,7 @@ def _unpack_members(self, buf, offset, length): self.num_msgs = res['num_msgs'] self.seq_num = res['seq_num'] self.update_interval = res['update_interval'] - self.iod_ssr = res['iod_ssr'] + self.iod_atmo = res['iod_atmo'] return res, off, length @classmethod @@ -187,7 +187,7 @@ def _payload_size(self): ret += 1 # update_interval: u8 ret += 1 - # iod_ssr: u8 + # iod_atmo: u8 ret += 1 return ret @@ -209,7 +209,7 @@ class GriddedCorrectionHeader(object): 'num_msgs', 'seq_num', 'update_interval', - 'iod_ssr', + 'iod_atmo', 'tropo_quality_indicator', ] @classmethod @@ -223,8 +223,8 @@ def parse_members(cls, buf, offset, length): ret['seq_num'] = __seq_num (__update_interval, offset, length) = get_u8(buf, offset, length) ret['update_interval'] = __update_interval - (__iod_ssr, offset, length) = get_u8(buf, offset, length) - ret['iod_ssr'] = __iod_ssr + (__iod_atmo, offset, length) = get_u8(buf, offset, length) + ret['iod_atmo'] = __iod_atmo (__tropo_quality_indicator, offset, length) = get_u8(buf, offset, length) ret['tropo_quality_indicator'] = __tropo_quality_indicator return ret, offset, length @@ -237,7 +237,7 @@ def _unpack_members(self, buf, offset, length): self.num_msgs = res['num_msgs'] self.seq_num = res['seq_num'] self.update_interval = res['update_interval'] - self.iod_ssr = res['iod_ssr'] + self.iod_atmo = res['iod_atmo'] self.tropo_quality_indicator = res['tropo_quality_indicator'] return res, off, length @@ -252,7 +252,7 @@ def _payload_size(self): ret += 2 # update_interval: u8 ret += 1 - # iod_ssr: u8 + # iod_atmo: u8 ret += 1 # tropo_quality_indicator: u8 ret += 1 @@ -312,7 +312,7 @@ class TroposphericDelayCorrection(object): of its fields. - Troposphere delays at the grid point. + Troposphere vertical delays at the grid point. """ @@ -982,7 +982,9 @@ class MsgSsrGridDefinition(SBP): of its fields. - Definition of the grid for STEC and tropo messages + Based on the 3GPP proposal R2-1906781 which is in turn based on +OMA-LPPe-ValidityArea from OMA-TS-LPPe-V2_0-20141202-C + """ __slots__ = ['header', diff --git a/python/sbp/ssr.py b/python/sbp/ssr.py index 67f5f0a4d3..cccef701e1 100644 --- a/python/sbp/ssr.py +++ b/python/sbp/ssr.py @@ -147,10 +147,8 @@ class STECHeader(object): Update interval between consecutive corrections. Encoded following RTCM DF391 specification. - iod_ssr : int - IOD of the SSR correction. A change of Issue Of Data -SSR is used to indicate a change in the SSR -generating configuration. + iod_atmo : int + IOD of the SSR atmospheric correction """ @@ -159,13 +157,13 @@ class STECHeader(object): 'num_msgs' / construct.Int8ul, 'seq_num' / construct.Int8ul, 'update_interval' / construct.Int8ul, - 'iod_ssr' / construct.Int8ul,)) + 'iod_atmo' / construct.Int8ul,)) __slots__ = [ 'time', 'num_msgs', 'seq_num', 'update_interval', - 'iod_ssr', + 'iod_atmo', ] def __init__(self, payload=None, **kwargs): @@ -176,7 +174,7 @@ def __init__(self, payload=None, **kwargs): self.num_msgs = kwargs.pop('num_msgs') self.seq_num = kwargs.pop('seq_num') self.update_interval = kwargs.pop('update_interval') - self.iod_ssr = kwargs.pop('iod_ssr') + self.iod_atmo = kwargs.pop('iod_atmo') def __repr__(self): return fmt_repr(self) @@ -210,14 +208,12 @@ class GriddedCorrectionHeader(object): Update interval between consecutive corrections. Encoded following RTCM DF391 specification. - iod_ssr : int - IOD of the SSR correction. A change of Issue Of Data -SSR is used to indicate a change in the SSR -generating configuration. + iod_atmo : int + IOD of the SSR atmospheric correction tropo_quality_indicator : int Quality of the troposphere data. Encoded following RTCM DF389 -specifcation but as TECU instead of m. +specifcation in units of m. """ @@ -226,14 +222,14 @@ class GriddedCorrectionHeader(object): 'num_msgs' / construct.Int16ul, 'seq_num' / construct.Int16ul, 'update_interval' / construct.Int8ul, - 'iod_ssr' / construct.Int8ul, + 'iod_atmo' / construct.Int8ul, 'tropo_quality_indicator' / construct.Int8ul,)) __slots__ = [ 'time', 'num_msgs', 'seq_num', 'update_interval', - 'iod_ssr', + 'iod_atmo', 'tropo_quality_indicator', ] @@ -245,7 +241,7 @@ def __init__(self, payload=None, **kwargs): self.num_msgs = kwargs.pop('num_msgs') self.seq_num = kwargs.pop('seq_num') self.update_interval = kwargs.pop('update_interval') - self.iod_ssr = kwargs.pop('iod_ssr') + self.iod_atmo = kwargs.pop('iod_atmo') self.tropo_quality_indicator = kwargs.pop('tropo_quality_indicator') def __repr__(self): @@ -271,7 +267,7 @@ class STECSatElement(object): Unique space vehicle identifier stec_quality_indicator : int Quality of the STEC data. Encoded following RTCM DF389 specifcation -but as TECU instead of m. +but in units of TECU instead of m. stec_coeff : array Coefficents of the STEC polynomial in the order of C00, C01, C10, C11 @@ -311,7 +307,7 @@ def to_binary(self): class TroposphericDelayCorrection(object): """TroposphericDelayCorrection. - Troposphere delays at the grid point. + Troposphere vertical delays at the grid point. Parameters @@ -446,13 +442,17 @@ class GridDefinitionHeader(object): Parameters ---------- region_size_inverse : int - inverse of region size + region_size (deg) = 10 / region_size_inverse +0 is an invalid value. + area_width : int - area width; see spec for details + grid height (deg) = grid idth (deg) = area_width / region_size +0 is an invalid value. + lat_nw_corner_enc : int - encoded latitude of the northwest corner of the grid + North-West corner latitdue (deg) = region_size * lat_nw_corner_enc - 90 lon_nw_corner_enc : int - encoded longitude of the northwest corner of the grid + North-West corner longtitude (deg) = region_size * lon_nw_corner_enc - 180 num_msgs : int Number of messages in the dataset seq_num : int @@ -1289,7 +1289,9 @@ class MsgSsrGridDefinition(SBP): of its fields. - Definition of the grid for STEC and tropo messages + Based on the 3GPP proposal R2-1906781 which is in turn based on +OMA-LPPe-ValidityArea from OMA-TS-LPPe-V2_0-20141202-C + Parameters ---------- diff --git a/rust/sbp/src/lib.rs b/rust/sbp/src/lib.rs index bf4ffcd29b..ad73f21d03 100644 --- a/rust/sbp/src/lib.rs +++ b/rust/sbp/src/lib.rs @@ -14,8 +14,26 @@ mod tests { #[test] fn baseline_ecef() { let baseline_ecef_payload = [ - 0x28u8, 0xf4, 0x7a, 0x13, 0x96, 0x62, 0xee, 0xff, 0xbe, 0x40, 0x14, 0x00, 0xf6, 0xa3, - 0x09, 0x00, 0x00, 0x00, 0x0e, 0x00, + 0x28u8, + 0xf4, + 0x7a, + 0x13, + 0x96, + 0x62, + 0xee, + 0xff, + 0xbe, + 0x40, + 0x14, + 0x00, + 0xf6, + 0xa3, + 0x09, + 0x00, + 0x00, + 0x00, + 0x0e, + 0x00, ]; let baseline_ecef_expectation = ::messages::navigation::MsgBaselineECEF { sender_id: Some(1234), @@ -46,8 +64,34 @@ mod tests { #[test] fn frame() { let packet = [ - 0x55u8, 0x0b, 0x02, 0xd3, 0x88, 0x14, 0x28, 0xf4, 0x7a, 0x13, 0x96, 0x62, 0xee, 0xff, - 0xbe, 0x40, 0x14, 0x00, 0xf6, 0xa3, 0x09, 0x00, 0x00, 0x00, 0x0e, 0x00, 0xdb, 0xbf, + 0x55u8, + 0x0b, + 0x02, + 0xd3, + 0x88, + 0x14, + 0x28, + 0xf4, + 0x7a, + 0x13, + 0x96, + 0x62, + 0xee, + 0xff, + 0xbe, + 0x40, + 0x14, + 0x00, + 0xf6, + 0xa3, + 0x09, + 0x00, + 0x00, + 0x00, + 0x0e, + 0x00, + 0xdb, + 0xbf, ]; let baseline_ecef_expectation = ::messages::navigation::MsgBaselineECEF { sender_id: Some(0x88d3), @@ -78,9 +122,41 @@ mod tests { #[test] fn parser() { let packet = vec![ - 0x00, 0x11, 0x22, 0x55u8, 0x0b, 0x02, 0xd3, 0x88, 0x14, 0x28, 0xf4, 0x7a, 0x13, 0x96, - 0x62, 0xee, 0xff, 0xbe, 0x40, 0x14, 0x00, 0xf6, 0xa3, 0x09, 0x00, 0x00, 0x00, 0x0e, - 0x00, 0xdb, 0xbf, 0xde, 0xad, 0xbe, 0xef, + 0x00, + 0x11, + 0x22, + 0x55u8, + 0x0b, + 0x02, + 0xd3, + 0x88, + 0x14, + 0x28, + 0xf4, + 0x7a, + 0x13, + 0x96, + 0x62, + 0xee, + 0xff, + 0xbe, + 0x40, + 0x14, + 0x00, + 0xf6, + 0xa3, + 0x09, + 0x00, + 0x00, + 0x00, + 0x0e, + 0x00, + 0xdb, + 0xbf, + 0xde, + 0xad, + 0xbe, + 0xef, ]; let mut reader = std::io::Cursor::new(packet); let baseline_ecef_expectation = ::messages::navigation::MsgBaselineECEF { @@ -94,7 +170,8 @@ mod tests { z: 631798, }; let mut parser = ::parser::Parser::new(); - // Iterate through the data until we hit something that is parsable + // Iterate through the data until we hit something that is + // parsable let sbp_result = parser.parse(&mut reader); assert!(sbp_result.is_ok()); if let ::messages::SBP::MsgBaselineECEF(msg) = sbp_result.unwrap() { diff --git a/rust/sbp/src/messages/acquisition.rs b/rust/sbp/src/messages/acquisition.rs index e16bff45e5..6c0ae72701 100644 --- a/rust/sbp/src/messages/acquisition.rs +++ b/rust/sbp/src/messages/acquisition.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/acquisition.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Satellite acquisition messages from the device. extern crate byteorder; @@ -19,6 +20,7 @@ extern crate byteorder; use self::byteorder::{LittleEndian, ReadBytesExt}; use super::gnss::*; + /// Satellite acquisition result /// /// This message describes the results from an attempted GPS signal @@ -64,6 +66,7 @@ impl super::SBPMessage for MsgAcqResult { } } + /// Deprecated /// /// Deprecated. @@ -105,6 +108,7 @@ impl super::SBPMessage for MsgAcqResultDepC { } } + /// Deprecated /// /// Deprecated. @@ -147,6 +151,7 @@ impl super::SBPMessage for MsgAcqResultDepB { } } + /// Deprecated /// /// Deprecated. @@ -190,6 +195,7 @@ impl super::SBPMessage for MsgAcqResultDepA { } } + /// Acq perfomance measurement and debug /// /// Profile for a specific SV for debugging purposes @@ -259,6 +265,7 @@ impl AcqSvProfile { } } + /// Deprecated /// /// Deprecated. @@ -326,6 +333,7 @@ impl AcqSvProfileDep { } } + /// Acquisition perfomance measurement and debug /// /// The message describes all SV profiles during acquisition time. @@ -359,6 +367,7 @@ impl super::SBPMessage for MsgAcqSvProfile { } } + /// Deprecated. /// /// Deprecated. diff --git a/rust/sbp/src/messages/bootload.rs b/rust/sbp/src/messages/bootload.rs index 290080c43b..53c51e5394 100644 --- a/rust/sbp/src/messages/bootload.rs +++ b/rust/sbp/src/messages/bootload.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/bootload.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Messages for the bootloading configuration of a Piksi 2.3.1. This message //! group does not apply to Piksi Multi. //! @@ -23,6 +24,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Bootloading handshake request (host => device) /// /// The handshake message request from the host establishes a @@ -52,6 +54,7 @@ impl super::SBPMessage for MsgBootloaderHandshakeReq { } } + /// Bootloading handshake response (host <= device) /// /// The handshake message response from the device establishes a @@ -91,6 +94,7 @@ impl super::SBPMessage for MsgBootloaderHandshakeResp { } } + /// Bootloader jump to application (host => device) /// /// The host initiates the bootloader to jump to the application. @@ -123,6 +127,7 @@ impl super::SBPMessage for MsgBootloaderJumpToApp { } } + /// Read FPGA device ID over UART request (host => device) /// /// The device message from the host reads a unique device @@ -155,6 +160,7 @@ impl super::SBPMessage for MsgNapDeviceDnaReq { } } + /// Read FPGA device ID over UART response (host <= device) /// /// The device message from the host reads a unique device @@ -192,6 +198,7 @@ impl super::SBPMessage for MsgNapDeviceDnaResp { } } + /// Deprecated /// /// Deprecated. diff --git a/rust/sbp/src/messages/ext_events.rs b/rust/sbp/src/messages/ext_events.rs index 0005a4df6a..bb6644476e 100644 --- a/rust/sbp/src/messages/ext_events.rs +++ b/rust/sbp/src/messages/ext_events.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/ext_events.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Messages reporting accurately-timestamped external events, //! e.g. camera shutter time. //! @@ -20,6 +21,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Reports timestamped external pin event /// /// Reports detection of an external event, the GPS time it occurred, diff --git a/rust/sbp/src/messages/file_io.rs b/rust/sbp/src/messages/file_io.rs index 0a40b73e9f..fb40c6e7ed 100644 --- a/rust/sbp/src/messages/file_io.rs +++ b/rust/sbp/src/messages/file_io.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/file_io.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Messages for using device's onboard flash filesystem //! functionality. This allows data to be stored persistently in the //! device's program flash with wear-levelling using a simple filesystem @@ -26,6 +27,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Read file from the file system (host => device) /// /// The file read message reads a certain length (up to 255 bytes) @@ -74,6 +76,7 @@ impl super::SBPMessage for MsgFileioReadReq { } } + /// File read from the file system (host <= device) /// /// The file read message reads a certain length (up to 255 bytes) @@ -113,6 +116,7 @@ impl super::SBPMessage for MsgFileioReadResp { } } + /// List files in a directory (host => device) /// /// The read directory message lists the files in a directory on the @@ -160,6 +164,7 @@ impl super::SBPMessage for MsgFileioReadDirReq { } } + /// Files listed in a directory (host <= device) /// /// The read directory message lists the files in a directory on the @@ -200,6 +205,7 @@ impl super::SBPMessage for MsgFileioReadDirResp { } } + /// Delete a file from the file system (host => device) /// /// The file remove message deletes a file from the file system. @@ -235,6 +241,7 @@ impl super::SBPMessage for MsgFileioRemove { } } + /// Write to file (host => device) /// /// The file write message writes a certain length (up to 255 bytes) @@ -283,6 +290,7 @@ impl super::SBPMessage for MsgFileioWriteReq { } } + /// File written to (host <= device) /// /// The file write message writes a certain length (up to 255 bytes) @@ -319,6 +327,7 @@ impl super::SBPMessage for MsgFileioWriteResp { } } + /// Request advice on the optimal configuration for FileIO. /// /// Requests advice on the optimal configuration for a FileIO @@ -354,6 +363,7 @@ impl super::SBPMessage for MsgFileioConfigReq { } } + /// Response with advice on the optimal configuration for FileIO. /// diff --git a/rust/sbp/src/messages/flash.rs b/rust/sbp/src/messages/flash.rs index 709543bf29..4156e3c345 100644 --- a/rust/sbp/src/messages/flash.rs +++ b/rust/sbp/src/messages/flash.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/flash.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Messages for reading/writing the device's onboard flash memory. Many //! of these messages target specific flash memory peripherals used in //! Swift Navigation devices: the STM32 flash and the M25Pxx FPGA @@ -23,6 +24,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Program flash addresses /// /// The flash program message programs a set of addresses of either @@ -69,6 +71,7 @@ impl super::SBPMessage for MsgFlashProgram { } } + /// Flash response message (host <= device). /// /// This message defines success or failure codes for a variety of @@ -104,6 +107,7 @@ impl super::SBPMessage for MsgFlashDone { } } + /// Read STM or M25 flash address request (host => device). /// /// The flash read message reads a set of addresses of either the @@ -148,6 +152,7 @@ impl super::SBPMessage for MsgFlashReadReq { } } + /// Read STM or M25 flash address response (host <= device). /// /// The flash read message reads a set of addresses of either the @@ -192,6 +197,7 @@ impl super::SBPMessage for MsgFlashReadResp { } } + /// Erase sector of device flash memory (host => device). /// /// The flash erase message from the host erases a sector of either @@ -231,6 +237,7 @@ impl super::SBPMessage for MsgFlashErase { } } + /// Lock sector of STM flash memory (host => device) /// /// The flash lock message locks a sector of the STM flash @@ -264,6 +271,7 @@ impl super::SBPMessage for MsgStmFlashLockSector { } } + /// Unlock sector of STM flash memory (host => device) /// /// The flash unlock message unlocks a sector of the STM flash @@ -297,6 +305,7 @@ impl super::SBPMessage for MsgStmFlashUnlockSector { } } + /// Read device's hardcoded unique ID request (host => device) /// @@ -328,6 +337,7 @@ impl super::SBPMessage for MsgStmUniqueIdReq { } } + /// Read device's hardcoded unique ID response (host <= device) /// @@ -364,6 +374,7 @@ impl super::SBPMessage for MsgStmUniqueIdResp { } } + /// Write M25 flash status register (host => device) /// /// The flash status message writes to the 8-bit M25 flash status diff --git a/rust/sbp/src/messages/gnss.rs b/rust/sbp/src/messages/gnss.rs index 3a5a9971ef..5a5afc422d 100644 --- a/rust/sbp/src/messages/gnss.rs +++ b/rust/sbp/src/messages/gnss.rs @@ -12,12 +12,14 @@ // Automatically generated from yaml/swiftnav/sbp/gnss.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Various structs shared between modules extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Represents all the relevant information about the signal /// /// Signal identifier containing constellation, band, and satellite identifier @@ -56,6 +58,7 @@ impl GnssSignal { } } + /// Space vehicle identifier /// /// A (Constellation ID, satellite ID) tuple that uniquely identifies @@ -94,6 +97,7 @@ impl SvId { } } + /// Deprecated /// /// Deprecated. @@ -136,6 +140,7 @@ impl GnssSignalDep { } } + /// Millisecond-accurate GPS time /// /// A wire-appropriate GPS time, defined as the number of @@ -175,6 +180,7 @@ impl GPSTimeDep { } } + /// Whole second accurate GPS time /// /// A GPS time, defined as the number of @@ -214,6 +220,7 @@ impl GPSTimeSec { } } + /// Nanosecond-accurate receiver clock time /// /// A wire-appropriate receiver clock time, defined as the time @@ -258,6 +265,7 @@ impl GPSTime { } } + /// GNSS carrier phase measurement. /// /// Carrier phase measurement in cycles represented as a 40-bit diff --git a/rust/sbp/src/messages/imu.rs b/rust/sbp/src/messages/imu.rs index 1215e038e7..aacc170bdf 100644 --- a/rust/sbp/src/messages/imu.rs +++ b/rust/sbp/src/messages/imu.rs @@ -12,12 +12,14 @@ // Automatically generated from yaml/swiftnav/sbp/imu.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Inertial Measurement Unit (IMU) messages. extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Raw IMU data /// /// Raw data from the Inertial Measurement Unit, containing accelerometer and @@ -75,6 +77,7 @@ impl super::SBPMessage for MsgImuRaw { } } + /// Auxiliary IMU data /// /// Auxiliary data specific to a particular IMU. The `imu_type` field will diff --git a/rust/sbp/src/messages/linux.rs b/rust/sbp/src/messages/linux.rs index d797d1abc8..22882df181 100644 --- a/rust/sbp/src/messages/linux.rs +++ b/rust/sbp/src/messages/linux.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/linux.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Linux state monitoring. //! @@ -19,6 +20,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// List CPU state on the system /// /// This message indicates the process state of the top 10 heaviest @@ -64,6 +66,7 @@ impl super::SBPMessage for MsgLinuxCpuState { } } + /// List CPU state on the system /// /// This message indicates the process state of the top 10 heaviest @@ -109,6 +112,7 @@ impl super::SBPMessage for MsgLinuxMemState { } } + /// CPU, Memory and Process Starts/Stops /// /// This presents a summary of CPU and memory utilization. @@ -156,6 +160,7 @@ impl super::SBPMessage for MsgLinuxSysState { } } + /// A list of processes with high socket counts /// /// Top 10 list of processes with high socket counts. @@ -207,6 +212,7 @@ impl super::SBPMessage for MsgLinuxProcessSocketCounts { } } + /// A list of processes with deep socket queues /// /// Top 10 list of sockets with deep queues. @@ -265,6 +271,7 @@ impl super::SBPMessage for MsgLinuxProcessSocketQueues { } } + /// Summary of socket usage across the system /// /// Summaries the socket usage across the system. @@ -310,6 +317,7 @@ impl super::SBPMessage for MsgLinuxSocketUsage { } } + /// Summary of processes with large amounts of open file descriptors /// /// Top 10 list of processes with a large number of open file descriptors. @@ -351,6 +359,7 @@ impl super::SBPMessage for MsgLinuxProcessFdCount { } } + /// Summary of open file descriptors on the system /// /// Summary of open file descriptors on the system. diff --git a/rust/sbp/src/messages/logging.rs b/rust/sbp/src/messages/logging.rs index b21969b440..873cb3e7f1 100644 --- a/rust/sbp/src/messages/logging.rs +++ b/rust/sbp/src/messages/logging.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/logging.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Logging and debugging messages from the device. //! @@ -19,6 +20,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Plaintext logging messages with levels /// /// This message contains a human-readable payload string from the @@ -56,6 +58,7 @@ impl super::SBPMessage for MsgLog { } } + /// Wrapper for FWD a separate stream of information over SBP /// /// This message provides the ability to forward messages over SBP. This may take the form @@ -100,6 +103,7 @@ impl super::SBPMessage for MsgFwd { } } + /// Deprecated /// /// Deprecated. diff --git a/rust/sbp/src/messages/mag.rs b/rust/sbp/src/messages/mag.rs index 23d7e266a9..042de3661d 100644 --- a/rust/sbp/src/messages/mag.rs +++ b/rust/sbp/src/messages/mag.rs @@ -12,12 +12,14 @@ // Automatically generated from yaml/swiftnav/sbp/mag.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Magnetometer (mag) messages. extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Raw magnetometer data /// /// Raw data from the magnetometer. diff --git a/rust/sbp/src/messages/mod.rs b/rust/sbp/src/messages/mod.rs index 5b46461445..df05c7ab1e 100644 --- a/rust/sbp/src/messages/mod.rs +++ b/rust/sbp/src/messages/mod.rs @@ -8,200 +8,200 @@ // EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. pub mod acquisition; -pub mod bootload; -pub mod ext_events; -pub mod file_io; -pub mod flash; -pub mod gnss; -pub mod imu; -pub mod linux; pub mod logging; -pub mod mag; -pub mod navigation; -pub mod ndb; -pub mod observation; -pub mod orientation; -pub mod piksi; +pub mod gnss; pub mod sbas; pub mod settings; -pub mod ssr; -pub mod system; +pub mod mag; pub mod tracking; +pub mod flash; pub mod user; +pub mod piksi; +pub mod bootload; +pub mod observation; +pub mod ssr; +pub mod navigation; +pub mod linux; +pub mod orientation; +pub mod system; +pub mod ndb; +pub mod imu; pub mod vehicle; +pub mod file_io; +pub mod ext_events; use self::acquisition::MsgAcqResult; -use self::acquisition::MsgAcqResultDepA; -use self::acquisition::MsgAcqResultDepB; use self::acquisition::MsgAcqResultDepC; +use self::acquisition::MsgAcqResultDepB; +use self::acquisition::MsgAcqResultDepA; use self::acquisition::MsgAcqSvProfile; use self::acquisition::MsgAcqSvProfileDep; -use self::bootload::MsgBootloaderHandshakeDepA; -use self::bootload::MsgBootloaderHandshakeReq; -use self::bootload::MsgBootloaderHandshakeResp; -use self::bootload::MsgBootloaderJumpToApp; -use self::bootload::MsgNapDeviceDnaReq; -use self::bootload::MsgNapDeviceDnaResp; -use self::ext_events::MsgExtEvent; -use self::file_io::MsgFileioConfigReq; -use self::file_io::MsgFileioConfigResp; -use self::file_io::MsgFileioReadDirReq; -use self::file_io::MsgFileioReadDirResp; -use self::file_io::MsgFileioReadReq; -use self::file_io::MsgFileioReadResp; -use self::file_io::MsgFileioRemove; -use self::file_io::MsgFileioWriteReq; -use self::file_io::MsgFileioWriteResp; -use self::flash::MsgFlashDone; -use self::flash::MsgFlashErase; +use self::logging::MsgLog; +use self::logging::MsgFwd; +use self::logging::MsgPrintDep; +use self::sbas::MsgSbasRaw; +use self::settings::MsgSettingsSave; +use self::settings::MsgSettingsWrite; +use self::settings::MsgSettingsWriteResp; +use self::settings::MsgSettingsReadReq; +use self::settings::MsgSettingsReadResp; +use self::settings::MsgSettingsReadByIndexReq; +use self::settings::MsgSettingsReadByIndexResp; +use self::settings::MsgSettingsReadByIndexDone; +use self::settings::MsgSettingsRegister; +use self::settings::MsgSettingsRegisterResp; +use self::mag::MsgMagRaw; +use self::tracking::MsgTrackingStateDetailedDepA; +use self::tracking::MsgTrackingStateDetailedDep; +use self::tracking::MsgTrackingState; +use self::tracking::MsgMeasurementState; +use self::tracking::MsgTrackingIq; +use self::tracking::MsgTrackingIqDepB; +use self::tracking::MsgTrackingIqDepA; +use self::tracking::MsgTrackingStateDepA; +use self::tracking::MsgTrackingStateDepB; use self::flash::MsgFlashProgram; +use self::flash::MsgFlashDone; use self::flash::MsgFlashReadReq; use self::flash::MsgFlashReadResp; -use self::flash::MsgM25FlashWriteStatus; +use self::flash::MsgFlashErase; use self::flash::MsgStmFlashLockSector; use self::flash::MsgStmFlashUnlockSector; use self::flash::MsgStmUniqueIdReq; use self::flash::MsgStmUniqueIdResp; -use self::imu::MsgImuAux; -use self::imu::MsgImuRaw; -use self::linux::MsgLinuxCpuState; -use self::linux::MsgLinuxMemState; -use self::linux::MsgLinuxProcessFdCount; -use self::linux::MsgLinuxProcessFdSummary; -use self::linux::MsgLinuxProcessSocketCounts; -use self::linux::MsgLinuxProcessSocketQueues; -use self::linux::MsgLinuxSocketUsage; -use self::linux::MsgLinuxSysState; -use self::logging::MsgFwd; -use self::logging::MsgLog; -use self::logging::MsgPrintDep; -use self::mag::MsgMagRaw; -use self::navigation::MsgAgeCorrections; -use self::navigation::MsgBaselineECEF; -use self::navigation::MsgBaselineECEFDepA; -use self::navigation::MsgBaselineHeadingDepA; -use self::navigation::MsgBaselineNED; -use self::navigation::MsgBaselineNEDDepA; -use self::navigation::MsgDops; -use self::navigation::MsgDopsDepA; -use self::navigation::MsgGPSTime; -use self::navigation::MsgGPSTimeDepA; -use self::navigation::MsgPosECEF; -use self::navigation::MsgPosECEFCov; -use self::navigation::MsgPosECEFDepA; -use self::navigation::MsgPosLLH; -use self::navigation::MsgPosLLHCov; -use self::navigation::MsgPosLLHDepA; -use self::navigation::MsgUtcTime; -use self::navigation::MsgVelBody; -use self::navigation::MsgVelECEF; -use self::navigation::MsgVelECEFCov; -use self::navigation::MsgVelECEFDepA; -use self::navigation::MsgVelNED; -use self::navigation::MsgVelNEDCov; -use self::navigation::MsgVelNEDDepA; -use self::ndb::MsgNdbEvent; -use self::observation::MsgAlmanacGPS; -use self::observation::MsgAlmanacGPSDep; -use self::observation::MsgAlmanacGlo; -use self::observation::MsgAlmanacGloDep; -use self::observation::MsgBasePosECEF; +use self::flash::MsgM25FlashWriteStatus; +use self::user::MsgUserData; +use self::piksi::MsgAlmanac; +use self::piksi::MsgSetTime; +use self::piksi::MsgReset; +use self::piksi::MsgResetDep; +use self::piksi::MsgCwResults; +use self::piksi::MsgCwStart; +use self::piksi::MsgResetFilters; +use self::piksi::MsgInitBaseDep; +use self::piksi::MsgThreadState; +use self::piksi::MsgUartState; +use self::piksi::MsgUartStateDepa; +use self::piksi::MsgIarState; +use self::piksi::MsgMaskSatellite; +use self::piksi::MsgMaskSatelliteDep; +use self::piksi::MsgDeviceMonitor; +use self::piksi::MsgCommandReq; +use self::piksi::MsgCommandResp; +use self::piksi::MsgCommandOutput; +use self::piksi::MsgNetworkStateReq; +use self::piksi::MsgNetworkStateResp; +use self::piksi::MsgNetworkBandwidthUsage; +use self::piksi::MsgCellModemStatus; +use self::piksi::MsgSpecanDep; +use self::piksi::MsgSpecan; +use self::piksi::MsgFrontEndGain; +use self::bootload::MsgBootloaderHandshakeReq; +use self::bootload::MsgBootloaderHandshakeResp; +use self::bootload::MsgBootloaderJumpToApp; +use self::bootload::MsgNapDeviceDnaReq; +use self::bootload::MsgNapDeviceDnaResp; +use self::bootload::MsgBootloaderHandshakeDepA; +use self::observation::MsgObs; use self::observation::MsgBasePosLLH; -use self::observation::MsgEphemerisBds; -use self::observation::MsgEphemerisDepA; -use self::observation::MsgEphemerisDepB; -use self::observation::MsgEphemerisDepC; -use self::observation::MsgEphemerisDepD; -use self::observation::MsgEphemerisGPS; +use self::observation::MsgBasePosECEF; use self::observation::MsgEphemerisGPSDepE; use self::observation::MsgEphemerisGPSDepF; -use self::observation::MsgEphemerisGal; +use self::observation::MsgEphemerisGPS; +use self::observation::MsgEphemerisQzss; +use self::observation::MsgEphemerisBds; use self::observation::MsgEphemerisGalDepA; -use self::observation::MsgEphemerisGlo; +use self::observation::MsgEphemerisGal; +use self::observation::MsgEphemerisSbasDepA; use self::observation::MsgEphemerisGloDepA; +use self::observation::MsgEphemerisSbasDepB; +use self::observation::MsgEphemerisSbas; use self::observation::MsgEphemerisGloDepB; use self::observation::MsgEphemerisGloDepC; use self::observation::MsgEphemerisGloDepD; -use self::observation::MsgEphemerisQzss; -use self::observation::MsgEphemerisSbas; -use self::observation::MsgEphemerisSbasDepA; -use self::observation::MsgEphemerisSbasDepB; -use self::observation::MsgGloBiases; -use self::observation::MsgGnssCapb; -use self::observation::MsgGroupDelay; -use self::observation::MsgGroupDelayDepA; -use self::observation::MsgGroupDelayDepB; -use self::observation::MsgIono; -use self::observation::MsgObs; +use self::observation::MsgEphemerisGlo; +use self::observation::MsgEphemerisDepD; +use self::observation::MsgEphemerisDepA; +use self::observation::MsgEphemerisDepB; +use self::observation::MsgEphemerisDepC; use self::observation::MsgObsDepA; use self::observation::MsgObsDepB; use self::observation::MsgObsDepC; -use self::observation::MsgOsr; -use self::observation::MsgSvAzEl; +use self::observation::MsgIono; use self::observation::MsgSvConfigurationGPSDep; -use self::orientation::MsgAngularRate; -use self::orientation::MsgBaselineHeading; -use self::orientation::MsgOrientEuler; -use self::orientation::MsgOrientQuat; -use self::piksi::MsgAlmanac; -use self::piksi::MsgCellModemStatus; -use self::piksi::MsgCommandOutput; -use self::piksi::MsgCommandReq; -use self::piksi::MsgCommandResp; -use self::piksi::MsgCwResults; -use self::piksi::MsgCwStart; -use self::piksi::MsgDeviceMonitor; -use self::piksi::MsgFrontEndGain; -use self::piksi::MsgIarState; -use self::piksi::MsgInitBaseDep; -use self::piksi::MsgMaskSatellite; -use self::piksi::MsgMaskSatelliteDep; -use self::piksi::MsgNetworkBandwidthUsage; -use self::piksi::MsgNetworkStateReq; -use self::piksi::MsgNetworkStateResp; -use self::piksi::MsgReset; -use self::piksi::MsgResetDep; -use self::piksi::MsgResetFilters; -use self::piksi::MsgSetTime; -use self::piksi::MsgSpecan; -use self::piksi::MsgSpecanDep; -use self::piksi::MsgThreadState; -use self::piksi::MsgUartState; -use self::piksi::MsgUartStateDepa; -use self::sbas::MsgSbasRaw; -use self::settings::MsgSettingsReadByIndexDone; -use self::settings::MsgSettingsReadByIndexReq; -use self::settings::MsgSettingsReadByIndexResp; -use self::settings::MsgSettingsReadReq; -use self::settings::MsgSettingsReadResp; -use self::settings::MsgSettingsRegister; -use self::settings::MsgSettingsRegisterResp; -use self::settings::MsgSettingsSave; -use self::settings::MsgSettingsWrite; -use self::settings::MsgSettingsWriteResp; -use self::ssr::MsgSsrCodeBiases; -use self::ssr::MsgSsrGridDefinition; -use self::ssr::MsgSsrGriddedCorrection; +use self::observation::MsgGnssCapb; +use self::observation::MsgGroupDelayDepA; +use self::observation::MsgGroupDelayDepB; +use self::observation::MsgGroupDelay; +use self::observation::MsgAlmanacGPSDep; +use self::observation::MsgAlmanacGPS; +use self::observation::MsgAlmanacGloDep; +use self::observation::MsgAlmanacGlo; +use self::observation::MsgGloBiases; +use self::observation::MsgSvAzEl; +use self::observation::MsgOsr; use self::ssr::MsgSsrOrbitClock; use self::ssr::MsgSsrOrbitClockDepA; +use self::ssr::MsgSsrCodeBiases; use self::ssr::MsgSsrPhaseBiases; use self::ssr::MsgSsrStecCorrection; -use self::system::MsgCsacTelemetry; -use self::system::MsgCsacTelemetryLabels; +use self::ssr::MsgSsrGriddedCorrection; +use self::ssr::MsgSsrGridDefinition; +use self::navigation::MsgGPSTime; +use self::navigation::MsgUtcTime; +use self::navigation::MsgDops; +use self::navigation::MsgPosECEF; +use self::navigation::MsgPosECEFCov; +use self::navigation::MsgPosLLH; +use self::navigation::MsgPosLLHCov; +use self::navigation::MsgBaselineECEF; +use self::navigation::MsgBaselineNED; +use self::navigation::MsgVelECEF; +use self::navigation::MsgVelECEFCov; +use self::navigation::MsgVelNED; +use self::navigation::MsgVelNEDCov; +use self::navigation::MsgVelBody; +use self::navigation::MsgAgeCorrections; +use self::navigation::MsgGPSTimeDepA; +use self::navigation::MsgDopsDepA; +use self::navigation::MsgPosECEFDepA; +use self::navigation::MsgPosLLHDepA; +use self::navigation::MsgBaselineECEFDepA; +use self::navigation::MsgBaselineNEDDepA; +use self::navigation::MsgVelECEFDepA; +use self::navigation::MsgVelNEDDepA; +use self::navigation::MsgBaselineHeadingDepA; +use self::linux::MsgLinuxCpuState; +use self::linux::MsgLinuxMemState; +use self::linux::MsgLinuxSysState; +use self::linux::MsgLinuxProcessSocketCounts; +use self::linux::MsgLinuxProcessSocketQueues; +use self::linux::MsgLinuxSocketUsage; +use self::linux::MsgLinuxProcessFdCount; +use self::linux::MsgLinuxProcessFdSummary; +use self::orientation::MsgBaselineHeading; +use self::orientation::MsgOrientQuat; +use self::orientation::MsgOrientEuler; +use self::orientation::MsgAngularRate; +use self::system::MsgStartup; use self::system::MsgDgnssStatus; use self::system::MsgHeartbeat; use self::system::MsgInsStatus; -use self::system::MsgStartup; -use self::tracking::MsgMeasurementState; -use self::tracking::MsgTrackingIq; -use self::tracking::MsgTrackingIqDepA; -use self::tracking::MsgTrackingIqDepB; -use self::tracking::MsgTrackingState; -use self::tracking::MsgTrackingStateDepA; -use self::tracking::MsgTrackingStateDepB; -use self::tracking::MsgTrackingStateDetailedDep; -use self::tracking::MsgTrackingStateDetailedDepA; -use self::user::MsgUserData; +use self::system::MsgCsacTelemetry; +use self::system::MsgCsacTelemetryLabels; +use self::ndb::MsgNdbEvent; +use self::imu::MsgImuRaw; +use self::imu::MsgImuAux; use self::vehicle::MsgOdometry; +use self::file_io::MsgFileioReadReq; +use self::file_io::MsgFileioReadResp; +use self::file_io::MsgFileioReadDirReq; +use self::file_io::MsgFileioReadDirResp; +use self::file_io::MsgFileioRemove; +use self::file_io::MsgFileioWriteReq; +use self::file_io::MsgFileioWriteResp; +use self::file_io::MsgFileioConfigReq; +use self::file_io::MsgFileioConfigResp; +use self::ext_events::MsgExtEvent; trait SBPMessage { const MSG_ID: u16; @@ -217,50 +217,81 @@ pub enum SBP { sender_id: u16, payload: Vec, }, - MsgUartState(MsgUartState), - MsgUartStateDepa(MsgUartStateDepa), + MsgAcqResult(MsgAcqResult), + MsgAcqResultDepC(MsgAcqResultDepC), + MsgAcqResultDepB(MsgAcqResultDepB), + MsgAcqResultDepA(MsgAcqResultDepA), + MsgAcqSvProfile(MsgAcqSvProfile), + MsgAcqSvProfileDep(MsgAcqSvProfileDep), + MsgLog(MsgLog), + MsgFwd(MsgFwd), + MsgPrintDep(MsgPrintDep), + MsgSbasRaw(MsgSbasRaw), + MsgSettingsSave(MsgSettingsSave), + MsgSettingsWrite(MsgSettingsWrite), + MsgSettingsWriteResp(MsgSettingsWriteResp), + MsgSettingsReadReq(MsgSettingsReadReq), + MsgSettingsReadResp(MsgSettingsReadResp), + MsgSettingsReadByIndexReq(MsgSettingsReadByIndexReq), + MsgSettingsReadByIndexResp(MsgSettingsReadByIndexResp), + MsgSettingsReadByIndexDone(MsgSettingsReadByIndexDone), + MsgSettingsRegister(MsgSettingsRegister), + MsgSettingsRegisterResp(MsgSettingsRegisterResp), + MsgMagRaw(MsgMagRaw), + MsgTrackingStateDetailedDepA(MsgTrackingStateDetailedDepA), + MsgTrackingStateDetailedDep(MsgTrackingStateDetailedDep), + MsgTrackingState(MsgTrackingState), + MsgMeasurementState(MsgMeasurementState), + MsgTrackingIq(MsgTrackingIq), + MsgTrackingIqDepB(MsgTrackingIqDepB), + MsgTrackingIqDepA(MsgTrackingIqDepA), + MsgTrackingStateDepA(MsgTrackingStateDepA), + MsgTrackingStateDepB(MsgTrackingStateDepB), + MsgFlashProgram(MsgFlashProgram), + MsgFlashDone(MsgFlashDone), + MsgFlashReadReq(MsgFlashReadReq), + MsgFlashReadResp(MsgFlashReadResp), + MsgFlashErase(MsgFlashErase), + MsgStmFlashLockSector(MsgStmFlashLockSector), + MsgStmFlashUnlockSector(MsgStmFlashUnlockSector), + MsgStmUniqueIdReq(MsgStmUniqueIdReq), + MsgStmUniqueIdResp(MsgStmUniqueIdResp), + MsgM25FlashWriteStatus(MsgM25FlashWriteStatus), + MsgUserData(MsgUserData), + MsgAlmanac(MsgAlmanac), + MsgSetTime(MsgSetTime), + MsgReset(MsgReset), MsgResetDep(MsgResetDep), MsgCwResults(MsgCwResults), MsgCwStart(MsgCwStart), MsgResetFilters(MsgResetFilters), MsgInitBaseDep(MsgInitBaseDep), MsgThreadState(MsgThreadState), - MsgCommandOutput(MsgCommandOutput), - MsgNetworkStateReq(MsgNetworkStateReq), - MsgNetworkStateResp(MsgNetworkStateResp), - MsgSpecan(MsgSpecan), - MsgFrontEndGain(MsgFrontEndGain), - MsgLinuxCpuState(MsgLinuxCpuState), - MsgNetworkBandwidthUsage(MsgNetworkBandwidthUsage), - MsgCellModemStatus(MsgCellModemStatus), - MsgSpecanDep(MsgSpecanDep), - MsgLinuxProcessSocketCounts(MsgLinuxProcessSocketCounts), - MsgLinuxProcessSocketQueues(MsgLinuxProcessSocketQueues), - MsgLinuxSocketUsage(MsgLinuxSocketUsage), - MsgLinuxMemState(MsgLinuxMemState), - MsgLinuxSysState(MsgLinuxSysState), - MsgLinuxProcessFdCount(MsgLinuxProcessFdCount), - MsgLinuxProcessFdSummary(MsgLinuxProcessFdSummary), - MsgStartup(MsgStartup), - MsgDgnssStatus(MsgDgnssStatus), - MsgHeartbeat(MsgHeartbeat), + MsgUartState(MsgUartState), + MsgUartStateDepa(MsgUartStateDepa), MsgIarState(MsgIarState), MsgMaskSatellite(MsgMaskSatellite), MsgMaskSatelliteDep(MsgMaskSatelliteDep), MsgDeviceMonitor(MsgDeviceMonitor), MsgCommandReq(MsgCommandReq), MsgCommandResp(MsgCommandResp), - MsgNdbEvent(MsgNdbEvent), - MsgAlmanac(MsgAlmanac), - MsgSetTime(MsgSetTime), - MsgReset(MsgReset), + MsgCommandOutput(MsgCommandOutput), + MsgNetworkStateReq(MsgNetworkStateReq), + MsgNetworkStateResp(MsgNetworkStateResp), + MsgNetworkBandwidthUsage(MsgNetworkBandwidthUsage), + MsgCellModemStatus(MsgCellModemStatus), + MsgSpecanDep(MsgSpecanDep), + MsgSpecan(MsgSpecan), + MsgFrontEndGain(MsgFrontEndGain), + MsgBootloaderHandshakeReq(MsgBootloaderHandshakeReq), + MsgBootloaderHandshakeResp(MsgBootloaderHandshakeResp), + MsgBootloaderJumpToApp(MsgBootloaderJumpToApp), + MsgNapDeviceDnaReq(MsgNapDeviceDnaReq), + MsgNapDeviceDnaResp(MsgNapDeviceDnaResp), + MsgBootloaderHandshakeDepA(MsgBootloaderHandshakeDepA), MsgObs(MsgObs), MsgBasePosLLH(MsgBasePosLLH), MsgBasePosECEF(MsgBasePosECEF), - MsgInsStatus(MsgInsStatus), - MsgCsacTelemetry(MsgCsacTelemetry), - MsgCsacTelemetryLabels(MsgCsacTelemetryLabels), - MsgExtEvent(MsgExtEvent), MsgEphemerisGPSDepE(MsgEphemerisGPSDepE), MsgEphemerisGPSDepF(MsgEphemerisGPSDepF), MsgEphemerisGPS(MsgEphemerisGPS), @@ -275,47 +306,27 @@ pub enum SBP { MsgEphemerisGloDepB(MsgEphemerisGloDepB), MsgEphemerisGloDepC(MsgEphemerisGloDepC), MsgEphemerisGloDepD(MsgEphemerisGloDepD), - MsgAcqResultDepB(MsgAcqResultDepB), - MsgAcqResultDepA(MsgAcqResultDepA), - MsgAcqSvProfile(MsgAcqSvProfile), - MsgAcqSvProfileDep(MsgAcqSvProfileDep), - MsgSbasRaw(MsgSbasRaw), - MsgSettingsSave(MsgSettingsSave), - MsgSettingsWrite(MsgSettingsWrite), - MsgSettingsWriteResp(MsgSettingsWriteResp), - MsgSettingsReadReq(MsgSettingsReadReq), - MsgSettingsReadResp(MsgSettingsReadResp), - MsgSettingsReadByIndexReq(MsgSettingsReadByIndexReq), - MsgSettingsReadByIndexResp(MsgSettingsReadByIndexResp), - MsgSettingsReadByIndexDone(MsgSettingsReadByIndexDone), - MsgSettingsRegister(MsgSettingsRegister), - MsgSettingsRegisterResp(MsgSettingsRegisterResp), - MsgBootloaderHandshakeReq(MsgBootloaderHandshakeReq), - MsgBootloaderHandshakeResp(MsgBootloaderHandshakeResp), - MsgBootloaderJumpToApp(MsgBootloaderJumpToApp), - MsgNapDeviceDnaReq(MsgNapDeviceDnaReq), - MsgNapDeviceDnaResp(MsgNapDeviceDnaResp), - MsgBootloaderHandshakeDepA(MsgBootloaderHandshakeDepA), - MsgFileioReadReq(MsgFileioReadReq), - MsgFileioReadResp(MsgFileioReadResp), - MsgFileioReadDirReq(MsgFileioReadDirReq), - MsgFileioReadDirResp(MsgFileioReadDirResp), - MsgFileioRemove(MsgFileioRemove), - MsgFileioWriteReq(MsgFileioWriteReq), - MsgFileioWriteResp(MsgFileioWriteResp), - MsgFileioConfigReq(MsgFileioConfigReq), - MsgFileioConfigResp(MsgFileioConfigResp), - MsgTrackingIq(MsgTrackingIq), - MsgTrackingIqDepB(MsgTrackingIqDepB), - MsgTrackingIqDepA(MsgTrackingIqDepA), - MsgTrackingStateDepA(MsgTrackingStateDepA), - MsgTrackingStateDepB(MsgTrackingStateDepB), - MsgLog(MsgLog), - MsgFwd(MsgFwd), - MsgPrintDep(MsgPrintDep), - MsgImuRaw(MsgImuRaw), - MsgImuAux(MsgImuAux), - MsgMagRaw(MsgMagRaw), + MsgEphemerisGlo(MsgEphemerisGlo), + MsgEphemerisDepD(MsgEphemerisDepD), + MsgEphemerisDepA(MsgEphemerisDepA), + MsgEphemerisDepB(MsgEphemerisDepB), + MsgEphemerisDepC(MsgEphemerisDepC), + MsgObsDepA(MsgObsDepA), + MsgObsDepB(MsgObsDepB), + MsgObsDepC(MsgObsDepC), + MsgIono(MsgIono), + MsgSvConfigurationGPSDep(MsgSvConfigurationGPSDep), + MsgGnssCapb(MsgGnssCapb), + MsgGroupDelayDepA(MsgGroupDelayDepA), + MsgGroupDelayDepB(MsgGroupDelayDepB), + MsgGroupDelay(MsgGroupDelay), + MsgAlmanacGPSDep(MsgAlmanacGPSDep), + MsgAlmanacGPS(MsgAlmanacGPS), + MsgAlmanacGloDep(MsgAlmanacGloDep), + MsgAlmanacGlo(MsgAlmanacGlo), + MsgGloBiases(MsgGloBiases), + MsgSvAzEl(MsgSvAzEl), + MsgOsr(MsgOsr), MsgSsrOrbitClock(MsgSsrOrbitClock), MsgSsrOrbitClockDepA(MsgSsrOrbitClockDepA), MsgSsrCodeBiases(MsgSsrCodeBiases), @@ -323,21 +334,9 @@ pub enum SBP { MsgSsrStecCorrection(MsgSsrStecCorrection), MsgSsrGriddedCorrection(MsgSsrGriddedCorrection), MsgSsrGridDefinition(MsgSsrGridDefinition), - MsgUserData(MsgUserData), - MsgAcqResult(MsgAcqResult), - MsgAcqResultDepC(MsgAcqResultDepC), - MsgVelECEFDepA(MsgVelECEFDepA), - MsgVelNEDDepA(MsgVelNEDDepA), - MsgBaselineHeadingDepA(MsgBaselineHeadingDepA), - MsgOdometry(MsgOdometry), - MsgBaselineHeading(MsgBaselineHeading), - MsgOrientQuat(MsgOrientQuat), - MsgOrientEuler(MsgOrientEuler), - MsgAngularRate(MsgAngularRate), - MsgTrackingStateDetailedDepA(MsgTrackingStateDetailedDepA), - MsgTrackingStateDetailedDep(MsgTrackingStateDetailedDep), - MsgTrackingState(MsgTrackingState), - MsgMeasurementState(MsgMeasurementState), + MsgGPSTime(MsgGPSTime), + MsgUtcTime(MsgUtcTime), + MsgDops(MsgDops), MsgPosECEF(MsgPosECEF), MsgPosECEFCov(MsgPosECEFCov), MsgPosLLH(MsgPosLLH), @@ -356,409 +355,375 @@ pub enum SBP { MsgPosLLHDepA(MsgPosLLHDepA), MsgBaselineECEFDepA(MsgBaselineECEFDepA), MsgBaselineNEDDepA(MsgBaselineNEDDepA), - MsgGnssCapb(MsgGnssCapb), - MsgGroupDelayDepA(MsgGroupDelayDepA), - MsgGroupDelayDepB(MsgGroupDelayDepB), - MsgGroupDelay(MsgGroupDelay), - MsgAlmanacGPSDep(MsgAlmanacGPSDep), - MsgAlmanacGPS(MsgAlmanacGPS), - MsgAlmanacGloDep(MsgAlmanacGloDep), - MsgAlmanacGlo(MsgAlmanacGlo), - MsgGloBiases(MsgGloBiases), - MsgSvAzEl(MsgSvAzEl), - MsgOsr(MsgOsr), - MsgFlashProgram(MsgFlashProgram), - MsgFlashDone(MsgFlashDone), - MsgFlashReadReq(MsgFlashReadReq), - MsgFlashReadResp(MsgFlashReadResp), - MsgFlashErase(MsgFlashErase), - MsgStmFlashLockSector(MsgStmFlashLockSector), - MsgStmFlashUnlockSector(MsgStmFlashUnlockSector), - MsgStmUniqueIdReq(MsgStmUniqueIdReq), - MsgStmUniqueIdResp(MsgStmUniqueIdResp), - MsgM25FlashWriteStatus(MsgM25FlashWriteStatus), - MsgGPSTime(MsgGPSTime), - MsgUtcTime(MsgUtcTime), - MsgDops(MsgDops), - MsgEphemerisGlo(MsgEphemerisGlo), - MsgEphemerisDepD(MsgEphemerisDepD), - MsgEphemerisDepA(MsgEphemerisDepA), - MsgEphemerisDepB(MsgEphemerisDepB), - MsgEphemerisDepC(MsgEphemerisDepC), - MsgObsDepA(MsgObsDepA), - MsgObsDepB(MsgObsDepB), - MsgObsDepC(MsgObsDepC), - MsgIono(MsgIono), - MsgSvConfigurationGPSDep(MsgSvConfigurationGPSDep), + MsgVelECEFDepA(MsgVelECEFDepA), + MsgVelNEDDepA(MsgVelNEDDepA), + MsgBaselineHeadingDepA(MsgBaselineHeadingDepA), + MsgLinuxCpuState(MsgLinuxCpuState), + MsgLinuxMemState(MsgLinuxMemState), + MsgLinuxSysState(MsgLinuxSysState), + MsgLinuxProcessSocketCounts(MsgLinuxProcessSocketCounts), + MsgLinuxProcessSocketQueues(MsgLinuxProcessSocketQueues), + MsgLinuxSocketUsage(MsgLinuxSocketUsage), + MsgLinuxProcessFdCount(MsgLinuxProcessFdCount), + MsgLinuxProcessFdSummary(MsgLinuxProcessFdSummary), + MsgBaselineHeading(MsgBaselineHeading), + MsgOrientQuat(MsgOrientQuat), + MsgOrientEuler(MsgOrientEuler), + MsgAngularRate(MsgAngularRate), + MsgStartup(MsgStartup), + MsgDgnssStatus(MsgDgnssStatus), + MsgHeartbeat(MsgHeartbeat), + MsgInsStatus(MsgInsStatus), + MsgCsacTelemetry(MsgCsacTelemetry), + MsgCsacTelemetryLabels(MsgCsacTelemetryLabels), + MsgNdbEvent(MsgNdbEvent), + MsgImuRaw(MsgImuRaw), + MsgImuAux(MsgImuAux), + MsgOdometry(MsgOdometry), + MsgFileioReadReq(MsgFileioReadReq), + MsgFileioReadResp(MsgFileioReadResp), + MsgFileioReadDirReq(MsgFileioReadDirReq), + MsgFileioReadDirResp(MsgFileioReadDirResp), + MsgFileioRemove(MsgFileioRemove), + MsgFileioWriteReq(MsgFileioWriteReq), + MsgFileioWriteResp(MsgFileioWriteResp), + MsgFileioConfigReq(MsgFileioConfigReq), + MsgFileioConfigResp(MsgFileioConfigResp), + MsgExtEvent(MsgExtEvent), } impl SBP { pub fn parse(msg_id: u16, sender_id: u16, payload: &mut &[u8]) -> Result { let x: Result = match msg_id { - 29 => { - let mut msg = MsgUartState::parse(payload)?; - msg.set_sender_id(sender_id); - Ok(SBP::MsgUartState(msg)) - } - 24 => { - let mut msg = MsgUartStateDepa::parse(payload)?; - msg.set_sender_id(sender_id); - Ok(SBP::MsgUartStateDepa(msg)) - } - 178 => { - let mut msg = MsgResetDep::parse(payload)?; - msg.set_sender_id(sender_id); - Ok(SBP::MsgResetDep(msg)) - } - 192 => { - let mut msg = MsgCwResults::parse(payload)?; - msg.set_sender_id(sender_id); - Ok(SBP::MsgCwResults(msg)) - } - 193 => { - let mut msg = MsgCwStart::parse(payload)?; - msg.set_sender_id(sender_id); - Ok(SBP::MsgCwStart(msg)) - } - 34 => { - let mut msg = MsgResetFilters::parse(payload)?; - msg.set_sender_id(sender_id); - Ok(SBP::MsgResetFilters(msg)) - } - 35 => { - let mut msg = MsgInitBaseDep::parse(payload)?; - msg.set_sender_id(sender_id); - Ok(SBP::MsgInitBaseDep(msg)) - } - 23 => { - let mut msg = MsgThreadState::parse(payload)?; + 47 => { + let mut msg = MsgAcqResult::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgThreadState(msg)) + Ok(SBP::MsgAcqResult(msg)) } - 188 => { - let mut msg = MsgCommandOutput::parse(payload)?; + 31 => { + let mut msg = MsgAcqResultDepC::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgCommandOutput(msg)) + Ok(SBP::MsgAcqResultDepC(msg)) } - 186 => { - let mut msg = MsgNetworkStateReq::parse(payload)?; + 20 => { + let mut msg = MsgAcqResultDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgNetworkStateReq(msg)) + Ok(SBP::MsgAcqResultDepB(msg)) } - 187 => { - let mut msg = MsgNetworkStateResp::parse(payload)?; + 21 => { + let mut msg = MsgAcqResultDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgNetworkStateResp(msg)) + Ok(SBP::MsgAcqResultDepA(msg)) } - 81 => { - let mut msg = MsgSpecan::parse(payload)?; + 46 => { + let mut msg = MsgAcqSvProfile::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSpecan(msg)) + Ok(SBP::MsgAcqSvProfile(msg)) } - 191 => { - let mut msg = MsgFrontEndGain::parse(payload)?; + 30 => { + let mut msg = MsgAcqSvProfileDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFrontEndGain(msg)) + Ok(SBP::MsgAcqSvProfileDep(msg)) } - 32512 => { - let mut msg = MsgLinuxCpuState::parse(payload)?; + 1025 => { + let mut msg = MsgLog::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxCpuState(msg)) + Ok(SBP::MsgLog(msg)) } - 189 => { - let mut msg = MsgNetworkBandwidthUsage::parse(payload)?; + 1026 => { + let mut msg = MsgFwd::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgNetworkBandwidthUsage(msg)) + Ok(SBP::MsgFwd(msg)) } - 190 => { - let mut msg = MsgCellModemStatus::parse(payload)?; + 16 => { + let mut msg = MsgPrintDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgCellModemStatus(msg)) + Ok(SBP::MsgPrintDep(msg)) } - 80 => { - let mut msg = MsgSpecanDep::parse(payload)?; + 30583 => { + let mut msg = MsgSbasRaw::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSpecanDep(msg)) + Ok(SBP::MsgSbasRaw(msg)) } - 32515 => { - let mut msg = MsgLinuxProcessSocketCounts::parse(payload)?; + 161 => { + let mut msg = MsgSettingsSave::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxProcessSocketCounts(msg)) + Ok(SBP::MsgSettingsSave(msg)) } - 32516 => { - let mut msg = MsgLinuxProcessSocketQueues::parse(payload)?; + 160 => { + let mut msg = MsgSettingsWrite::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxProcessSocketQueues(msg)) + Ok(SBP::MsgSettingsWrite(msg)) } - 32517 => { - let mut msg = MsgLinuxSocketUsage::parse(payload)?; + 175 => { + let mut msg = MsgSettingsWriteResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxSocketUsage(msg)) + Ok(SBP::MsgSettingsWriteResp(msg)) } - 32513 => { - let mut msg = MsgLinuxMemState::parse(payload)?; + 164 => { + let mut msg = MsgSettingsReadReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxMemState(msg)) + Ok(SBP::MsgSettingsReadReq(msg)) } - 32514 => { - let mut msg = MsgLinuxSysState::parse(payload)?; + 165 => { + let mut msg = MsgSettingsReadResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxSysState(msg)) + Ok(SBP::MsgSettingsReadResp(msg)) } - 32518 => { - let mut msg = MsgLinuxProcessFdCount::parse(payload)?; + 162 => { + let mut msg = MsgSettingsReadByIndexReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxProcessFdCount(msg)) + Ok(SBP::MsgSettingsReadByIndexReq(msg)) } - 32519 => { - let mut msg = MsgLinuxProcessFdSummary::parse(payload)?; + 167 => { + let mut msg = MsgSettingsReadByIndexResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLinuxProcessFdSummary(msg)) + Ok(SBP::MsgSettingsReadByIndexResp(msg)) } - 65280 => { - let mut msg = MsgStartup::parse(payload)?; + 166 => { + let mut msg = MsgSettingsReadByIndexDone::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgStartup(msg)) + Ok(SBP::MsgSettingsReadByIndexDone(msg)) } - 65282 => { - let mut msg = MsgDgnssStatus::parse(payload)?; + 174 => { + let mut msg = MsgSettingsRegister::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgDgnssStatus(msg)) + Ok(SBP::MsgSettingsRegister(msg)) } - 65535 => { - let mut msg = MsgHeartbeat::parse(payload)?; + 431 => { + let mut msg = MsgSettingsRegisterResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgHeartbeat(msg)) + Ok(SBP::MsgSettingsRegisterResp(msg)) } - 25 => { - let mut msg = MsgIarState::parse(payload)?; + 2306 => { + let mut msg = MsgMagRaw::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgIarState(msg)) + Ok(SBP::MsgMagRaw(msg)) } - 43 => { - let mut msg = MsgMaskSatellite::parse(payload)?; + 33 => { + let mut msg = MsgTrackingStateDetailedDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgMaskSatellite(msg)) + Ok(SBP::MsgTrackingStateDetailedDepA(msg)) } - 27 => { - let mut msg = MsgMaskSatelliteDep::parse(payload)?; + 17 => { + let mut msg = MsgTrackingStateDetailedDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgMaskSatelliteDep(msg)) + Ok(SBP::MsgTrackingStateDetailedDep(msg)) } - 181 => { - let mut msg = MsgDeviceMonitor::parse(payload)?; + 65 => { + let mut msg = MsgTrackingState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgDeviceMonitor(msg)) + Ok(SBP::MsgTrackingState(msg)) } - 184 => { - let mut msg = MsgCommandReq::parse(payload)?; + 97 => { + let mut msg = MsgMeasurementState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgCommandReq(msg)) + Ok(SBP::MsgMeasurementState(msg)) } - 185 => { - let mut msg = MsgCommandResp::parse(payload)?; + 45 => { + let mut msg = MsgTrackingIq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgCommandResp(msg)) + Ok(SBP::MsgTrackingIq(msg)) } - 1024 => { - let mut msg = MsgNdbEvent::parse(payload)?; + 44 => { + let mut msg = MsgTrackingIqDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgNdbEvent(msg)) + Ok(SBP::MsgTrackingIqDepB(msg)) } - 105 => { - let mut msg = MsgAlmanac::parse(payload)?; + 28 => { + let mut msg = MsgTrackingIqDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAlmanac(msg)) + Ok(SBP::MsgTrackingIqDepA(msg)) } - 104 => { - let mut msg = MsgSetTime::parse(payload)?; + 22 => { + let mut msg = MsgTrackingStateDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSetTime(msg)) + Ok(SBP::MsgTrackingStateDepA(msg)) } - 182 => { - let mut msg = MsgReset::parse(payload)?; + 19 => { + let mut msg = MsgTrackingStateDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgReset(msg)) + Ok(SBP::MsgTrackingStateDepB(msg)) } - 74 => { - let mut msg = MsgObs::parse(payload)?; + 230 => { + let mut msg = MsgFlashProgram::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgObs(msg)) + Ok(SBP::MsgFlashProgram(msg)) } - 68 => { - let mut msg = MsgBasePosLLH::parse(payload)?; + 224 => { + let mut msg = MsgFlashDone::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgBasePosLLH(msg)) + Ok(SBP::MsgFlashDone(msg)) } - 72 => { - let mut msg = MsgBasePosECEF::parse(payload)?; + 231 => { + let mut msg = MsgFlashReadReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgBasePosECEF(msg)) + Ok(SBP::MsgFlashReadReq(msg)) } - 65283 => { - let mut msg = MsgInsStatus::parse(payload)?; + 225 => { + let mut msg = MsgFlashReadResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgInsStatus(msg)) + Ok(SBP::MsgFlashReadResp(msg)) } - 65284 => { - let mut msg = MsgCsacTelemetry::parse(payload)?; + 226 => { + let mut msg = MsgFlashErase::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgCsacTelemetry(msg)) + Ok(SBP::MsgFlashErase(msg)) } - 65285 => { - let mut msg = MsgCsacTelemetryLabels::parse(payload)?; + 227 => { + let mut msg = MsgStmFlashLockSector::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgCsacTelemetryLabels(msg)) + Ok(SBP::MsgStmFlashLockSector(msg)) } - 257 => { - let mut msg = MsgExtEvent::parse(payload)?; + 228 => { + let mut msg = MsgStmFlashUnlockSector::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgExtEvent(msg)) + Ok(SBP::MsgStmFlashUnlockSector(msg)) } - 129 => { - let mut msg = MsgEphemerisGPSDepE::parse(payload)?; + 232 => { + let mut msg = MsgStmUniqueIdReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGPSDepE(msg)) + Ok(SBP::MsgStmUniqueIdReq(msg)) } - 134 => { - let mut msg = MsgEphemerisGPSDepF::parse(payload)?; + 229 => { + let mut msg = MsgStmUniqueIdResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGPSDepF(msg)) + Ok(SBP::MsgStmUniqueIdResp(msg)) } - 138 => { - let mut msg = MsgEphemerisGPS::parse(payload)?; + 243 => { + let mut msg = MsgM25FlashWriteStatus::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGPS(msg)) + Ok(SBP::MsgM25FlashWriteStatus(msg)) } - 142 => { - let mut msg = MsgEphemerisQzss::parse(payload)?; + 2048 => { + let mut msg = MsgUserData::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisQzss(msg)) + Ok(SBP::MsgUserData(msg)) } - 137 => { - let mut msg = MsgEphemerisBds::parse(payload)?; + 105 => { + let mut msg = MsgAlmanac::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisBds(msg)) + Ok(SBP::MsgAlmanac(msg)) } - 149 => { - let mut msg = MsgEphemerisGalDepA::parse(payload)?; + 104 => { + let mut msg = MsgSetTime::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGalDepA(msg)) + Ok(SBP::MsgSetTime(msg)) } - 141 => { - let mut msg = MsgEphemerisGal::parse(payload)?; + 182 => { + let mut msg = MsgReset::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGal(msg)) + Ok(SBP::MsgReset(msg)) } - 130 => { - let mut msg = MsgEphemerisSbasDepA::parse(payload)?; + 178 => { + let mut msg = MsgResetDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisSbasDepA(msg)) + Ok(SBP::MsgResetDep(msg)) } - 131 => { - let mut msg = MsgEphemerisGloDepA::parse(payload)?; + 192 => { + let mut msg = MsgCwResults::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGloDepA(msg)) + Ok(SBP::MsgCwResults(msg)) } - 132 => { - let mut msg = MsgEphemerisSbasDepB::parse(payload)?; + 193 => { + let mut msg = MsgCwStart::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisSbasDepB(msg)) + Ok(SBP::MsgCwStart(msg)) } - 140 => { - let mut msg = MsgEphemerisSbas::parse(payload)?; + 34 => { + let mut msg = MsgResetFilters::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisSbas(msg)) + Ok(SBP::MsgResetFilters(msg)) } - 133 => { - let mut msg = MsgEphemerisGloDepB::parse(payload)?; + 35 => { + let mut msg = MsgInitBaseDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGloDepB(msg)) + Ok(SBP::MsgInitBaseDep(msg)) } - 135 => { - let mut msg = MsgEphemerisGloDepC::parse(payload)?; + 23 => { + let mut msg = MsgThreadState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGloDepC(msg)) + Ok(SBP::MsgThreadState(msg)) } - 136 => { - let mut msg = MsgEphemerisGloDepD::parse(payload)?; + 29 => { + let mut msg = MsgUartState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGloDepD(msg)) + Ok(SBP::MsgUartState(msg)) } - 20 => { - let mut msg = MsgAcqResultDepB::parse(payload)?; + 24 => { + let mut msg = MsgUartStateDepa::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAcqResultDepB(msg)) + Ok(SBP::MsgUartStateDepa(msg)) } - 21 => { - let mut msg = MsgAcqResultDepA::parse(payload)?; + 25 => { + let mut msg = MsgIarState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAcqResultDepA(msg)) + Ok(SBP::MsgIarState(msg)) } - 46 => { - let mut msg = MsgAcqSvProfile::parse(payload)?; + 43 => { + let mut msg = MsgMaskSatellite::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAcqSvProfile(msg)) + Ok(SBP::MsgMaskSatellite(msg)) } - 30 => { - let mut msg = MsgAcqSvProfileDep::parse(payload)?; + 27 => { + let mut msg = MsgMaskSatelliteDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAcqSvProfileDep(msg)) + Ok(SBP::MsgMaskSatelliteDep(msg)) } - 30583 => { - let mut msg = MsgSbasRaw::parse(payload)?; + 181 => { + let mut msg = MsgDeviceMonitor::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSbasRaw(msg)) + Ok(SBP::MsgDeviceMonitor(msg)) } - 161 => { - let mut msg = MsgSettingsSave::parse(payload)?; + 184 => { + let mut msg = MsgCommandReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsSave(msg)) + Ok(SBP::MsgCommandReq(msg)) } - 160 => { - let mut msg = MsgSettingsWrite::parse(payload)?; + 185 => { + let mut msg = MsgCommandResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsWrite(msg)) + Ok(SBP::MsgCommandResp(msg)) } - 175 => { - let mut msg = MsgSettingsWriteResp::parse(payload)?; + 188 => { + let mut msg = MsgCommandOutput::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsWriteResp(msg)) + Ok(SBP::MsgCommandOutput(msg)) } - 164 => { - let mut msg = MsgSettingsReadReq::parse(payload)?; + 186 => { + let mut msg = MsgNetworkStateReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsReadReq(msg)) + Ok(SBP::MsgNetworkStateReq(msg)) } - 165 => { - let mut msg = MsgSettingsReadResp::parse(payload)?; + 187 => { + let mut msg = MsgNetworkStateResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsReadResp(msg)) + Ok(SBP::MsgNetworkStateResp(msg)) } - 162 => { - let mut msg = MsgSettingsReadByIndexReq::parse(payload)?; + 189 => { + let mut msg = MsgNetworkBandwidthUsage::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsReadByIndexReq(msg)) + Ok(SBP::MsgNetworkBandwidthUsage(msg)) } - 167 => { - let mut msg = MsgSettingsReadByIndexResp::parse(payload)?; + 190 => { + let mut msg = MsgCellModemStatus::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsReadByIndexResp(msg)) + Ok(SBP::MsgCellModemStatus(msg)) } - 166 => { - let mut msg = MsgSettingsReadByIndexDone::parse(payload)?; + 80 => { + let mut msg = MsgSpecanDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsReadByIndexDone(msg)) + Ok(SBP::MsgSpecanDep(msg)) } - 174 => { - let mut msg = MsgSettingsRegister::parse(payload)?; + 81 => { + let mut msg = MsgSpecan::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsRegister(msg)) + Ok(SBP::MsgSpecan(msg)) } - 431 => { - let mut msg = MsgSettingsRegisterResp::parse(payload)?; + 191 => { + let mut msg = MsgFrontEndGain::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSettingsRegisterResp(msg)) + Ok(SBP::MsgFrontEndGain(msg)) } 179 => { let mut msg = MsgBootloaderHandshakeReq::parse(payload)?; @@ -790,215 +755,245 @@ impl SBP { msg.set_sender_id(sender_id); Ok(SBP::MsgBootloaderHandshakeDepA(msg)) } - 168 => { - let mut msg = MsgFileioReadReq::parse(payload)?; + 74 => { + let mut msg = MsgObs::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioReadReq(msg)) + Ok(SBP::MsgObs(msg)) } - 163 => { - let mut msg = MsgFileioReadResp::parse(payload)?; + 68 => { + let mut msg = MsgBasePosLLH::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioReadResp(msg)) + Ok(SBP::MsgBasePosLLH(msg)) } - 169 => { - let mut msg = MsgFileioReadDirReq::parse(payload)?; + 72 => { + let mut msg = MsgBasePosECEF::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioReadDirReq(msg)) + Ok(SBP::MsgBasePosECEF(msg)) } - 170 => { - let mut msg = MsgFileioReadDirResp::parse(payload)?; + 129 => { + let mut msg = MsgEphemerisGPSDepE::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioReadDirResp(msg)) + Ok(SBP::MsgEphemerisGPSDepE(msg)) } - 172 => { - let mut msg = MsgFileioRemove::parse(payload)?; + 134 => { + let mut msg = MsgEphemerisGPSDepF::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioRemove(msg)) + Ok(SBP::MsgEphemerisGPSDepF(msg)) } - 173 => { - let mut msg = MsgFileioWriteReq::parse(payload)?; + 138 => { + let mut msg = MsgEphemerisGPS::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioWriteReq(msg)) + Ok(SBP::MsgEphemerisGPS(msg)) } - 171 => { - let mut msg = MsgFileioWriteResp::parse(payload)?; + 142 => { + let mut msg = MsgEphemerisQzss::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioWriteResp(msg)) + Ok(SBP::MsgEphemerisQzss(msg)) } - 4097 => { - let mut msg = MsgFileioConfigReq::parse(payload)?; + 137 => { + let mut msg = MsgEphemerisBds::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioConfigReq(msg)) + Ok(SBP::MsgEphemerisBds(msg)) } - 4098 => { - let mut msg = MsgFileioConfigResp::parse(payload)?; + 149 => { + let mut msg = MsgEphemerisGalDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFileioConfigResp(msg)) + Ok(SBP::MsgEphemerisGalDepA(msg)) } - 45 => { - let mut msg = MsgTrackingIq::parse(payload)?; + 141 => { + let mut msg = MsgEphemerisGal::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingIq(msg)) + Ok(SBP::MsgEphemerisGal(msg)) } - 44 => { - let mut msg = MsgTrackingIqDepB::parse(payload)?; + 130 => { + let mut msg = MsgEphemerisSbasDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingIqDepB(msg)) + Ok(SBP::MsgEphemerisSbasDepA(msg)) } - 28 => { - let mut msg = MsgTrackingIqDepA::parse(payload)?; + 131 => { + let mut msg = MsgEphemerisGloDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingIqDepA(msg)) + Ok(SBP::MsgEphemerisGloDepA(msg)) } - 22 => { - let mut msg = MsgTrackingStateDepA::parse(payload)?; + 132 => { + let mut msg = MsgEphemerisSbasDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingStateDepA(msg)) + Ok(SBP::MsgEphemerisSbasDepB(msg)) } - 19 => { - let mut msg = MsgTrackingStateDepB::parse(payload)?; + 140 => { + let mut msg = MsgEphemerisSbas::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingStateDepB(msg)) + Ok(SBP::MsgEphemerisSbas(msg)) } - 1025 => { - let mut msg = MsgLog::parse(payload)?; + 133 => { + let mut msg = MsgEphemerisGloDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgLog(msg)) + Ok(SBP::MsgEphemerisGloDepB(msg)) } - 1026 => { - let mut msg = MsgFwd::parse(payload)?; + 135 => { + let mut msg = MsgEphemerisGloDepC::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFwd(msg)) + Ok(SBP::MsgEphemerisGloDepC(msg)) } - 16 => { - let mut msg = MsgPrintDep::parse(payload)?; + 136 => { + let mut msg = MsgEphemerisGloDepD::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgPrintDep(msg)) + Ok(SBP::MsgEphemerisGloDepD(msg)) } - 2304 => { - let mut msg = MsgImuRaw::parse(payload)?; + 139 => { + let mut msg = MsgEphemerisGlo::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgImuRaw(msg)) + Ok(SBP::MsgEphemerisGlo(msg)) } - 2305 => { - let mut msg = MsgImuAux::parse(payload)?; + 128 => { + let mut msg = MsgEphemerisDepD::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgImuAux(msg)) + Ok(SBP::MsgEphemerisDepD(msg)) } - 2306 => { - let mut msg = MsgMagRaw::parse(payload)?; + 26 => { + let mut msg = MsgEphemerisDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgMagRaw(msg)) + Ok(SBP::MsgEphemerisDepA(msg)) } - 1501 => { - let mut msg = MsgSsrOrbitClock::parse(payload)?; + 70 => { + let mut msg = MsgEphemerisDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSsrOrbitClock(msg)) + Ok(SBP::MsgEphemerisDepB(msg)) } - 1500 => { - let mut msg = MsgSsrOrbitClockDepA::parse(payload)?; + 71 => { + let mut msg = MsgEphemerisDepC::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSsrOrbitClockDepA(msg)) + Ok(SBP::MsgEphemerisDepC(msg)) } - 1505 => { - let mut msg = MsgSsrCodeBiases::parse(payload)?; + 69 => { + let mut msg = MsgObsDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSsrCodeBiases(msg)) + Ok(SBP::MsgObsDepA(msg)) } - 1510 => { - let mut msg = MsgSsrPhaseBiases::parse(payload)?; + 67 => { + let mut msg = MsgObsDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSsrPhaseBiases(msg)) + Ok(SBP::MsgObsDepB(msg)) } - 1515 => { - let mut msg = MsgSsrStecCorrection::parse(payload)?; + 73 => { + let mut msg = MsgObsDepC::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSsrStecCorrection(msg)) + Ok(SBP::MsgObsDepC(msg)) } - 1520 => { - let mut msg = MsgSsrGriddedCorrection::parse(payload)?; + 144 => { + let mut msg = MsgIono::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSsrGriddedCorrection(msg)) + Ok(SBP::MsgIono(msg)) } - 1525 => { - let mut msg = MsgSsrGridDefinition::parse(payload)?; + 145 => { + let mut msg = MsgSvConfigurationGPSDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSsrGridDefinition(msg)) + Ok(SBP::MsgSvConfigurationGPSDep(msg)) } - 2048 => { - let mut msg = MsgUserData::parse(payload)?; + 150 => { + let mut msg = MsgGnssCapb::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgUserData(msg)) + Ok(SBP::MsgGnssCapb(msg)) } - 47 => { - let mut msg = MsgAcqResult::parse(payload)?; + 146 => { + let mut msg = MsgGroupDelayDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAcqResult(msg)) + Ok(SBP::MsgGroupDelayDepA(msg)) } - 31 => { - let mut msg = MsgAcqResultDepC::parse(payload)?; + 147 => { + let mut msg = MsgGroupDelayDepB::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAcqResultDepC(msg)) + Ok(SBP::MsgGroupDelayDepB(msg)) } - 516 => { - let mut msg = MsgVelECEFDepA::parse(payload)?; + 148 => { + let mut msg = MsgGroupDelay::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgVelECEFDepA(msg)) + Ok(SBP::MsgGroupDelay(msg)) } - 517 => { - let mut msg = MsgVelNEDDepA::parse(payload)?; + 112 => { + let mut msg = MsgAlmanacGPSDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgVelNEDDepA(msg)) + Ok(SBP::MsgAlmanacGPSDep(msg)) } - 519 => { - let mut msg = MsgBaselineHeadingDepA::parse(payload)?; + 114 => { + let mut msg = MsgAlmanacGPS::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgBaselineHeadingDepA(msg)) + Ok(SBP::MsgAlmanacGPS(msg)) } - 2307 => { - let mut msg = MsgOdometry::parse(payload)?; + 113 => { + let mut msg = MsgAlmanacGloDep::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgOdometry(msg)) + Ok(SBP::MsgAlmanacGloDep(msg)) } - 527 => { - let mut msg = MsgBaselineHeading::parse(payload)?; + 115 => { + let mut msg = MsgAlmanacGlo::parse(payload)?; + msg.set_sender_id(sender_id); + Ok(SBP::MsgAlmanacGlo(msg)) + } + 117 => { + let mut msg = MsgGloBiases::parse(payload)?; + msg.set_sender_id(sender_id); + Ok(SBP::MsgGloBiases(msg)) + } + 151 => { + let mut msg = MsgSvAzEl::parse(payload)?; + msg.set_sender_id(sender_id); + Ok(SBP::MsgSvAzEl(msg)) + } + 1600 => { + let mut msg = MsgOsr::parse(payload)?; + msg.set_sender_id(sender_id); + Ok(SBP::MsgOsr(msg)) + } + 1501 => { + let mut msg = MsgSsrOrbitClock::parse(payload)?; + msg.set_sender_id(sender_id); + Ok(SBP::MsgSsrOrbitClock(msg)) + } + 1500 => { + let mut msg = MsgSsrOrbitClockDepA::parse(payload)?; + msg.set_sender_id(sender_id); + Ok(SBP::MsgSsrOrbitClockDepA(msg)) + } + 1505 => { + let mut msg = MsgSsrCodeBiases::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgBaselineHeading(msg)) + Ok(SBP::MsgSsrCodeBiases(msg)) } - 544 => { - let mut msg = MsgOrientQuat::parse(payload)?; + 1510 => { + let mut msg = MsgSsrPhaseBiases::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgOrientQuat(msg)) + Ok(SBP::MsgSsrPhaseBiases(msg)) } - 545 => { - let mut msg = MsgOrientEuler::parse(payload)?; + 1515 => { + let mut msg = MsgSsrStecCorrection::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgOrientEuler(msg)) + Ok(SBP::MsgSsrStecCorrection(msg)) } - 546 => { - let mut msg = MsgAngularRate::parse(payload)?; + 1520 => { + let mut msg = MsgSsrGriddedCorrection::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAngularRate(msg)) + Ok(SBP::MsgSsrGriddedCorrection(msg)) } - 33 => { - let mut msg = MsgTrackingStateDetailedDepA::parse(payload)?; + 1525 => { + let mut msg = MsgSsrGridDefinition::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingStateDetailedDepA(msg)) + Ok(SBP::MsgSsrGridDefinition(msg)) } - 17 => { - let mut msg = MsgTrackingStateDetailedDep::parse(payload)?; + 258 => { + let mut msg = MsgGPSTime::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingStateDetailedDep(msg)) + Ok(SBP::MsgGPSTime(msg)) } - 65 => { - let mut msg = MsgTrackingState::parse(payload)?; + 259 => { + let mut msg = MsgUtcTime::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgTrackingState(msg)) + Ok(SBP::MsgUtcTime(msg)) } - 97 => { - let mut msg = MsgMeasurementState::parse(payload)?; + 520 => { + let mut msg = MsgDops::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgMeasurementState(msg)) + Ok(SBP::MsgDops(msg)) } 521 => { let mut msg = MsgPosECEF::parse(payload)?; @@ -1090,175 +1085,180 @@ impl SBP { msg.set_sender_id(sender_id); Ok(SBP::MsgBaselineNEDDepA(msg)) } - 150 => { - let mut msg = MsgGnssCapb::parse(payload)?; + 516 => { + let mut msg = MsgVelECEFDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgGnssCapb(msg)) + Ok(SBP::MsgVelECEFDepA(msg)) } - 146 => { - let mut msg = MsgGroupDelayDepA::parse(payload)?; + 517 => { + let mut msg = MsgVelNEDDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgGroupDelayDepA(msg)) + Ok(SBP::MsgVelNEDDepA(msg)) } - 147 => { - let mut msg = MsgGroupDelayDepB::parse(payload)?; + 519 => { + let mut msg = MsgBaselineHeadingDepA::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgGroupDelayDepB(msg)) + Ok(SBP::MsgBaselineHeadingDepA(msg)) } - 148 => { - let mut msg = MsgGroupDelay::parse(payload)?; + 32512 => { + let mut msg = MsgLinuxCpuState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgGroupDelay(msg)) + Ok(SBP::MsgLinuxCpuState(msg)) } - 112 => { - let mut msg = MsgAlmanacGPSDep::parse(payload)?; + 32513 => { + let mut msg = MsgLinuxMemState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAlmanacGPSDep(msg)) + Ok(SBP::MsgLinuxMemState(msg)) } - 114 => { - let mut msg = MsgAlmanacGPS::parse(payload)?; + 32514 => { + let mut msg = MsgLinuxSysState::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAlmanacGPS(msg)) + Ok(SBP::MsgLinuxSysState(msg)) } - 113 => { - let mut msg = MsgAlmanacGloDep::parse(payload)?; + 32515 => { + let mut msg = MsgLinuxProcessSocketCounts::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAlmanacGloDep(msg)) + Ok(SBP::MsgLinuxProcessSocketCounts(msg)) } - 115 => { - let mut msg = MsgAlmanacGlo::parse(payload)?; + 32516 => { + let mut msg = MsgLinuxProcessSocketQueues::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgAlmanacGlo(msg)) + Ok(SBP::MsgLinuxProcessSocketQueues(msg)) } - 117 => { - let mut msg = MsgGloBiases::parse(payload)?; + 32517 => { + let mut msg = MsgLinuxSocketUsage::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgGloBiases(msg)) + Ok(SBP::MsgLinuxSocketUsage(msg)) } - 151 => { - let mut msg = MsgSvAzEl::parse(payload)?; + 32518 => { + let mut msg = MsgLinuxProcessFdCount::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSvAzEl(msg)) + Ok(SBP::MsgLinuxProcessFdCount(msg)) } - 1600 => { - let mut msg = MsgOsr::parse(payload)?; + 32519 => { + let mut msg = MsgLinuxProcessFdSummary::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgOsr(msg)) + Ok(SBP::MsgLinuxProcessFdSummary(msg)) } - 230 => { - let mut msg = MsgFlashProgram::parse(payload)?; + 527 => { + let mut msg = MsgBaselineHeading::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFlashProgram(msg)) + Ok(SBP::MsgBaselineHeading(msg)) } - 224 => { - let mut msg = MsgFlashDone::parse(payload)?; + 544 => { + let mut msg = MsgOrientQuat::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFlashDone(msg)) + Ok(SBP::MsgOrientQuat(msg)) } - 231 => { - let mut msg = MsgFlashReadReq::parse(payload)?; + 545 => { + let mut msg = MsgOrientEuler::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFlashReadReq(msg)) + Ok(SBP::MsgOrientEuler(msg)) } - 225 => { - let mut msg = MsgFlashReadResp::parse(payload)?; + 546 => { + let mut msg = MsgAngularRate::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFlashReadResp(msg)) + Ok(SBP::MsgAngularRate(msg)) } - 226 => { - let mut msg = MsgFlashErase::parse(payload)?; + 65280 => { + let mut msg = MsgStartup::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgFlashErase(msg)) + Ok(SBP::MsgStartup(msg)) } - 227 => { - let mut msg = MsgStmFlashLockSector::parse(payload)?; + 65282 => { + let mut msg = MsgDgnssStatus::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgStmFlashLockSector(msg)) + Ok(SBP::MsgDgnssStatus(msg)) } - 228 => { - let mut msg = MsgStmFlashUnlockSector::parse(payload)?; + 65535 => { + let mut msg = MsgHeartbeat::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgStmFlashUnlockSector(msg)) + Ok(SBP::MsgHeartbeat(msg)) } - 232 => { - let mut msg = MsgStmUniqueIdReq::parse(payload)?; + 65283 => { + let mut msg = MsgInsStatus::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgStmUniqueIdReq(msg)) + Ok(SBP::MsgInsStatus(msg)) } - 229 => { - let mut msg = MsgStmUniqueIdResp::parse(payload)?; + 65284 => { + let mut msg = MsgCsacTelemetry::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgStmUniqueIdResp(msg)) + Ok(SBP::MsgCsacTelemetry(msg)) } - 243 => { - let mut msg = MsgM25FlashWriteStatus::parse(payload)?; + 65285 => { + let mut msg = MsgCsacTelemetryLabels::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgM25FlashWriteStatus(msg)) + Ok(SBP::MsgCsacTelemetryLabels(msg)) } - 258 => { - let mut msg = MsgGPSTime::parse(payload)?; + 1024 => { + let mut msg = MsgNdbEvent::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgGPSTime(msg)) + Ok(SBP::MsgNdbEvent(msg)) } - 259 => { - let mut msg = MsgUtcTime::parse(payload)?; + 2304 => { + let mut msg = MsgImuRaw::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgUtcTime(msg)) + Ok(SBP::MsgImuRaw(msg)) } - 520 => { - let mut msg = MsgDops::parse(payload)?; + 2305 => { + let mut msg = MsgImuAux::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgDops(msg)) + Ok(SBP::MsgImuAux(msg)) } - 139 => { - let mut msg = MsgEphemerisGlo::parse(payload)?; + 2307 => { + let mut msg = MsgOdometry::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisGlo(msg)) + Ok(SBP::MsgOdometry(msg)) } - 128 => { - let mut msg = MsgEphemerisDepD::parse(payload)?; + 168 => { + let mut msg = MsgFileioReadReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisDepD(msg)) + Ok(SBP::MsgFileioReadReq(msg)) } - 26 => { - let mut msg = MsgEphemerisDepA::parse(payload)?; + 163 => { + let mut msg = MsgFileioReadResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisDepA(msg)) + Ok(SBP::MsgFileioReadResp(msg)) } - 70 => { - let mut msg = MsgEphemerisDepB::parse(payload)?; + 169 => { + let mut msg = MsgFileioReadDirReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisDepB(msg)) + Ok(SBP::MsgFileioReadDirReq(msg)) } - 71 => { - let mut msg = MsgEphemerisDepC::parse(payload)?; + 170 => { + let mut msg = MsgFileioReadDirResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgEphemerisDepC(msg)) + Ok(SBP::MsgFileioReadDirResp(msg)) } - 69 => { - let mut msg = MsgObsDepA::parse(payload)?; + 172 => { + let mut msg = MsgFileioRemove::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgObsDepA(msg)) + Ok(SBP::MsgFileioRemove(msg)) } - 67 => { - let mut msg = MsgObsDepB::parse(payload)?; + 173 => { + let mut msg = MsgFileioWriteReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgObsDepB(msg)) + Ok(SBP::MsgFileioWriteReq(msg)) } - 73 => { - let mut msg = MsgObsDepC::parse(payload)?; + 171 => { + let mut msg = MsgFileioWriteResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgObsDepC(msg)) + Ok(SBP::MsgFileioWriteResp(msg)) } - 144 => { - let mut msg = MsgIono::parse(payload)?; + 4097 => { + let mut msg = MsgFileioConfigReq::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgIono(msg)) + Ok(SBP::MsgFileioConfigReq(msg)) } - 145 => { - let mut msg = MsgSvConfigurationGPSDep::parse(payload)?; + 4098 => { + let mut msg = MsgFileioConfigResp::parse(payload)?; msg.set_sender_id(sender_id); - Ok(SBP::MsgSvConfigurationGPSDep(msg)) + Ok(SBP::MsgFileioConfigResp(msg)) + } + 257 => { + let mut msg = MsgExtEvent::parse(payload)?; + msg.set_sender_id(sender_id); + Ok(SBP::MsgExtEvent(msg)) } _ => Ok(SBP::Unknown { msg_id: msg_id, diff --git a/rust/sbp/src/messages/navigation.rs b/rust/sbp/src/messages/navigation.rs index 6f5f60fc09..4f346a03c1 100644 --- a/rust/sbp/src/messages/navigation.rs +++ b/rust/sbp/src/messages/navigation.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/navigation.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Geodetic navigation messages reporting GPS time, position, velocity, //! and baseline position solutions. For position solutions, these //! messages define several different position solutions: single-point @@ -36,6 +37,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// GPS Time /// /// This message reports the GPS time, representing the time since @@ -90,6 +92,7 @@ impl super::SBPMessage for MsgGPSTime { } } + /// UTC Time /// /// This message reports the Universal Coordinated Time (UTC). Note the flags @@ -147,6 +150,7 @@ impl super::SBPMessage for MsgUtcTime { } } + /// Dilution of Precision /// /// This dilution of precision (DOP) message describes the effect of @@ -200,6 +204,7 @@ impl super::SBPMessage for MsgDops { } } + /// Single-point position in ECEF /// /// The position solution message reports absolute Earth Centered @@ -257,6 +262,7 @@ impl super::SBPMessage for MsgPosECEF { } } + /// Single-point position in ECEF /// /// The position solution message reports absolute Earth Centered @@ -330,6 +336,7 @@ impl super::SBPMessage for MsgPosECEFCov { } } + /// Geodetic Position /// /// This position solution message reports the absolute geodetic @@ -390,6 +397,7 @@ impl super::SBPMessage for MsgPosLLH { } } + /// Geodetic Position /// /// This position solution message reports the absolute geodetic @@ -462,6 +470,7 @@ impl super::SBPMessage for MsgPosLLHCov { } } + /// Baseline Position in ECEF /// /// This message reports the baseline solution in Earth Centered @@ -516,6 +525,7 @@ impl super::SBPMessage for MsgBaselineECEF { } } + /// Baseline in NED /// /// This message reports the baseline solution in North East Down @@ -574,6 +584,7 @@ impl super::SBPMessage for MsgBaselineNED { } } + /// Velocity in ECEF /// /// This message reports the velocity in Earth Centered Earth Fixed @@ -626,6 +637,7 @@ impl super::SBPMessage for MsgVelECEF { } } + /// Velocity in ECEF /// /// This message reports the velocity in Earth Centered Earth Fixed @@ -693,6 +705,7 @@ impl super::SBPMessage for MsgVelECEFCov { } } + /// Velocity in NED /// /// This message reports the velocity in local North East Down (NED) @@ -749,6 +762,7 @@ impl super::SBPMessage for MsgVelNED { } } + /// Velocity in NED /// /// This message reports the velocity in local North East Down (NED) @@ -819,6 +833,7 @@ impl super::SBPMessage for MsgVelNEDCov { } } + /// Velocity in User Frame /// /// This message reports the velocity in the Vehicle Body Frame. By convention, @@ -891,6 +906,7 @@ impl super::SBPMessage for MsgVelBody { } } + /// Age of corrections /// /// This message reports the Age of the corrections used for the current @@ -927,6 +943,7 @@ impl super::SBPMessage for MsgAgeCorrections { } } + /// GPS Time (v1.0) /// /// This message reports the GPS time, representing the time since @@ -981,6 +998,7 @@ impl super::SBPMessage for MsgGPSTimeDepA { } } + /// Dilution of Precision /// /// This dilution of precision (DOP) message describes the effect of @@ -1030,6 +1048,7 @@ impl super::SBPMessage for MsgDopsDepA { } } + /// Single-point position in ECEF /// /// The position solution message reports absolute Earth Centered @@ -1087,6 +1106,7 @@ impl super::SBPMessage for MsgPosECEFDepA { } } + /// Geodetic Position /// /// This position solution message reports the absolute geodetic @@ -1147,6 +1167,7 @@ impl super::SBPMessage for MsgPosLLHDepA { } } + /// Baseline Position in ECEF /// /// This message reports the baseline solution in Earth Centered @@ -1201,6 +1222,7 @@ impl super::SBPMessage for MsgBaselineECEFDepA { } } + /// Baseline in NED /// /// This message reports the baseline solution in North East Down @@ -1259,6 +1281,7 @@ impl super::SBPMessage for MsgBaselineNEDDepA { } } + /// Velocity in ECEF /// /// This message reports the velocity in Earth Centered Earth Fixed @@ -1311,6 +1334,7 @@ impl super::SBPMessage for MsgVelECEFDepA { } } + /// Velocity in NED /// /// This message reports the velocity in local North East Down (NED) @@ -1367,6 +1391,7 @@ impl super::SBPMessage for MsgVelNEDDepA { } } + /// Heading relative to True North /// /// This message reports the baseline heading pointing from the base station diff --git a/rust/sbp/src/messages/ndb.rs b/rust/sbp/src/messages/ndb.rs index 936b045c48..071553433b 100644 --- a/rust/sbp/src/messages/ndb.rs +++ b/rust/sbp/src/messages/ndb.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/ndb.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Messages for logging NDB events. //! @@ -20,6 +21,7 @@ extern crate byteorder; use self::byteorder::{LittleEndian, ReadBytesExt}; use super::gnss::*; + /// Navigation DataBase Event /// /// This message is sent out when an object is stored into NDB. If needed diff --git a/rust/sbp/src/messages/observation.rs b/rust/sbp/src/messages/observation.rs index 54be91f833..ec86d669ab 100644 --- a/rust/sbp/src/messages/observation.rs +++ b/rust/sbp/src/messages/observation.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/observation.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Satellite observation messages from the device. extern crate byteorder; @@ -19,6 +20,7 @@ extern crate byteorder; use self::byteorder::{LittleEndian, ReadBytesExt}; use super::gnss::*; + /// Header for observation message. /// /// Header of a GNSS observation message. @@ -57,6 +59,7 @@ impl ObservationHeader { } } + /// GNSS doppler measurement. /// /// Doppler measurement in Hz represented as a 24-bit @@ -97,6 +100,7 @@ impl Doppler { } } + /// GNSS observations for a particular satellite signal. /// /// Pseudorange and carrier phase observation for a satellite being tracked. @@ -162,6 +166,7 @@ impl PackedObsContent { } } + /// Network correction for a particular satellite signal. /// /// Pseudorange and carrier phase network corrections for a satellite signal. @@ -222,6 +227,7 @@ impl PackedOsrContent { } } + /// GPS satellite observations /// /// The GPS observations message reports all the raw pseudorange and @@ -263,6 +269,7 @@ impl super::SBPMessage for MsgObs { } } + /// Base station position /// /// The base station position message is the position reported by @@ -305,6 +312,7 @@ impl super::SBPMessage for MsgBasePosLLH { } } + /// Base station position in ECEF /// /// The base station position message is the position reported by @@ -348,6 +356,7 @@ impl super::SBPMessage for MsgBasePosECEF { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct EphemerisCommonContent { @@ -397,6 +406,7 @@ impl EphemerisCommonContent { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct EphemerisCommonContentDepB { @@ -446,6 +456,7 @@ impl EphemerisCommonContentDepB { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct EphemerisCommonContentDepA { @@ -495,6 +506,7 @@ impl EphemerisCommonContentDepA { } } + /// Satellite broadcast ephemeris for GPS /// /// The ephemeris message returns a set of satellite orbit @@ -601,6 +613,7 @@ impl super::SBPMessage for MsgEphemerisGPSDepE { } } + /// Deprecated /// /// This observation message has been deprecated in favor of @@ -704,6 +717,7 @@ impl super::SBPMessage for MsgEphemerisGPSDepF { } } + /// Satellite broadcast ephemeris for GPS /// /// The ephemeris message returns a set of satellite orbit @@ -810,6 +824,7 @@ impl super::SBPMessage for MsgEphemerisGPS { } } + /// Satellite broadcast ephemeris for QZSS /// /// The ephemeris message returns a set of satellite orbit @@ -914,6 +929,7 @@ impl super::SBPMessage for MsgEphemerisQzss { } } + /// Satellite broadcast ephemeris for BDS /// /// The ephemeris message returns a set of satellite orbit @@ -1022,6 +1038,7 @@ impl super::SBPMessage for MsgEphemerisBds { } } + /// Deprecated /// /// This observation message has been deprecated in favor of @@ -1128,6 +1145,7 @@ impl super::SBPMessage for MsgEphemerisGalDepA { } } + /// Satellite broadcast ephemeris for Galileo /// /// The ephemeris message returns a set of satellite orbit @@ -1239,6 +1257,7 @@ impl super::SBPMessage for MsgEphemerisGal { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct MsgEphemerisSbasDepA { @@ -1282,6 +1301,7 @@ impl super::SBPMessage for MsgEphemerisSbasDepA { } } + /// Satellite broadcast ephemeris for GLO /// /// The ephemeris message returns a set of satellite orbit @@ -1333,6 +1353,7 @@ impl super::SBPMessage for MsgEphemerisGloDepA { } } + /// Deprecated /// /// This observation message has been deprecated in favor of @@ -1381,6 +1402,7 @@ impl super::SBPMessage for MsgEphemerisSbasDepB { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct MsgEphemerisSbas { @@ -1424,6 +1446,7 @@ impl super::SBPMessage for MsgEphemerisSbas { } } + /// Satellite broadcast ephemeris for GLO /// /// The ephemeris message returns a set of satellite orbit @@ -1475,6 +1498,7 @@ impl super::SBPMessage for MsgEphemerisGloDepB { } } + /// Satellite broadcast ephemeris for GLO /// /// The ephemeris message returns a set of satellite orbit @@ -1532,6 +1556,7 @@ impl super::SBPMessage for MsgEphemerisGloDepC { } } + /// Deprecated /// /// This observation message has been deprecated in favor of @@ -1589,6 +1614,7 @@ impl super::SBPMessage for MsgEphemerisGloDepD { } } + /// Satellite broadcast ephemeris for GLO /// /// The ephemeris message returns a set of satellite orbit @@ -1649,6 +1675,7 @@ impl super::SBPMessage for MsgEphemerisGlo { } } + /// Satellite broadcast ephemeris /// /// The ephemeris message returns a set of satellite orbit @@ -1773,6 +1800,7 @@ impl super::SBPMessage for MsgEphemerisDepD { } } + /// Deprecated /// /// Deprecated. @@ -1884,6 +1912,7 @@ impl super::SBPMessage for MsgEphemerisDepA { } } + /// Deprecated /// /// Deprecated. @@ -1998,6 +2027,7 @@ impl super::SBPMessage for MsgEphemerisDepB { } } + /// Satellite broadcast ephemeris /// /// The ephemeris message returns a set of satellite orbit @@ -2122,6 +2152,7 @@ impl super::SBPMessage for MsgEphemerisDepC { } } + /// Header for observation message. /// /// Header of a GPS observation message. @@ -2163,6 +2194,7 @@ impl ObservationHeaderDep { } } + /// GPS carrier phase measurement. /// /// Carrier phase measurement in cycles represented as a 40-bit @@ -2204,6 +2236,7 @@ impl CarrierPhaseDepA { } } + /// Deprecated /// /// Deprecated. @@ -2255,6 +2288,7 @@ impl PackedObsContentDepA { } } + /// GPS observations for a particular satellite signal. /// /// Pseudorange and carrier phase observation for a satellite being @@ -2307,6 +2341,7 @@ impl PackedObsContentDepB { } } + /// GPS observations for a particular satellite signal. /// /// Pseudorange and carrier phase observation for a satellite being @@ -2360,6 +2395,7 @@ impl PackedObsContentDepC { } } + /// Deprecated /// /// Deprecated. @@ -2395,6 +2431,7 @@ impl super::SBPMessage for MsgObsDepA { } } + /// Deprecated /// /// This observation message has been deprecated in favor of @@ -2435,6 +2472,7 @@ impl super::SBPMessage for MsgObsDepB { } } + /// Deprecated /// /// The GPS observations message reports all the raw pseudorange and @@ -2476,6 +2514,7 @@ impl super::SBPMessage for MsgObsDepC { } } + /// Iono corrections /// /// The ionospheric parameters which allow the "L1 only" or "L2 only" user to @@ -2526,6 +2565,7 @@ impl super::SBPMessage for MsgIono { } } + /// L2C capability mask /// /// Please see ICD-GPS-200 (Chapter 20.3.3.5.1.4) for more details. @@ -2561,6 +2601,7 @@ impl super::SBPMessage for MsgSvConfigurationGPSDep { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct GnssCapb { @@ -2635,6 +2676,7 @@ impl GnssCapb { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct MsgGnssCapb { @@ -2666,6 +2708,7 @@ impl super::SBPMessage for MsgGnssCapb { } } + /// Group Delay /// /// Please see ICD-GPS-200 (30.3.3.3.1.1) for more details. @@ -2711,6 +2754,7 @@ impl super::SBPMessage for MsgGroupDelayDepA { } } + /// Group Delay /// /// Please see ICD-GPS-200 (30.3.3.3.1.1) for more details. @@ -2756,6 +2800,7 @@ impl super::SBPMessage for MsgGroupDelayDepB { } } + /// Group Delay /// /// Please see ICD-GPS-200 (30.3.3.3.1.1) for more details. @@ -2801,6 +2846,7 @@ impl super::SBPMessage for MsgGroupDelay { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct AlmanacCommonContent { @@ -2858,6 +2904,7 @@ impl AlmanacCommonContent { } } + #[derive(Debug)] #[allow(non_snake_case)] pub struct AlmanacCommonContentDep { @@ -2915,6 +2962,7 @@ impl AlmanacCommonContentDep { } } + /// Satellite broadcast ephemeris for GPS /// /// The almanac message returns a set of satellite orbit parameters. Almanac @@ -2977,6 +3025,7 @@ impl super::SBPMessage for MsgAlmanacGPSDep { } } + /// Satellite broadcast ephemeris for GPS /// /// The almanac message returns a set of satellite orbit parameters. Almanac @@ -3039,6 +3088,7 @@ impl super::SBPMessage for MsgAlmanacGPS { } } + /// Satellite broadcast ephemeris for GLO /// /// The almanac message returns a set of satellite orbit parameters. Almanac @@ -3096,6 +3146,7 @@ impl super::SBPMessage for MsgAlmanacGloDep { } } + /// Satellite broadcast ephemeris for GLO /// /// The almanac message returns a set of satellite orbit parameters. Almanac @@ -3153,6 +3204,7 @@ impl super::SBPMessage for MsgAlmanacGlo { } } + /// GLONASS L1/L2 Code-Phase biases /// /// The GLONASS L1/L2 Code-Phase biases allows to perform @@ -3200,6 +3252,7 @@ impl super::SBPMessage for MsgGloBiases { } } + /// Satellite azimuth and elevation. /// /// Satellite azimuth and elevation. @@ -3240,6 +3293,7 @@ impl SvAzEl { } } + /// Satellite azimuths and elevations /// /// Azimuth and elevation angles of all the visible satellites @@ -3273,6 +3327,7 @@ impl super::SBPMessage for MsgSvAzEl { } } + /// OSR corrections /// /// The OSR message contains network corrections in an observation-like format diff --git a/rust/sbp/src/messages/orientation.rs b/rust/sbp/src/messages/orientation.rs index 0959160fd7..0af527e784 100644 --- a/rust/sbp/src/messages/orientation.rs +++ b/rust/sbp/src/messages/orientation.rs @@ -12,12 +12,14 @@ // Automatically generated from yaml/swiftnav/sbp/orientation.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Orientation Messages extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Heading relative to True North /// /// This message reports the baseline heading pointing from the base station @@ -62,6 +64,7 @@ impl super::SBPMessage for MsgBaselineHeading { } } + /// Quaternion 4 component vector /// /// This message reports the quaternion vector describing the vehicle body frame's orientation @@ -125,6 +128,7 @@ impl super::SBPMessage for MsgOrientQuat { } } + /// Euler angles /// /// This message reports the yaw, pitch, and roll angles of the vehicle body frame. @@ -182,6 +186,7 @@ impl super::SBPMessage for MsgOrientEuler { } } + /// Vehicle Body Frame instantaneous angular rates /// /// This message reports the orientation rates in the vehicle body frame. diff --git a/rust/sbp/src/messages/piksi.rs b/rust/sbp/src/messages/piksi.rs index efb11802fe..6d0981468b 100644 --- a/rust/sbp/src/messages/piksi.rs +++ b/rust/sbp/src/messages/piksi.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/piksi.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! System health, configuration, and diagnostic messages specific to //! the Piksi L1 receiver, including a variety of legacy messages that //! may no longer be used. @@ -22,6 +23,7 @@ extern crate byteorder; use self::byteorder::{LittleEndian, ReadBytesExt}; use super::gnss::*; + /// Legacy message to load satellite almanac (host => Piksi) /// /// This is a legacy message for sending and loading a satellite @@ -50,6 +52,7 @@ impl super::SBPMessage for MsgAlmanac { } } + /// Send GPS time from host (host => Piksi) /// /// This message sets up timing functionality using a coarse GPS @@ -78,6 +81,7 @@ impl super::SBPMessage for MsgSetTime { } } + /// Reset the device (host => Piksi) /// /// This message from the host resets the Piksi back into the @@ -111,6 +115,7 @@ impl super::SBPMessage for MsgReset { } } + /// Reset the device (host => Piksi) /// /// This message from the host resets the Piksi back into the @@ -139,6 +144,7 @@ impl super::SBPMessage for MsgResetDep { } } + /// Legacy message for CW interference channel (Piksi => host) /// /// This is an unused legacy message for result reporting from the @@ -168,6 +174,7 @@ impl super::SBPMessage for MsgCwResults { } } + /// Legacy message for CW interference channel (host => Piksi) /// /// This is an unused legacy message from the host for starting @@ -197,6 +204,7 @@ impl super::SBPMessage for MsgCwStart { } } + /// Reset IAR filters (host => Piksi) /// /// This message resets either the DGNSS Kalman filters or Integer @@ -230,6 +238,7 @@ impl super::SBPMessage for MsgResetFilters { } } + /// Deprecated /// /// Deprecated @@ -257,6 +266,7 @@ impl super::SBPMessage for MsgInitBaseDep { } } + /// State of an RTOS thread /// /// The thread usage message from the device reports real-time @@ -298,6 +308,7 @@ impl super::SBPMessage for MsgThreadState { } } + /// State of the UART channel /// /// Throughput, utilization, and error counts on the RX/TX buffers @@ -349,6 +360,7 @@ impl UARTChannel { } } + /// base station observation message receipt period /// /// Statistics on the period of observations received from the base @@ -397,6 +409,7 @@ impl Period { } } + /// Receiver-to-base station latency /// /// Statistics on the latency of observations received from the base @@ -444,6 +457,7 @@ impl Latency { } } + /// State of the UART channels /// /// The UART message reports data latency and throughput of the UART @@ -496,6 +510,7 @@ impl super::SBPMessage for MsgUartState { } } + /// Deprecated /// /// Deprecated @@ -537,6 +552,7 @@ impl super::SBPMessage for MsgUartStateDepa { } } + /// State of the Integer Ambiguity Resolution (IAR) process /// /// This message reports the state of the Integer Ambiguity @@ -572,6 +588,7 @@ impl super::SBPMessage for MsgIarState { } } + /// Mask a satellite from use in Piksi subsystems /// /// This message allows setting a mask to prevent a particular satellite @@ -608,6 +625,7 @@ impl super::SBPMessage for MsgMaskSatellite { } } + /// Deprecated /// /// Deprecated. @@ -643,6 +661,7 @@ impl super::SBPMessage for MsgMaskSatelliteDep { } } + /// Device temperature and voltage levels /// /// This message contains temperature and voltage level measurements from the @@ -689,6 +708,7 @@ impl super::SBPMessage for MsgDeviceMonitor { } } + /// Execute a command (host => device) /// /// Request the recipient to execute an command. @@ -726,6 +746,7 @@ impl super::SBPMessage for MsgCommandReq { } } + /// Exit code from executed command (device => host) /// /// The response to MSG_COMMAND_REQ with the return code of @@ -762,6 +783,7 @@ impl super::SBPMessage for MsgCommandResp { } } + /// Command output /// /// Returns the standard output and standard error of the @@ -800,6 +822,7 @@ impl super::SBPMessage for MsgCommandOutput { } } + /// Request state of Piksi network interfaces /// /// Request state of Piksi network interfaces. @@ -828,6 +851,7 @@ impl super::SBPMessage for MsgNetworkStateReq { } } + /// State of network interface /// /// The state of a network interface on the Piksi. @@ -883,6 +907,7 @@ impl super::SBPMessage for MsgNetworkStateResp { } } + /// Bandwidth usage measurement for a single interface. /// /// The bandwidth usage for each interface can be reported @@ -934,6 +959,7 @@ impl NetworkUsage { } } + /// Bandwidth usage reporting message /// /// The bandwidth usage, a list of usage by interface. @@ -966,6 +992,7 @@ impl super::SBPMessage for MsgNetworkBandwidthUsage { } } + /// Cell modem information update message /// /// If a cell modem is present on a piksi device, this message @@ -1006,6 +1033,7 @@ impl super::SBPMessage for MsgCellModemStatus { } } + /// Deprecated /// /// Deprecated. @@ -1056,6 +1084,7 @@ impl super::SBPMessage for MsgSpecanDep { } } + /// Spectrum analyzer /// /// Spectrum analyzer packet. @@ -1106,14 +1135,17 @@ impl super::SBPMessage for MsgSpecan { } } + /// RF AGC status /// /// This message describes the gain of each channel in the receiver frontend. Each -/// gain is encoded as a non-dimensional percentage relative to the maximum range +/// gain is encoded as a non-dimensional percentage relative to the maximum range /// possible for the gain stage of the frontend. By convention, each gain array /// has 8 entries and the index of the array corresponding to the index of the rf channel -/// in the frontend. A gain of 127 percent encodes that rf channel is not present in the hardware. -/// A negative value implies an error for the particular gain stage as reported by the frontend. +/// in the frontend. A gain of 127 percent encodes that rf channel is not present in the +/// hardware. +/// A negative value implies an error for the particular gain stage as reported by the +/// frontend. /// #[derive(Debug)] #[allow(non_snake_case)] diff --git a/rust/sbp/src/messages/sbas.rs b/rust/sbp/src/messages/sbas.rs index 8b8e74350e..b5db5456f5 100644 --- a/rust/sbp/src/messages/sbas.rs +++ b/rust/sbp/src/messages/sbas.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/sbas.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! SBAS data extern crate byteorder; @@ -19,6 +20,7 @@ extern crate byteorder; use self::byteorder::{LittleEndian, ReadBytesExt}; use super::gnss::*; + /// Raw SBAS data /// /// This message is sent once per second per SBAS satellite. ME checks the diff --git a/rust/sbp/src/messages/settings.rs b/rust/sbp/src/messages/settings.rs index 93138f71f2..85476fa3d9 100644 --- a/rust/sbp/src/messages/settings.rs +++ b/rust/sbp/src/messages/settings.rs @@ -12,7 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/settings.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ -//! + //! Messages for reading, writing, and discovering device settings. Settings //! with a "string" field have multiple values in this field delimited with a //! null character (the c style null terminator). For instance, when querying @@ -31,10 +31,15 @@ //! See the "Software Settings Manual" on support.swiftnav.com for detailed //! documentation about all settings and sections available for each Swift //! firmware version. Settings manuals are available for each firmware version -//! at the following link: @@https://support.swiftnav.com/customer/en/portal/articles/2628580-piksi-multi-specifications#settings[Piksi Multi Specifications]. +//! at the following link: +//! @@https://support.swiftnav. +//! com/customer/en/portal/articles/2628580-piksi-multi-specifications#settings[Piksi Multi +//! Specifications]. //! The latest settings document is also available at the following link: //! @@http://swiftnav.com/latest/piksi-multi-settings[Latest settings document] . -//! See lastly @@https://github.com/swift-nav/piksi_tools/blob/master/piksi_tools/settings.py[settings.py] , +//! See lastly +//! @@https://github.com/swift-nav/piksi_tools/blob/master/piksi_tools/settings.py[settings. +//! py] , //! the open source python command line utility for reading, writing, and //! saving settings in the piksi_tools repository on github as a helpful //! reference and example. @@ -44,6 +49,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Save settings to flash (host => device) /// /// The save settings message persists the device's current settings @@ -72,6 +78,7 @@ impl super::SBPMessage for MsgSettingsSave { } } + /// Write device configuration settings (host => device) /// /// The setting message writes the device configuration for a particular @@ -111,6 +118,7 @@ impl super::SBPMessage for MsgSettingsWrite { } } + /// Acknowledgement with status of MSG_SETTINGS_WRITE /// /// Return the status of a write request with the new value of the @@ -153,6 +161,7 @@ impl super::SBPMessage for MsgSettingsWriteResp { } } + /// Read device configuration settings (host => device) /// /// The setting message that reads the device configuration. The string @@ -193,6 +202,7 @@ impl super::SBPMessage for MsgSettingsReadReq { } } + /// Read device configuration settings (host <= device) /// /// The setting message wich which the device responds after a @@ -232,6 +242,7 @@ impl super::SBPMessage for MsgSettingsReadResp { } } + /// Read setting by direct index (host => device) /// /// The settings message for iterating through the settings @@ -267,6 +278,7 @@ impl super::SBPMessage for MsgSettingsReadByIndexReq { } } + /// Read setting by direct index (host <= device) /// /// The settings message that reports the value of a setting at an index. @@ -313,6 +325,7 @@ impl super::SBPMessage for MsgSettingsReadByIndexResp { } } + /// Finished reading settings (host <= device) /// /// The settings message for indicating end of the settings values. @@ -340,6 +353,7 @@ impl super::SBPMessage for MsgSettingsReadByIndexDone { } } + /// Register setting and default value (device => host) /// /// This message registers the presence and default value of a setting @@ -375,6 +389,7 @@ impl super::SBPMessage for MsgSettingsRegister { } } + /// Register setting and default value (device <= host) /// /// This message responds to setting registration with the effective value. diff --git a/rust/sbp/src/messages/ssr.rs b/rust/sbp/src/messages/ssr.rs index f49b1ee9e2..2ef4120b06 100644 --- a/rust/sbp/src/messages/ssr.rs +++ b/rust/sbp/src/messages/ssr.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/ssr.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Precise State Space Representation (SSR) corrections format extern crate byteorder; @@ -19,6 +20,7 @@ extern crate byteorder; use self::byteorder::{LittleEndian, ReadBytesExt}; use super::gnss::*; + /// SSR code biases corrections for a particular satellite. /// /// Code biases are to be added to pseudorange. @@ -57,6 +59,7 @@ impl CodeBiasesContent { } } + /// SSR phase biases corrections for a particular satellite. /// /// Phase biases are to be added to carrier phase measurements. @@ -108,6 +111,7 @@ impl PhaseBiasesContent { } } + /// Header for MSG_SSR_STEC_CORRECTION message /// /// A full set of STEC information will likely span multiple SBP @@ -126,9 +130,8 @@ pub struct STECHeader { /// Update interval between consecutive corrections. Encoded following RTCM /// DF391 specification. pub update_interval: u8, - /// IOD of the SSR correction. A change of Issue Of Data SSR is used to - /// indicate a change in the SSR generating configuration. - pub iod_ssr: u8, + /// IOD of the SSR atmospheric correction + pub iod_atmo: u8, } impl STECHeader { @@ -138,7 +141,7 @@ impl STECHeader { num_msgs: _buf.read_u8()?, seq_num: _buf.read_u8()?, update_interval: _buf.read_u8()?, - iod_ssr: _buf.read_u8()?, + iod_atmo: _buf.read_u8()?, }) } pub fn parse_array(buf: &mut &[u8]) -> Result, ::Error> { @@ -158,6 +161,7 @@ impl STECHeader { } } + /// Header for MSG_SSR_GRIDDED_CORRECTION /// /// The 3GPP message contains nested variable length arrays @@ -176,11 +180,10 @@ pub struct GriddedCorrectionHeader { /// Update interval between consecutive corrections. Encoded following RTCM /// DF391 specification. pub update_interval: u8, - /// IOD of the SSR correction. A change of Issue Of Data SSR is used to - /// indicate a change in the SSR generating configuration. - pub iod_ssr: u8, + /// IOD of the SSR atmospheric correction + pub iod_atmo: u8, /// Quality of the troposphere data. Encoded following RTCM DF389 - /// specifcation but as TECU instead of m. + /// specifcation in units of m. pub tropo_quality_indicator: u8, } @@ -191,7 +194,7 @@ impl GriddedCorrectionHeader { num_msgs: _buf.read_u16::()?, seq_num: _buf.read_u16::()?, update_interval: _buf.read_u8()?, - iod_ssr: _buf.read_u8()?, + iod_atmo: _buf.read_u8()?, tropo_quality_indicator: _buf.read_u8()?, }) } @@ -215,6 +218,7 @@ impl GriddedCorrectionHeader { } } + /// None /// /// STEC polynomial for the given satellite. @@ -225,7 +229,7 @@ pub struct STECSatElement { /// Unique space vehicle identifier pub sv_id: SvId, /// Quality of the STEC data. Encoded following RTCM DF389 specifcation but - /// as TECU instead of m. + /// in units of TECU instead of m. pub stec_quality_indicator: u8, /// Coefficents of the STEC polynomial in the order of C00, C01, C10, C11 pub stec_coeff: Vec, @@ -256,9 +260,10 @@ impl STECSatElement { } } + /// None /// -/// Troposphere delays at the grid point. +/// Troposphere vertical delays at the grid point. /// #[derive(Debug)] #[allow(non_snake_case)] @@ -296,6 +301,7 @@ impl TroposphericDelayCorrection { } } + /// None /// /// STEC residual for the given satellite at the grid point. @@ -333,6 +339,7 @@ impl STECResidual { } } + /// Correction data for a single grid point. /// /// Contains one tropo delay, plus STEC residuals for each satellite at the @@ -374,6 +381,7 @@ impl GridElement { } } + /// Defines the grid for MSG_SSR_GRIDDED_CORRECTION messages. /// /// Defines the grid for MSG_SSR_GRIDDED_CORRECTION messages. @@ -382,13 +390,15 @@ impl GridElement { #[derive(Debug)] #[allow(non_snake_case)] pub struct GridDefinitionHeader { - /// inverse of region size + /// region_size (deg) = 10 / region_size_inverse 0 is an invalid value. pub region_size_inverse: u8, - /// area width; see spec for details + /// grid height (deg) = grid idth (deg) = area_width / region_size 0 is an + /// invalid value. pub area_width: u16, - /// encoded latitude of the northwest corner of the grid + /// North-West corner latitdue (deg) = region_size * lat_nw_corner_enc - 90 pub lat_nw_corner_enc: u16, - /// encoded longitude of the northwest corner of the grid + /// North-West corner longtitude (deg) = region_size * lon_nw_corner_enc - + /// 180 pub lon_nw_corner_enc: u16, /// Number of messages in the dataset pub num_msgs: u8, @@ -427,6 +437,7 @@ impl GridDefinitionHeader { } } + /// Precise orbit and clock correction /// /// The precise orbit and clock correction message is @@ -503,6 +514,7 @@ impl super::SBPMessage for MsgSsrOrbitClock { } } + /// Precise orbit and clock correction /// /// The precise orbit and clock correction message is @@ -579,6 +591,7 @@ impl super::SBPMessage for MsgSsrOrbitClockDepA { } } + /// Precise code biases correction /// /// The precise code biases message is to be added @@ -628,6 +641,7 @@ impl super::SBPMessage for MsgSsrCodeBiases { } } + /// Precise phase biases correction /// /// The precise phase biases message contains the biases @@ -691,6 +705,7 @@ impl super::SBPMessage for MsgSsrPhaseBiases { } } + /// Slant Total Electron Content /// /// The STEC per space vehicle, given as polynomial approximation for @@ -729,6 +744,7 @@ impl super::SBPMessage for MsgSsrStecCorrection { } } + /// Gridded troposphere and STEC residuals /// /// STEC residuals are per space vehicle, tropo is not. @@ -765,10 +781,12 @@ impl super::SBPMessage for MsgSsrGriddedCorrection { } } -/// None -/// + /// Definition of the grid for STEC and tropo messages /// +/// Based on the 3GPP proposal R2-1906781 which is in turn based on +/// OMA-LPPe-ValidityArea from OMA-TS-LPPe-V2_0-20141202-C +/// #[derive(Debug)] #[allow(non_snake_case)] pub struct MsgSsrGridDefinition { diff --git a/rust/sbp/src/messages/system.rs b/rust/sbp/src/messages/system.rs index dcb53310c5..831e5d60a4 100644 --- a/rust/sbp/src/messages/system.rs +++ b/rust/sbp/src/messages/system.rs @@ -12,12 +12,14 @@ // Automatically generated from yaml/swiftnav/sbp/system.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Standardized system messages from Swift Navigation devices. extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// System start-up message /// /// The system start-up message is sent once on system @@ -59,6 +61,7 @@ impl super::SBPMessage for MsgStartup { } } + /// Status of received corrections /// /// This message provides information about the receipt of Differential @@ -102,6 +105,7 @@ impl super::SBPMessage for MsgDgnssStatus { } } + /// System heartbeat message /// /// The heartbeat message is sent periodically to inform the host @@ -143,6 +147,7 @@ impl super::SBPMessage for MsgHeartbeat { } } + /// Inertial Navigation System status message /// /// The INS status message describes the state of the operation @@ -176,6 +181,7 @@ impl super::SBPMessage for MsgInsStatus { } } + /// Experimental telemetry message /// /// The CSAC telemetry message has an implementation defined telemetry string @@ -214,6 +220,7 @@ impl super::SBPMessage for MsgCsacTelemetry { } } + /// Experimental telemetry message labels /// /// The CSAC telemetry message provides labels for each member of the string diff --git a/rust/sbp/src/messages/tracking.rs b/rust/sbp/src/messages/tracking.rs index 15a05325f9..7c89cfe2d8 100644 --- a/rust/sbp/src/messages/tracking.rs +++ b/rust/sbp/src/messages/tracking.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/tracking.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Satellite code and carrier-phase tracking messages from the device. //! @@ -20,6 +21,7 @@ extern crate byteorder; use self::byteorder::{LittleEndian, ReadBytesExt}; use super::gnss::*; + /// Detailed signal tracking channel states. DEPRECATED. /// /// The tracking message returns a set tracking channel parameters for a @@ -119,6 +121,7 @@ impl super::SBPMessage for MsgTrackingStateDetailedDepA { } } + /// Deprecated /// /// Deprecated. @@ -217,6 +220,7 @@ impl super::SBPMessage for MsgTrackingStateDetailedDep { } } + /// Signal tracking channel state /// /// Tracking channel state for a specific satellite signal and @@ -261,6 +265,7 @@ impl TrackingChannelState { } } + /// Signal tracking channel states /// /// The tracking message returns a variable-length array of tracking @@ -295,6 +300,7 @@ impl super::SBPMessage for MsgTrackingState { } } + /// Measurement Engine signal tracking channel state /// /// Measurement Engine tracking channel state for a specific satellite signal @@ -337,6 +343,7 @@ impl MeasurementState { } } + /// Measurement Engine signal tracking channel states /// /// The tracking message returns a variable-length array of tracking @@ -371,6 +378,7 @@ impl super::SBPMessage for MsgMeasurementState { } } + /// Complex correlation structure /// /// Structure containing in-phase and quadrature correlation components. @@ -411,6 +419,7 @@ impl TrackingChannelCorrelation { } } + /// Tracking channel correlations /// /// When enabled, a tracking channel can output the correlations at each @@ -450,6 +459,7 @@ impl super::SBPMessage for MsgTrackingIq { } } + /// Complex correlation structure /// /// Structure containing in-phase and quadrature correlation components. @@ -490,6 +500,7 @@ impl TrackingChannelCorrelationDep { } } + /// Tracking channel correlations /// /// When enabled, a tracking channel can output the correlations at each @@ -529,6 +540,7 @@ impl super::SBPMessage for MsgTrackingIqDepB { } } + /// Deprecated /// /// Deprecated. @@ -567,6 +579,7 @@ impl super::SBPMessage for MsgTrackingIqDepA { } } + /// Deprecated /// /// Deprecated. @@ -610,6 +623,7 @@ impl TrackingChannelStateDepA { } } + /// Deprecated /// /// Deprecated. @@ -642,6 +656,7 @@ impl super::SBPMessage for MsgTrackingStateDepA { } } + /// Deprecated. /// /// Deprecated. @@ -685,6 +700,7 @@ impl TrackingChannelStateDepB { } } + /// Deprecated. /// /// Deprecated. diff --git a/rust/sbp/src/messages/user.rs b/rust/sbp/src/messages/user.rs index 41cf4dec65..2017e5f4d5 100644 --- a/rust/sbp/src/messages/user.rs +++ b/rust/sbp/src/messages/user.rs @@ -12,6 +12,7 @@ // Automatically generated from yaml/swiftnav/sbp/user.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Messages reserved for use by the user. //! @@ -19,6 +20,7 @@ extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// User data /// /// This message can contain any application specific user data up to a diff --git a/rust/sbp/src/messages/vehicle.rs b/rust/sbp/src/messages/vehicle.rs index 311fb4bc55..b7fad94737 100644 --- a/rust/sbp/src/messages/vehicle.rs +++ b/rust/sbp/src/messages/vehicle.rs @@ -12,17 +12,20 @@ // Automatically generated from yaml/swiftnav/sbp/vehicle.yaml // with generate.py. Please do not hand edit! //****************************************************************************/ + //! Messages from a vehicle. extern crate byteorder; #[allow(unused_imports)] use self::byteorder::{LittleEndian, ReadBytesExt}; + /// Vehicle forward (x-axis) velocity /// /// Message representing the x component of vehicle velocity in the user frame at the odometry /// reference point(s) specified by the user. The offset for the odometry reference point and -/// the definition and origin of the user frame are defined through the device settings interface. +/// the definition and origin of the user frame are defined through the device settings +/// interface. /// There are 4 possible user-defined sources of this message which are labeled arbitrarily /// source 0 through 3. /// diff --git a/rust/sbp/src/parser/mod.rs b/rust/sbp/src/parser/mod.rs index f6c6217fbb..7f0af112eb 100644 --- a/rust/sbp/src/parser/mod.rs +++ b/rust/sbp/src/parser/mod.rs @@ -1,4 +1,5 @@ -//! Simple parsing functionality for extracting SBP messages from binary streams +//! Simple parsing functionality for extracting SBP +//! messages from binary streams extern crate byteorder; extern crate nom; @@ -10,11 +11,15 @@ use self::nom::sequence::tuple; use messages::SBP; use std::io::{self, Read}; -/// Attempts to extract a single SBP message from a data slice +/// Attempts to extract a single SBP message from a data +/// slice /// -/// This function returns a tuple of a result and the number of bytes processed -/// from the slice. In regardless of the result the processed bytes should be -/// removed from the slice before calling `frame()` again. If the result is a +/// This function returns a tuple of a result and the +/// number of bytes processed +/// from the slice. In regardless of the result the +/// processed bytes should be +/// removed from the slice before calling `frame()` again. +/// If the result is a /// success then the SBP message has been fully validated. pub fn frame(input: &[u8]) -> (Result, usize) { let original_size = input.len(); @@ -51,8 +56,10 @@ pub fn frame(input: &[u8]) -> (Result, usize) { /// A basic parser for SBP messages /// -/// This object reads data from a source and attempts to read SBP messages from -/// the stream. A Parser buffers some data locally to reduce the number of +/// This object reads data from a source and attempts to +/// read SBP messages from +/// the stream. A Parser buffers some data locally to +/// reduce the number of /// calls to read data. pub struct Parser { buffer: Vec, @@ -66,10 +73,13 @@ impl Parser { Parser { buffer: vec![0; 0] } } - /// Attempts to read a single SBP message from the input stream + /// Attempts to read a single SBP message from the + /// input stream /// - /// This function will read data from the input source as needed - /// until either a message is successfully parsed or an error occurs + /// This function will read data from the input source + /// as needed + /// until either a message is successfully parsed or an + /// error occurs pub fn parse(&mut self, input: &mut R) -> Result { if self.buffer.len() == 0 { self.read_more(input)?; diff --git a/spec/yaml/swiftnav/sbp/ssr.yaml b/spec/yaml/swiftnav/sbp/ssr.yaml index 2480526f44..5baab3dbd0 100644 --- a/spec/yaml/swiftnav/sbp/ssr.yaml +++ b/spec/yaml/swiftnav/sbp/ssr.yaml @@ -75,12 +75,10 @@ definitions: desc: | Update interval between consecutive corrections. Encoded following RTCM DF391 specification. - - iod_ssr: + - iod_atmo: type: u8 desc: | - IOD of the SSR correction. A change of Issue Of Data - SSR is used to indicate a change in the SSR - generating configuration. + IOD of the SSR atmospheric correction - GriddedCorrectionHeader: short_desc: Header for MSG_SSR_GRIDDED_CORRECTION @@ -103,17 +101,15 @@ definitions: desc: | Update interval between consecutive corrections. Encoded following RTCM DF391 specification. - - iod_ssr: + - iod_atmo: type: u8 desc: | - IOD of the SSR correction. A change of Issue Of Data - SSR is used to indicate a change in the SSR - generating configuration. + IOD of the SSR atmospheric correction - tropo_quality_indicator: type: u8 desc: | Quality of the troposphere data. Encoded following RTCM DF389 - specifcation but as TECU instead of m. + specifcation in units of m. - STECSatElement: desc: STEC polynomial for the given satellite. @@ -125,7 +121,7 @@ definitions: type: u8 desc: | Quality of the STEC data. Encoded following RTCM DF389 specifcation - but as TECU instead of m. + but in units of TECU instead of m. - stec_coeff: type: array size: 4 @@ -136,15 +132,15 @@ definitions: - TroposphericDelayCorrection: desc: | - Troposphere delays at the grid point. + Troposphere vertical delays at the grid point. fields: - hydro: type: s16 - units: 0.4 mm (add 2.3 m to get actual vert hydro delay) + units: 4 mm (add 2.3 m to get actual vertical hydro delay) desc: Hydrostatic vertical delay - wet: type: s8 - units: 0.4 mm (add 0.252 m to get actual vert wet delay) + units: 4 mm (add 0.252 m to get actual vertical wet delay) desc: Wet vertical delay - STECResidual: @@ -183,18 +179,21 @@ definitions: fields: - region_size_inverse: type: u8 - units: coded value - see spec - desc: inverse of region size + units: inverse degrees + desc: | + region_size (deg) = 10 / region_size_inverse + 0 is an invalid value. - area_width: type: u16 - units: coded value - 0 means not present (Swift convention) - desc: area width; see spec for details + desc: | + grid height (deg) = grid idth (deg) = area_width / region_size + 0 is an invalid value. - lat_nw_corner_enc: type: u16 - desc: encoded latitude of the northwest corner of the grid + desc: North-West corner latitdue (deg) = region_size * lat_nw_corner_enc - 90 - lon_nw_corner_enc: type: u16 - desc: encoded longitude of the northwest corner of the grid + desc: North-West corner longtitude (deg) = region_size * lon_nw_corner_enc - 180 - num_msgs: type: u8 desc: Number of messages in the dataset @@ -452,7 +451,10 @@ definitions: - MSG_SSR_GRID_DEFINITION: id: 0x05F5 - desc: Definition of the grid for STEC and tropo messages + short_desc: Definition of the grid for STEC and tropo messages + desc: | + Based on the 3GPP proposal R2-1906781 which is in turn based on + OMA-LPPe-ValidityArea from OMA-TS-LPPe-V2_0-20141202-C fields: - header: type: GridDefinitionHeader