antprotocol.protocol.ANTReceiveException: Burst receive failed by event!
Opened this issue · 0 comments
benallard commented
Should I mention that I'm using an Ultra tracker ?
received: ['a4', '09', '50', '20', '00', '86', '0a', '00', '81', '0a', '00', '81', '5b']
received: ['a4', '09', '50', '40', '0a', '00', '85', '18', '00', '85', '18', '0b', 'bc']
received: ['a4', '09', '50', '60', '81', '0a', '00', '81', '0a', '00', '81', '0a', '16']
received: ['a4', '09', '50', '20', '00', '85', '18', '00', '85', '18', '04', '85', '5c']
received: ['a4', '09', '50', '40', '18', '00', '81', '0a', '00', '85', '18', '00', 'b3']
received: ['a4', '09', '50', '60', '81', '0a', '00', '81', '0a', '00', '81', '0a', '16']
received: ['a4', '09', '50', '20', '00', '81', '0a', '00', '85', '0a', '00', '81', '58']
received: ['a4', '09', '50', '40', '0a', '00', '81', '0a', '00', '81', '0a', '00', 'b7']
received: ['a4', '03', '40', '00', '01', '04', 'e2']
fail _check_burst_response
Traceback (most recent call last):
File "./fitbit.py", line 360, in <module>
sys.exit(main())
File "./fitbit.py", line 344, in main
d = device.run_data_bank_opcode(0x00) # 7
File "./fitbit.py", line 267, in run_data_bank_opcode
return self.run_opcode([0x22, index, 0x00, 0x00, 0x00, 0x00, 0x00])
File "./fitbit.py", line 216, in run_opcode
return self.get_data_bank()
File "./fitbit.py", line 273, in get_data_bank
bank = self.check_tracker_data_bank(self.current_bank_id, cmd)
File "./fitbit.py", line 264, in check_tracker_data_bank
return self._get_tracker_burst()
File "./fitbit.py", line 197, in _get_tracker_burst
d = self.base._check_burst_response()
File "/Users/ben/Python/libfitbit/python/antprotocol/protocol.py", line 72, in wrapper
res = f(self, *args, **kwargs)
File "/Users/ben/Python/libfitbit/python/antprotocol/protocol.py", line 253, in _check_burst_response
raise ANTReceiveException("Burst receive failed by event!")
antprotocol.protocol.ANTReceiveException: Burst receive failed by event!