Tigge / openant

ANT and ANT-FS Python Library
MIT License
174 stars 80 forks source link

DownloadRequestResponse doesn't handle errors #13

Closed Tigge closed 6 months ago

Tigge commented 9 years ago

The ANT-FS standard specifies:

"Total number of bytes remaining in the data block. If no data is available for the specified data block (i.e. response is NOT = 0), the total remaining data length shall be set to 0, and the burst transfer is completed following the response (i.e. the footer packet is not included)."

Right now openant can't handle a missing footer which causes errors when a file can't be downloaded for some reason.