Hi i'm reading 133 length packet from serialport,last 2 bytes contain CRC values,2 bytes value i've make single(short i think) using java. this what i have done,
short high=(-48 & 0x00ff);
short low=80;
short c=(short) ((high<<8)+low);
but i'm not getting correct result,is it problem because signed valued? how can i solve this problem,plz help me i'm in trouble