Skip to content

Commit

Permalink
javadoc for success
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoglom committed Dec 27, 2024
1 parent 44bfab4 commit 70ddf92
Show file tree
Hide file tree
Showing 27 changed files with 84 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public void parse(byte[] raw) {
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ public static byte[] buildCargo(int status, int bolusId, int nackReason) {
new byte[]{ (byte) nackReason }
);
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ public static byte[] buildCargo(int status, int unknown1) {
new byte[]{ 0, 0, 0, 0, 0, 0, 0, 0, 0}
);
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ public static byte[] buildCargo(int status) {
return Bytes.combine(
new byte[]{ (byte) status });
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public static byte[] buildCargo(int status) {
new byte[]{ (byte) status });
}

/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public static byte[] buildCargo(int status) {
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ public static byte[] buildCargo(int status, int bolusId, int statusType) {
new byte[]{ 0, 0},
new byte[]{ (byte) statusType });
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public void parse(byte[] raw) {
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ public static byte[] buildCargo(int status) {
new byte[]{ (byte) status });
}

// 0 = success
/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public void parse(byte[] raw) {
this.status = raw[0];
}

/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public static byte[] buildCargo(int status) {
new byte[]{ (byte) status });
}

/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public static byte[] buildCargo(int status) {
new byte[]{(byte) status});
}

/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public void parse(byte[] raw) {
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public static byte[] buildCargo(int status) {
);
}

/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static byte[] buildCargo(byte[] raw) {


/**
* @return 0 if successful otherwise unsuccessful
* @return 0 if successful
*/
public int getStatus() {
return status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ public static byte[] buildCargo(int status) {
return Bytes.combine(
new byte[]{ (byte) status });
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ public static byte[] buildCargo(int status) {
}


// 0 = success
/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public void parse(byte[] raw) {

}

/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ public static byte[] buildCargo(int status) {
return Bytes.combine(
new byte[]{ (byte) status });
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ public static byte[] buildCargo(int status, int streamId) {
new byte[]{ (byte) status },
new byte[]{ (byte) streamId });
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ public static byte[] buildCargo(int status, int bolusId, long timestamp, long de
);
}

/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ public static byte[] buildCargo(int status, int bolusId, long timestamp, long de
Bytes.toUint32(extendedBolusDuration),
Bytes.toUint32(requestedVolume));
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ public static byte[] buildCargo(int status, int supportedFeaturesIndex, long pum
new byte[]{ (byte) supportedFeaturesIndex },
Bytes.toUint32(pumpFeaturesBitmask));
}


/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ public int getFeatureLock() {
public int getOledTimeout() {
return oledTimeout;
}
/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ public int getHighBGThreshold() {
public int getSiteChangeDays() {
return siteChangeDays;
}
/**
* @return 0 if successful
*/
public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public static byte[] buildCargo(int status) {
return new byte[]{(byte) status};
}


public int getStatus() {
return status;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public static byte[] buildCargo(long pumpTimeSec, long sequenceNum, int status,
Bytes.toUint32(timestamp),
Bytes.toUint32(transmitterTimestamp)));
}

public int getStatus() {
return status;
}
Expand Down

0 comments on commit 70ddf92

Please sign in to comment.