Skip to content

When LocoNet bus is unresponsive, sending to it causes everything to lag due to sending retries #33

Description

@positron96

When LocoNet is unresponsive (testing on a bare MCU, disabled LocoNet pullups etc), sending to the bus blocks the thread that initiated the sending., e.g. LocoNetTCPServer or main one (executing CommandStation code).

Partly caused by positron96/LocoNet2#1, but in general retrying sending for some time will block even after that is fixed.
Probably sending should be put into its own thread

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions