linux-automation / lxa-iobus

Linux Automation IOBus server
https://lxa-iobus.readthedocs.io/en/latest/
Apache License 2.0
3 stars 4 forks source link

Show LSS state and CAN TX error on status page #28

Closed SmithChart closed 2 years ago

SmithChart commented 2 years ago

This change propagates the network state into the /server-info/ API and displays this information on the status page.

Without this change the user did not get any feedback that a scan is in progress. Especially with a new node (where the LSS address is not yet cached) this takes a few seconds. With this change a user gets feedback once a new node is discovered on the bus and LSS tries to determine it's LSS address.

While implementing this I also plumbed the CAN TX error from the network into the fronted.