You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB
C++

#include <iostream>
#include "src/FrameFKD_JE.h"
#include "src/FrameRecieve.h"
int main() {
CFrameFK_D_JE Parse;
unsigned char* byteArray = new unsigned char[32];
byteArray[0] = 0xEB;
byteArray[1] = 0x90;
byteArray[2] = 0xA2;
byteArray[3] = 0x1C;
byteArray[4] = 0xFF;
byteArray[5] = 0x00;
byteArray[6] = 0x00;
byteArray[7] = 0x00;
byteArray[8] = 0x00;
byteArray[9] = 0x00;
byteArray[10] = 0x00;
byteArray[11] = 0x00;
byteArray[12] = 0x00;
byteArray[13] = 0x5D;
byteArray[14] = 0x17;
byteArray[15] = 0x5D;
byteArray[16] = 0x17;
byteArray[17] = 0x5D;
byteArray[18] = 0x17;
byteArray[19] = 0x01;
byteArray[20] = 0x00;
byteArray[21] = 0xEF;
byteArray[22] = 0x2D;
byteArray[23] = 0x00;
byteArray[24] = 0x00;
byteArray[25] = 0x00;
byteArray[26] = 0x00;
byteArray[27] = 0x00;
byteArray[28] = 0x00;
byteArray[29] = 0x00;
byteArray[30] = 0x7B;
byteArray[31] = 0x0B;
Parse.Phrase(byteArray, 32);
std::cout << "Hello, World!" << std::endl;
return 0;
}