Added several classes to encapsulate the packet generation

This commit is contained in:
Thomas Basler
2022-07-29 23:31:28 +02:00
parent 12df6029ca
commit 4daa121663
12 changed files with 295 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#include "RealTimeRunDataCommand.h"
RealTimeRunDataCommand::RealTimeRunDataCommand(uint64_t target_address, uint64_t router_address, time_t time)
: MultiDataCommand(target_address, router_address)
{
setTime(time);
setDataType(0x0b);
setTimeout(200);
}