It is very difficult to find out what your problem may be. I used the library you specified and includes an example application to help you understand how the library works.
I recommend that you use the obdgpslogger application ( http://icculus.org/obdgpslogger/ ), which includes the OBDSim module ( http://icculus.org/obdgpslogger/obdsim.html ). This module can act as an emulator of an ELM327 device. Using it under Linux, you can emulate the ELM327 Bluetooth dongle. Using this application, you will be able to receive a message about connecting and disconnecting Bluetooth, AT configuration addresses sent to the ELM327 device, and request speed.
I think it will be easier than using a real car.
I know that it takes time to understand everything, but you can do it.
Hope this helps.
bernatp
source share