#define NECPROTOCOL_H
#include "pirprotocol.h"
-#include "pirdevice.h"
+#include "pirrx51hardware.h"
//
// The "NEC" Protocol is, more or less, followed by the majority of
void setRepeatNeedsHeader(
bool flag);
+ void setFullHeadlessRepeat(
+ bool flag);
+
public slots:
void startSendingCommand(
unsigned int threadableID,
unsigned int repeatSpace;
bool hasRepeatPair;
bool repeatNeedsHeader; // Put the header ahead of the repeat pulse
+ bool fullHeadlessRepeat; // Repeat full command but without header
int generateStandardCommand(
const CommandSequence &bits,
- PIRDevice &device);
+ PIRRX51Hardware &device);
+
+ int generateHeadlessCommand(
+ const CommandSequence &bits,
+ PIRRX51Hardware &device);
int generateRepeatCommand(
- PIRDevice &device);
+ PIRRX51Hardware &device);
int pushBits(
const CommandSequence &bits,
- PIRDevice &device);
+ PIRRX51Hardware &device);
};
#endif // NECPROTOCOL_H