fn handle_msg_mon_hw(&mut self) -> Result<(), DI::InterfaceError> {
        let (ck_ok, max_pay_idx) =
            self.read_ubx_message(UBX_MSG_LEN_MON_HW, false)?;
        if ck_ok {
            self.last_mon_hw = messages::mon_hw_from_bytes(
                &self.read_buf[UBX_HEADER_LEN..max_pay_idx],
            );
        }
        Ok(())
    }
/// Read a UBX-MON-HW message from the device
Read a UBX-MON-HW message from the device
Read a UBX - MON - HW message from the device
fn handle_msg_mon_hw(&mut self) -> Result<(), DI::InterfaceError> {
        let (ck_ok, max_pay_idx) =
            self.read_ubx_message(UBX_MSG_LEN_MON_HW, false)?;
        if ck_ok {
            self.last_mon_hw = messages::mon_hw_from_bytes(
                &self.read_buf[UBX_HEADER_LEN..max_pay_idx],
            );
        }
        Ok(())
    }
fn handle_msg_mon_hw ( & mut self ) -> Result < ( ) , DI :: InterfaceError > { let ( ck_ok , max_pay_idx ) = self . read_ubx_message ( UBX_MSG_LEN_MON_HW , false ) ? ; if ck_ok { self . last_mon_hw = messages :: mon_hw_from_bytes ( & self . read_buf [ UBX_HEADER_LEN .. max_pay_idx ] , ) ; } Ok ( ( ) ) }
Read a UBX-MON-HW message from the device
Read a UBX - MON - HW message from the device
&mut self
&mut self