I have different errors to you: Code: libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> '0101|' libobd[RAW_DATA]: Recieved from ELM -> 'SEARCHING...|UNABLE TO CONNECT||>' but I can usually connect every other time I try to do so except sometimes when I disconnect I see this in the logs: Code: DEBUG [10:17:02.305572]bt-serial.c:0174 - disconnect_service(): address /dev/rfcomm0 ERROR [10:17:02.306213] obd-thread.c:0309 - Problems removing bluetooth connection and subsequently when I try to reconnect I see the disconnected message in Carman almost immediately and this in the log file: Code: ERROR [10:17:06:607788] bt-serial.c:0149 - DBus error: Port already in use and when this happens so far I have only been able to fix things by restarting my N900. I suspect the 1st problem (UNABLE TO CONNECT) and your problem (CAN ERROR) are related to ELM327 control messages, but the bluetooth connection itself is OK. The second problem (DBus error) is something to do with the bluetooth connection itself. I've succesfully recompiled libobd with a few changes to the initialisation part; specifically: Changed 'ATST 19' to 'ATST 00' (use default OBD/ELM timeout) Changed 'ATAT2' to 'ATAT1' (default auto timeout algorithm) Added 'ATSS' (use recommended OBD search sequence) Added 'ATSP0' (search for OBD interface type) Although this hasn't made any difference for me it may resolve your CAN_ERROR problem because I tell the ELM327 to use the recommended search sequence (ATSS) and to always search for OBD (ATSP0) I've sent you a pm if you want to try it out. If it stil doesn't help then I can add code to libobd to specify each OBD method individually... I already plan to make it try to connect a few times before giving up to see if that helps. Hopefully someone (probably called 'jlu' ) will be able to give me a hint about the bluetooth DBus error message I get Sophie x
libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> '0101|' libobd[RAW_DATA]: Recieved from ELM -> 'SEARCHING...|UNABLE TO CONNECT||>'
DEBUG [10:17:02.305572]bt-serial.c:0174 - disconnect_service(): address /dev/rfcomm0 ERROR [10:17:02.306213] obd-thread.c:0309 - Problems removing bluetooth connection
ERROR [10:17:06:607788] bt-serial.c:0149 - DBus error: Port already in use