Connect obdsim to Torque (Android app) Ubuntu

I am trying to connect odbsimvia bluetooth using Samsung S4 . After successfully connecting my devices with ubuntu, my results connecting obdsim with the phone never happened.

Whenever I tried to run a command obdsim -b, it always threw an error: SimPort name: Not yet connected

I also tried connecting it to windows using the com0com serial port, but was unable to execute it. And the windows obdsim -bcontain invalid parameters.

Please help me connect a simulator with an Android device.

Thanks
Boopathy.

+4
source share
2 answers

I used almost the same method described here and here , and it worked. It worked without using com0com.

Option

-g . gui_fltk, .

enter image description here

+6

Linux, OBDSim.

, , .

  • OBDSim:

    wget http://icculus.org/obdgpslogger/downloads/obdgpslogger-0.16.tar.gz 
    

    : http://icculus.org/obdgpslogger/

  • OBDSim:

    tar -zxvf obdgpslogger-0.16.tar.gz
    cd obdgpslogger-0.16
    mkdir build
    cd build
    

    , cmake , :

    sudo apt-get install libbluetooth-dev libfltk1.1-dev libfltk1.1 fltk1.1-doc fluid fftw3-dev libgps-dev libftdi-dev
    cmake .. 
    make obdsim
    cd ../bin/
    
  • OBDSim:

    ./obdsim -b -g gui_fltk
    

    OBDSim, . , Bluetooth.

  • serial- > bluetooth:

    sudo rfcomm bind 0 00:00:00:00:00:00 1 # Change this MAC address, putting the MAC of your device
    sudo sdptool add SP
    

    MAC- hcitool:

    hcitool scan 
    

    , Bluetooth " Bluetooth".

+5

All Articles