1 #ifndef KASEIKYOPROTOCOL_H
2 #define KASEIKYOPROTOCOL_H
4 #include "spaceprotocol.h"
9 // The Kaseikyo protocol is a more complex protocol than NEC or RC5 (although
10 // not nearly reaching the level of RC6). I don't have enough information on
11 // it yet to understand all of its workings.
14 class KaseikyoProtocol: public SpaceProtocol
22 void startSendingCommand(
23 unsigned int threadableID,
27 int generateStandardCommand(
28 const PIRKeyBits &bits,
29 PIRRX51Hardware &device);
31 void generateChecksum(
32 const CommandSequence &bits,
33 CommandSequence &checksum);
35 void generateLittleChecksum(
36 const CommandSequence &firstBits,
37 const CommandSequence &secondBits,
38 CommandSequence &littleChecksum);
41 #endif // KASEIKYOPROTOCOL_H