> Anyway i will send the data to the device only
So it's a black box with an interface (serial, parallel, USB, network) then.

You only need to worry about the protocol(s) for the communication link.

Google is your friend.
As is any documentation you have on the specific device in question.