Sometimes the status_info returns a NaN value, which is of float datatype. So, the '&' operation at line "self.device_worn_confidence = 1 - (status_info & 3)/3" in protocol.py throws a TypeError:
Error Msg:
TypeError: unsupported operand type(s) for &: 'float' and 'int'
Sometimes the status_info returns a NaN value, which is of float datatype. So, the '&' operation at line "self.device_worn_confidence = 1 - (status_info & 3)/3" in protocol.py throws a TypeError:
Error Msg:
TypeError: unsupported operand type(s) for &: 'float' and 'int'