aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/broeuschmeul/android/gps/sirf/util/SirfUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/broeuschmeul/android/gps/sirf/util/SirfUtils.java')
-rw-r--r--src/org/broeuschmeul/android/gps/sirf/util/SirfUtils.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/org/broeuschmeul/android/gps/sirf/util/SirfUtils.java b/src/org/broeuschmeul/android/gps/sirf/util/SirfUtils.java
index 075322f..65e6b44 100644
--- a/src/org/broeuschmeul/android/gps/sirf/util/SirfUtils.java
+++ b/src/org/broeuschmeul/android/gps/sirf/util/SirfUtils.java
@@ -25,6 +25,19 @@ import java.nio.ByteBuffer;
import java.util.Formatter;
import java.util.Locale;
+/**
+ * Utilities for generation of SIRF III binary command.
+ *
+ * It can be used to generate a array of byte corresponding
+ * to a SIRF III binary command expressed in an hexadecimal string.
+ *
+ * The input can be a complete SIRF III command or just the payload.
+ * In this last case the utility will add the start and end parts of the command
+ * (including the size and the checksum).
+ *
+ * @author Herbert von Broeuschmeul
+ *
+ */
public class SirfUtils {
private static final String start ="A0A2";