Version 1.9.1

- Bugfix for qualcomm HIDL interface
diff --git a/src/common/inc/ant_version.h b/src/common/inc/ant_version.h
index e7c3a97..74184b4 100644
--- a/src/common/inc/ant_version.h
+++ b/src/common/inc/ant_version.h
@@ -21,7 +21,7 @@
 

 #define LIBANT_STACK_MAJOR "1"

 #define LIBANT_STACK_MINOR "9"

-#define LIBANT_STACK_INCRE "0"

+#define LIBANT_STACK_INCRE "1"

 

 #endif // __ANT_VERSION_H

 

diff --git a/src/qcomm-hidl/AntHidlClient.cpp b/src/qcomm-hidl/AntHidlClient.cpp
index 37aa540..a411af3 100644
--- a/src/qcomm-hidl/AntHidlClient.cpp
+++ b/src/qcomm-hidl/AntHidlClient.cpp
@@ -204,7 +204,7 @@
    ALOGV("%s: proto type  :%d", __func__, packet_type);
    if (anthci != nullptr)
    {
-      data.setToExternal(pucTxMessage+1, ucMessageLength);
+      data.setToExternal(pucTxMessage+1, ucMessageLength-1);
       if (packet_type == ANT_DATA_TYPE_PACKET)
       {
          anthci->sendAntData(data);