I need to write a frame to a RFID reader over TCP. According to the manual…
A frame looks like the following:
Start + data block + end
The start is made up of 0xAA 0xBB 0x01 0x01, The end is made up of 0xAA 0xCC.
The frame “ASyncGetEPCs” is shown here as an example. The ID for this command is “0x0111”, which makes the frame look like this: 0xAA 0xBB 0x01 0x01 0x11 0x01 0xAA 0xCC