Add logic state model

This commit is contained in:
2026-04-11 08:39:07 +08:00
parent 9f182fa13f
commit 0328e64979

View File

@@ -0,0 +1,19 @@
#pragma once
#include <QtCore/QtGlobal>
enum class Lgc_TransportType : quint8
{
None = 0,
Cdc,
Gatt,
};
struct Lgc_State
{
bool IsConnected = false;
bool IsHandshakeDone = false;
Lgc_TransportType ActiveTransport = Lgc_TransportType::None;
quint32 ProtocolVersion = 0;
quint32 CapabilityFlags = 0;
};