Category: serial-port

compare hexadecimal values java

Duplicate: Compare hexadecimal and decimal values I’m implementing x-modem protocol in java, I’m reading serialport and storing in byte array of size 1024. then I have converted data to string I’m getting 133 bytes in a packet,problem is I’m not enable to compare hexadecimal value in string and also in bytearray. I’ve to find SOH […]