Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def parse_members(cls, buf, offset, length):
ret = {}
(__tow, offset, length) = get_u32(buf, offset, length)
ret['tow'] = __tow
(__tow_f, offset, length) = get_u8(buf, offset, length)
ret['tow_f'] = __tow_f
(__mag_x, offset, length) = get_s16(buf, offset, length)
ret['mag_x'] = __mag_x
(__mag_y, offset, length) = get_s16(buf, offset, length)
ret['mag_y'] = __mag_y
(__mag_z, offset, length) = get_s16(buf, offset, length)
ret['mag_z'] = __mag_z
return ret, offset, length
def parse_members(cls, buf, offset, length):
ret = {}
(__dev_vin, offset, length) = get_s16(buf, offset, length)
ret['dev_vin'] = __dev_vin
(__cpu_vint, offset, length) = get_s16(buf, offset, length)
ret['cpu_vint'] = __cpu_vint
(__cpu_vaux, offset, length) = get_s16(buf, offset, length)
ret['cpu_vaux'] = __cpu_vaux
(__cpu_temperature, offset, length) = get_s16(buf, offset, length)
ret['cpu_temperature'] = __cpu_temperature
(__fe_temperature, offset, length) = get_s16(buf, offset, length)
ret['fe_temperature'] = __fe_temperature
return ret, offset, length
def parse_members(cls, buf, offset, length):
ret = {}
(__I, offset, length) = get_s16(buf, offset, length)
ret['I'] = __I
(__Q, offset, length) = get_s16(buf, offset, length)
ret['Q'] = __Q
return ret, offset, length
def parse_members(cls, buf, offset, length):
ret = {}
(__code, offset, length) = get_u8(buf, offset, length)
ret['code'] = __code
(__value, offset, length) = get_s16(buf, offset, length)
ret['value'] = __value
return ret, offset, length
def parse_members(cls, buf, offset, length):
ret = {}
(__dev_vin, offset, length) = get_s16(buf, offset, length)
ret['dev_vin'] = __dev_vin
(__cpu_vint, offset, length) = get_s16(buf, offset, length)
ret['cpu_vint'] = __cpu_vint
(__cpu_vaux, offset, length) = get_s16(buf, offset, length)
ret['cpu_vaux'] = __cpu_vaux
(__cpu_temperature, offset, length) = get_s16(buf, offset, length)
ret['cpu_temperature'] = __cpu_temperature
(__fe_temperature, offset, length) = get_s16(buf, offset, length)
ret['fe_temperature'] = __fe_temperature
return ret, offset, length
def parse_members(cls, buf, offset, length):
ret = {}
(__dev_vin, offset, length) = get_s16(buf, offset, length)
ret['dev_vin'] = __dev_vin
(__cpu_vint, offset, length) = get_s16(buf, offset, length)
ret['cpu_vint'] = __cpu_vint
(__cpu_vaux, offset, length) = get_s16(buf, offset, length)
ret['cpu_vaux'] = __cpu_vaux
(__cpu_temperature, offset, length) = get_s16(buf, offset, length)
ret['cpu_temperature'] = __cpu_temperature
(__fe_temperature, offset, length) = get_s16(buf, offset, length)
ret['fe_temperature'] = __fe_temperature
return ret, offset, length
def parse_members(cls, buf, offset, length):
ret = {}
(__I, offset, length) = get_s16(buf, offset, length)
ret['I'] = __I
(__Q, offset, length) = get_s16(buf, offset, length)
ret['Q'] = __Q
return ret, offset, length
ret['L'] = __L
(__cn0, offset, length) = get_u8(buf, offset, length)
ret['cn0'] = __cn0
(__lock, offset, length) = get_u16(buf, offset, length)
ret['lock'] = __lock
(__sid, offset, length) = GnssSignal.parse_members(buf, offset, length)
ret['sid'] = __sid
(__doppler, offset, length) = get_s32(buf, offset, length)
ret['doppler'] = __doppler
(__doppler_std, offset, length) = get_u16(buf, offset, length)
ret['doppler_std'] = __doppler_std
(__uptime, offset, length) = get_u32(buf, offset, length)
ret['uptime'] = __uptime
(__clock_offset, offset, length) = get_s16(buf, offset, length)
ret['clock_offset'] = __clock_offset
(__clock_drift, offset, length) = get_s16(buf, offset, length)
ret['clock_drift'] = __clock_drift
(__corr_spacing, offset, length) = get_u16(buf, offset, length)
ret['corr_spacing'] = __corr_spacing
(__acceleration, offset, length) = get_s8(buf, offset, length)
ret['acceleration'] = __acceleration
(__sync_flags, offset, length) = get_u8(buf, offset, length)
ret['sync_flags'] = __sync_flags
(__tow_flags, offset, length) = get_u8(buf, offset, length)
ret['tow_flags'] = __tow_flags
(__track_flags, offset, length) = get_u8(buf, offset, length)
ret['track_flags'] = __track_flags
(__nav_flags, offset, length) = get_u8(buf, offset, length)
ret['nav_flags'] = __nav_flags
(__pset_flags, offset, length) = get_u8(buf, offset, length)
ret['pset_flags'] = __pset_flags
(__misc_flags, offset, length) = get_u8(buf, offset, length)
def parse_members(cls, buf, offset, length):
ret = {}
(__i, offset, length) = get_s16(buf, offset, length)
ret['i'] = __i
(__f, offset, length) = get_u8(buf, offset, length)
ret['f'] = __f
return ret, offset, length
def parse_members(cls, buf, offset, length):
ret = {}
(__hydro, offset, length) = get_s16(buf, offset, length)
ret['hydro'] = __hydro
(__wet, offset, length) = get_s8(buf, offset, length)
ret['wet'] = __wet
return ret, offset, length