KevinOConnor / can2040

Software CAN bus implementation for rp2040 micro-controllers
GNU General Public License v3.0
667 stars 66 forks source link

Tx retry count. #40

Closed HondaRulez closed 1 year ago

HondaRulez commented 1 year ago

Hi, Any plan to add a "max retry count" when transmitting ? (like on a empty BUS) anding a new notify like CAN2040_NOTIFY_TX_CANCELLED when the given packet was cancelled.

KevinOConnor commented 1 year ago

I don't have a plan to implement that. I don't know of anyone working on it.

Cheers, -Kevin

linted commented 1 year ago

+1 This would be an extremely useful feature. I have a use case where the other nodes on a canbus may not be present, and being able to stop automatic retransitions would to reset internal state would be extremely useful.

HondaRulez commented 1 year ago

I will do this mod at the weekend because getting very important to me :), I will push here the mods as a pull request...

linted commented 1 year ago

@HondaRulez please take a look at #44 to see if it works for your use case as it does mine.

github-actions[bot] commented 1 year ago

Hello,

It looks like there hasn't been any recent updates on this github ticket. We prefer to only list tickets as "open" if they are actively being worked on. Feel free to provide an update on this ticket. Otherwise the ticket will be automatically closed in a few days.

Best regards,

~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.