python-ant icon indicating copy to clipboard operation
python-ant copied to clipboard

FR70 hrm belt - Unexpected message during init

Open biop-zz opened this issue 13 years ago • 0 comments

I could not run the 01-reset.py using garmin usb-ant stick and belt

Looking at the data, there was a MESSAGE_STARTUP which was not processed in message.py I added

    elif self.type_ == MESSAGE_STARTUP:
         msg = ChannelAcknowledgedDataMessage()
    elif self.type_ == MESSAGE_INVALID: #message not decoded, prefer to process
        raise MessageError('Invalid message')

...

and now it works well

Belt reference: HRM2-SS dump of fit file info related to heart rate monitor belt: manufacturer=garmin, serial_number=19, product=5, software_version=0.04, cum_operating_time=10426, device_index=2, device_type=heart_rate, hardware_version=4

I don't know why this message appears, I had to modify the usb initialisation but it should not have any effect.

Regards

Philippe

biop-zz avatar Aug 23 '12 15:08 biop-zz