Hello!
I need help to finish my DLL Shield.
My packet 0x64 content: (my dll working)
My part of DLL source:
unsigned int command = (*(unsigned short*)buf); if( (command == 0x64) ) { //if login packet, send mac to host serv char mac_address[18] = ""; GetMACaddress((char *)mac_address); //GET MAC memcpy((char*)buf+*len, mac_address, sizeof(mac_address)); //ATTACH MAC IN TO CURRENT PACKET 0X64 *len += 17; } ...
correctly sends new packet value
How do I get data added to the packet leng in the emulator?
I tried so;
char mac = RFIFOL(fd,12);
But always returns zero...
But I need some tips to properly handle this new value! I want to add MAC, HWID, Shield Version. I'm testing
first only with the MAC!
Help-me pls, I intend to share the DLL Shield for community!