OpenHantek
Toggle main menu visibility
Loading...
Searching...
No Matches
errorcodes.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
3
#pragma once
4
5
namespace
Dso
{
8
enum class
ErrorCode
{
9
NONE
= 0,
10
CONNECTION
= -1,
11
UNSUPPORTED
= -2,
12
PARAMETER
= -3
13
};
14
15
}
// namespace Dso
Dso
Definition
TriggerDock.h:15
Dso::ErrorCode
ErrorCode
The return codes for device control methods.
Definition
errorcodes.h:8
Dso::ErrorCode::UNSUPPORTED
@ UNSUPPORTED
Not supported by this device.
Definition
errorcodes.h:11
Dso::ErrorCode::NONE
@ NONE
Successful operation.
Definition
errorcodes.h:9
Dso::ErrorCode::PARAMETER
@ PARAMETER
Parameter out of range.
Definition
errorcodes.h:12
Dso::ErrorCode::CONNECTION
@ CONNECTION
Device not connected or communication error.
Definition
errorcodes.h:10
hantekdso
errorcodes.h
Generated by
1.17.0