[Pkg-running-devel] [antpm] 04/14: antfs: attempt to recognise FR 410 as well

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Sat Oct 10 11:28:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

ralovich-guest pushed a commit to branch master
in repository antpm.

commit 4101fbe903790267d2f828226885aa13ba7484bf
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Tue Aug 18 22:42:04 2015 +0200

    antfs: attempt to recognise FR 410 as well
---
 src/AntFr310XT.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/AntFr310XT.cpp b/src/AntFr310XT.cpp
index 9f64f54..f777c3e 100644
--- a/src/AntFr310XT.cpp
+++ b/src/AntFr310XT.cpp
@@ -483,7 +483,7 @@ AntFr310XT::handleEvents()
     // channel status <>
     CHECK_RETURN_FALSE_LOG_OK_DBG2(m_antMessenger->ANT_RequestMessage(chan, MESG_CHANNEL_STATUS_ID));
 
-    if(clientDevName=="Forerunner 405" || isAntpm405Override())
+    if(clientDevName=="Forerunner 405" || clientDevName=="Forerunner 410" || isAntpm405Override())
       changeStateSafe(ST_ANTFS_GINTF_DL_CAPS);
     else if(mode==MD_DOWNLOAD_ALL || mode==MD_DIRECTORY_LISTING)
       changeStateSafe(ST_ANTFS_DL_DIRECTORY);
@@ -856,6 +856,9 @@ AntFr310XT::guessDeviceType(const ushort devNum, const uchar devId, const uchar
     return true;
   }
 
+  // 410
+  // devNum=0xdbfd devId=0x01 transType=0x05
+  // Beacon=1Hz
 
   return false;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git



More information about the Pkg-running-devel mailing list