cyrils / renogy-bt

Python library to read Renogy compatible BT-1 or BT-2 bluetooth modules using Raspberry Pi.
GNU General Public License v3.0
76 stars 27 forks source link

Support error callback #72

Open cyrils opened 1 week ago

cyrils commented 1 week ago

Give callback when an exception occurs connecting/reading device.

example usage:

RoverClient(config, on_data_received, on_error).connect()