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.
26 lines
678 B
26 lines
678 B
1 year ago
|
#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
|