Fix a bug where settings were not read properly

This commit is contained in:
Paul Hollinsky
2018-10-30 14:24:57 -04:00
parent 3e51e39f3e
commit ccd26a3637
5 changed files with 66 additions and 8 deletions
@@ -0,0 +1,28 @@
#ifndef __READSETTINGSMESSAGE_H_
#define __READSETTINGSMESSAGE_H_
#include "icsneo/communication/message/message.h"
#include "icsneo/communication/communication.h"
namespace icsneo {
class ReadSettingsMessage : public Message {
public:
virtual ~ReadSettingsMessage() = default;
enum class Response : uint8_t {
OK = 0,
GeneralFailure = 1,
InvalidSubcommand = 2,
InvalidSubversion = 3,
NotEnoughMemory = 4,
APIFailure = 5,
APIUnsupported = 6
};
Response response;
};
}
#endif