Initial project commit

This commit is contained in:
2020-07-18 21:44:27 -04:00
parent 8a1141b373
commit fea891a268
127 changed files with 20838 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package com.eveningoutpost.dexdrip.G5Model;
// created by jamorham
import com.eveningoutpost.dexdrip.Models.JoH;
import com.eveningoutpost.dexdrip.Models.UserError;
public class CalibrateTxMessage extends BaseMessage {
final byte opcode = 0x34;
final int length = 9;
final int glucose;
public CalibrateTxMessage(int glucose, int dexTime) {
init(opcode, length);
this.glucose = glucose;
data.putShort((short) glucose);
data.putInt(dexTime);
appendCRC();
UserError.Log.d(TAG, "CalibrateGlucoseTxMessage dbg: " + JoH.bytesToHex(byteSequence));
}
}