CmdPacket‘s constructor
fix a bug which is because of porting from python to java …The program is ported from python. Byte in python in the range is 0 to 256, but in java, it is in the range of -128 to 127. Adding a judgment to ensure that payload[i] is a positive number and checksum is aways growing.
CmdPacket‘s constructor fix a bug which is because of porting from python to java …The program is ported from python. Byte in python in the range is 0 to 256, but in java, it is in the range of -128 to 127. Adding a judgment to ensure that payload[i] is a positive number and checksum is aways growing.
RMDevice's getTemp() Payload is from 0x38 of data