brendan-w / python-OBD

OBD-II serial module for reading engine data
GNU General Public License v2.0
1.02k stars 360 forks source link

Connection state #210

Open TwoTenPvP opened 3 years ago

TwoTenPvP commented 3 years ago

Hello!

I am intending to use the this library in it's async form. But I fail to understand how to approach connection handling. I would like to have automatic reconnect handling say if the vehicle is restarted etc.

But I see now way of detecting connection changes. From what I understand, OBDStatus is only set once and is never updated, say if the vehicle is turned off.

Thanks in advance!