I'm using an ELM327 WiFi Dongle, connected it to the Pi, created a socat using:
Code: Select all
sudo socat pty,link=/dev/ttyUSB0,waitslave tcp:192.168.0.10:35000Code: Select all
sudo rfcomm bind 0 /dev/ttyUSB0Code: Select all
import obd
connection = obd.OBD()
cmd = obd.commands.SPEED
response = connection.query(cmd)
print(response.value)
print(response.value.to("mph"))Code: Select all
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)