/** * @file * * @author Max Lammers * @author Mamadou Babaei * * @section LICENSE * * Copyright (c) 2020 - 2022 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 #include "Platform.hpp" namespace SGConnect { /// How the communications will send data back and forth. enum class ETransmissionMode : uint8_t { /// Synchronized communication, where we send haptics and receive sensor data. Default PingPong = 0, /// Original asynchronous communication. Should only be applicable to SenseGloves running old firmware. Async, }; }