// =============== making a package to send ==================
byte[] sendPackage = new byte[512]; // package to send
byte[] isLast = new byte[1]; // indicated the package is the last one or
not
byte[] checkSum = new byte[20];
byte[] size = new byte[3]; //holds the size of data
byte[] seqNumber = new byte[3]; // holds the sequence number for the package
byte[] data = new byte[505]; //485 holds the data to send
barcode reader기에서 인식된 후
data를 pos에서 중간에 catch해서 dvr에 display하고자 합니다.
이렇게 전송받고자 할 때, data format이나, protocol등의 규약이 정의되어 있나요?
아님 그냥 rs232에서 data를 쭈욱 찍는 방법인가요?