-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_time fails on Garmin vívofit 1. Gen, latest fw #39
Comments
In the meantime I've found out, the response got longer (24 instead of 16 bytes). |
Isolated response from vívofit 1 (fw 4.90) to set_time: DEBUG Read data: [a4 09 50 00 43 34 03 00 39 05 00 00 b5] (now have [a4 09 50 00 43 34 03 00 39 05 00 00 b5] in buffer) (ant.py:227) |
A similar problem exists with vivofit 2, crashing at the same location.
|
See also Tigge/antfs-cli#162 which seems to be the same problem. |
antfs-cli fails with the following traceback while processing response to set_time:
Traceback (most recent call last):
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/antfs_cli-0.3-py3.7.egg/antfs_cli/program.py", line 356, in main
g.start()
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/ant/fs/manager.py", line 217, in start
self._main()
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/ant/fs/manager.py", line 155, in _main
self.on_transport(beacon)
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/antfs_cli-0.3-py3.7.egg/antfs_cli/program.py", line 198, in on_transport
result = self.set_time()
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/ant/fs/manager.py", line 349, in set_time
result = self._get_commandpipe()
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/ant/fs/manager.py", line 228, in _get_commandpipe
return ant.fs.commandpipe.parse(self.download(0xfffe))
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/ant/fs/commandpipe.py", line 213, in parse
return commandpipe_type._parse(data)
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/ant/fs/commandpipe.py", line 87, in _parse
args = cls._parse_args(data)
File "/home/as/Downloads/garmin/lib/python3.7/site-packages/ant/fs/commandpipe.py", line 83, in _parse_args
return struct.unpack(cls._format, data)
struct.error: unpack requires a buffer of 16 bytes
Full consolelog with antfs-cli --debug attached.
consolelog.txt
Edit: sync.pcap.gz didn't add any value; removed it
The text was updated successfully, but these errors were encountered: