Files
Plugin/Source/ThirdParty/include/SenseGlove/Connect/TransmissionMode.hpp
T

36 lines
927 BLFS
C++

/**
* @file
*
* @author Max Lammers <max@senseglove.com>
* @author Mamadou Babaei <mamadou@senseglove.com>
*
* @section LICENSE
*
* Copyright (c) 2020 - 2023 SenseGlove
*
* @section DESCRIPTION
*
* An abstract parent class for communication lines with Sense Glove Devices.
* We use this to allow us to add more forms of communication to the Sense Glove
* later on.
*/
#pragma once
#include <cstdint>
#include "Platform.hpp"
namespace SGConnect
{
///<summary> How the communications will send data back and forth. </summary>
enum class ETransmissionMode : uint8_t
{
///<summary> Synchronized communication, where we send haptics and receive sensor data. Default </summary>
PingPong = 0,
///<summary> Original asynchronous communication. Should only be applicable to SenseGloves running old firmware. </summary>
Async,
};
}