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, {0xC9, 3}, {0xC9, 3}, {0xC9, 3} },
71 { {0, 0}, {0xFA, 2}, {0xCA, 3}, {0xCA, 3}, {0xCA, 3} },
72 { {0, 0}, {0xFD, 2}, {0xE5, 3}, {0x25, 4}, {0x25, 4} },
73 { {0, 0}, {0, 0}, {0xD2, 3}, {0xD2, 3}, {0xD2, 3} },
74 { {0, 0}, {0, 0}, {0xE9, 3}, {0x29, 4}, {0x29, 4} },
75 { {0, 0}, {0, 0}, {0xEA, 3}, {0x2A, 4}, {0x2A, 4} },
76 { {0, 0}, {0, 0}, {0xFA, 3}, {0x95, 4}, {0x95, 4} },
77 { {0, 0}, {0, 0}, {0, 0}, {0x92, 3}, {0x92, 3} },
78 { {0, 0}, {0, 0}, {0, 0}, {0x49, 4}, {0x49, 4} },
79 { {0, 0}, {0, 0}, {0, 0}, {0x4A, 4}, {0x4A, 4} },
80 { {0, 0}, {0, 0}, {0, 0}, {0xA5, 4}, {0xA5, 4} },
81 { {0, 0}, {0, 0}, {0, 0}, {0x52, 4}, {0x52, 4} },
82 { {0, 0}, {0, 0}, {0, 0}, {0xA9, 4}, {0xA9, 4} },
83 { {0, 0}, {0, 0}, {0, 0}, {0xAA, 4}, {0xAA, 4} },
84 { {0, 0}, {0, 0}, {0, 0}, {0xD5, 4}, {0xD5, 4} },
85 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x92, 3} },
86 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0xC9, 3} },
87 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0xCA, 3} },
88 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x25, 4} },
89 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0xD2, 3} },
90 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x29, 4} },
91 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x2A, 4} },
92 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x95, 4} },
93 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x92, 3} },
94 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x49, 4} },
95 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x4A, 4} },
96 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0xA5, 4} },
97 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x52, 4} },
98 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0xA9, 4} },
99 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0xAA, 4} },
100 { {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0x55, 5} }
108 class PropellerProtocol
115 int lfsr(
int * seed);
116 QList<char> buildLfsrSequence(
int size);
121 static QByteArray encodeData(QByteArray image);
122 static QByteArray encodeLong(quint32 value);
123 static QByteArray packLong(quint32 value);
Definition: protocol.h:14
Definition: protocol.h:18
const quint8 reply[reply_size]
Definition: protocol.h:39
Definition: protocol.h:23
const quint8 request[69]
Definition: protocol.h:28
Definition: protocol.h:19
Definition: protocol.h:17
const int _max_data_size
Definition: protocol.h:25
const int reply_size
Definition: protocol.h:38
Definition: protocol.h:16
const int request_size
Definition: protocol.h:27
const quint8 translator[32][5][2]
Definition: protocol.h:67
Command
Definition: protocol.h:15