Device: Add new method to mark collections as uploaded in CM root directory

This commit is contained in:
Jonathan Schwartz
2022-10-24 16:02:48 -04:00
parent 0101467154
commit b32f58da38
3 changed files with 44 additions and 1 deletions
+1
View File
@@ -46,6 +46,7 @@ enum class ExtendedCommand : uint16_t {
StartDHCPServer = 0x0016,
StopDHCPServer = 0x0017,
Reboot = 0x001C,
SetUploadedFlag = 0x0027,
};
enum class ExtendedResponse : int32_t {
+2
View File
@@ -505,6 +505,8 @@ public:
std::optional<EthPhyMessage> sendEthPhyMsg(const EthPhyMessage& message, std::chrono::milliseconds timeout = std::chrono::milliseconds(50));
std::optional<bool> SetCollectionUploaded(uint32_t collectionEntryByteAddress);
std::shared_ptr<Communication> com;
std::unique_ptr<IDeviceSettings> settings;