braiden / python-ant-downloader

Python Ant Downloader - tools for download from garmin wireless (ANT) devices
BSD 2-Clause "Simplified" License
141 stars 44 forks source link

FR60 tested/supported? #24

Closed chrissssss closed 12 years ago

chrissssss commented 12 years ago

Hi!

I'm having trouble getting the ANT Stick with my FR60 to run, at first I had to change the Product ID in the config file from 1008 to 1004 because my ANT Stick seems to differ.

Don't know if it's a duplicate with the Ubuntu 12.04 support or if I just have the wrong config file, but currently I'm getting:

~$ ant-downloader Traceback (most recent call last): File "/usr/local/bin/ant-downloader", line 9, in load_entry_point('python-ant-downloader==12.03.25', 'console_scripts', 'ant-downloader')() File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/main.py", line 73, in downloader host = antd.cfg.create_antfs_host() File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py", line 112, in create_antfs_host host = antfs.Host(create_ant_session(), keys) File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py", line 99, in create_ant_session session = ant.Session(create_ant_core()) File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py", line 95, in create_ant_core return ant.Core(create_hardware()) File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py", line 91, in create_hardware return hw.UsbHardware(id_vendor, id_product, bulk_endpoint) File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/hw.py", line 53, in init except IOError as (err, msg): ValueError: need more than 1 value to unpack

Can you help? Thank you!

braiden commented 12 years ago

Hi.

Support for ANT stick with PID 0x1004 should be coming (issue #12). I just
the same hardware to test with.

I'm not sure about the FR60. I haven't heard any reports of success or
failure, but I think it implements ANT-FS, as opposed to the older Garmin
Interface Spec which my software supports.

This project,
https://github.com/Tigge/Garmin-Forerunner-610-Extractor/blob/master/ant/base.py,
is closer to supporting ANT-FS, but looks like it does not support USB
stick 0x1004.

Regards,

On , chrissssss
reply@reply.github.com
wrote:

Hi!

I'm having trouble getting the ANT Stick with my FR60 to run, at first I
had to change the Product ID in the config file from 1008 to 1004 because
my ANT Stick seems to differ.

Don't know if it's a duplicate with the Ubuntu 12.04 support or if I just
have the wrong config file, but currently I'm getting:

~$ ant-downloader

Traceback (most recent call last):

File "/usr/local/bin/ant-downloader", line 9, in

load_entry_point('python-ant-downloader==12.03.25', 'console_scripts', 'ant-downloader')()

File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/main.py",
line
73, in downloader

host = antd.cfg.create_antfs_host()

File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py",
line
112, in create_antfs_host

host = antfs.Host(create_ant_session(), keys)

File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py",
line
99, in create_ant_session

session = ant.Session(create_ant_core())

File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py",
line
95, in create_ant_core

return ant.Core(create_hardware())

File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/cfg.py",
line
91, in create_hardware

return hw.UsbHardware(id_vendor, id_product, bulk_endpoint)

File "/usr/local/lib/python2.7/dist-packages/python_ant_downloader-12.03.25-py2.7.egg/antd/hw.py",
line
53, in init

except IOError as (err, msg):

ValueError: need more than 1 value to unpack

Can you help? Thank you!


Reply to this email directly or view it on GitHub:

https://github.com/braiden/python-ant-downloader/issues/24

chrissssss commented 12 years ago

Hi!

I've recently purchased a 310XT so I have now a stick with 0x1008 to test - unfortunately the FR60 does not work with your program. I won't take any efforts in the next time to get the FR60 running