luigisaetta / obdii

The repo contains the Python code developed for the Connected Car OSS work
http://lsaetta.blogspot.it/
MIT License
20 stars 4 forks source link

GPS USB not working together OBDII BT #8

Closed luigisaetta closed 6 years ago

luigisaetta commented 6 years ago

I have switched to GPS USB. IN Car tests have shown that OBDII is not working anymore. If we stop gpsreader OBDII works.

There is a conflict. The most probable cause is that both (OBDII e GPS) are both using 0 serial port.

The solution could be to switch GPS to using /dev/ttyUSB1. Need to be tested.

luigisaetta commented 6 years ago

I have solved the issue switching OBD2 on rfcomm1 (instead of default rfcomm0). In runProd.sh bind has parameter 1 (frcomm1) and in OBSII.py it is specified /dev/rfcomm1