Skip to content

Conversation

@shayana18
Copy link
Contributor

very much in progress

bootloader.py Outdated
def _validator(msg: can.Message):
# Ignore all known status messages
print(f"Can ID that come through {msg.arbitration_id}\n")
if msg.arbitration_id == NAK_ID:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space here lol

bootloader.py Outdated
else:
return True

for i, self.__transmission_address in enumerate(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you overwriting the transmission address in the loop? then the NAK would not do anything. if you are overwriting, it would probably be good to instead reset transmission address (in the loop) to the dropped packet address and retransmit starting from there

Copy link

@peterjinweigu peterjinweigu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good boss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants