You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kempt-kinkajou-2023/cybergarden-sensor/lib/TransmissionModule/TransmissionModule.h

26 lines
678 B

#include <Arduino.h>
#include "MeasureData.h"
#include "TransmitterModule.h"
#include "ReedSolomonModule.h"
#ifndef KEMPT_KINKAJOU_TRANSMISSIONMODULE_H
#define KEMPT_KINKAJOU_TRANSMISSIONMODULE_H
class TransmissionModule {
private:
TransmitterModule * transmitterModule;
ReedSolomonModule * reedSolomonModule;
public:
unsigned char * encryptionKey = 0;
TransmissionModule(
TransmitterModule &transmitterModule,
ReedSolomonModule &reedSolomonModule
) :
transmitterModule(&transmitterModule),
reedSolomonModule(&reedSolomonModule) {}
void transmit(MeasureData &data);
};
#endif //KEMPT_KINKAJOU_TRANSMISSIONMODULE_H