Git Product home page Git Product logo

Comments (3)

jeffmcfadden avatar jeffmcfadden commented on September 15, 2024

Hm. Double check that you’re connected to the device via WiFi (My laptop was always jumping off even when I wanted it to stay connected, for example).

Also, you might need to be testing via device to get this to work rather than the simulator.

If you still have no luck I’d try just connecting to port 35000 via telnet to see if it will connect at all.

— Jeff

On Jan 7, 2016, at 3:43 AM, NGLocanovic [email protected] wrote:

Hello,
first of all thank you for sharing your Code!
I'm trying to connect to my OBDII-Adapter, but the App just says "Starting" and after a few time the Console says "Can not connect to the host!"
IP-Address and Port should be identical to your Adapter
Is yours still working?

My Adapter:
http://wwwamazonde/gp/product/B00DE8AAX2?psc=1&redirect=true&ref_=oh_aui_detailpage_o03_s00

Full Console-Log:
2016-01-07 11:36:17703 CarDash[4251:4604560] -[FAOBD2Communicator startStreaming]
2016-01-07 11:36:19708 CarDash[4251:4604560] -[FAOBD2Communicator sendInitialATCommands1]
2016-01-07 11:37:33741 CarDash[4251:4604560] <0x15d47840 FAOBD2Communicatorm:(227)> Can not connect to the host!
2016-01-07 11:37:33742 CarDash[4251:4604560] <0x15d47840 FAOBD2Communicatorm:(227)> Can not connect to the host!
2016-01-07 11:37:33742 CarDash[4251:4604560] -[FAOBD2Communicator sendInitialATCommands2]
2016-01-07 11:37:33743 CarDash[4251:4604560] -[FAOBD2Communicator streamPIDs]
2016-01-07 11:37:33844 CarDash[4251:4604560] <0x15d47840 FAOBD2Communicatorm:(162)> askForPIDs 10


Reply to this email directly or view it on GitHub #1.

from cardash.

NGLocanovic avatar NGLocanovic commented on September 15, 2024

Thanks for your quick reply!

I managed to connect to the Car.
It also communicates with it:

"2016-01-08 17:42:51.052 CarDash[2997:39164] -[FAOBD2Communicator sendInitialATCommands2]
2016-01-08 17:42:51.081 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(202)> NSStreamEventHasBytesAvailable
2016-01-08 17:42:51.082 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(216)> server said: ATZ
2016-01-08 17:42:51.941 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(202)> NSStreamEventHasBytesAvailable
2016-01-08 17:42:51.941 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(216)> server said:
ELM327 v1.5"

But it cannot get any data from the Pids:

*2016-01-08 17:42:54.353 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(175)> askForPIDs 0D
2016-01-08 17:42:54.498 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(202)> NSStreamEventHasBytesAvailable
2016-01-08 17:42:54.498 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(216)> server said: 0D1
NO DATA *

This is with all Pids. Do you know how I can fix this?
My Pids that I can use with my car are shown in the screenshots attached

screen shot 2016-01-08 at 17 35 52

from cardash.

jeffmcfadden avatar jeffmcfadden commented on September 15, 2024

You might try just using telnet to see if you can send the AT commands successfully and see what format the data is coming back in. Perhaps it’s close-but-not-quite exactly what CarDash is expecting?

— Jeff

On Jan 8, 2016, at 9:59 AM, NGLocanovic [email protected] wrote:

Thanks for your quick reply!

I managed to connect to the Car.
It also communicates with it:

"2016-01-08 17:42:51.052 CarDash[2997:39164] -[FAOBD2Communicator sendInitialATCommands2]
2016-01-08 17:42:51.081 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(202)> NSStreamEventHasBytesAvailable
2016-01-08 17:42:51.082 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(216)> server said: ATZ
2016-01-08 17:42:51.941 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(202)> NSStreamEventHasBytesAvailable
2016-01-08 17:42:51.941 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(216)> server said:
ELM327 v1.5"

But it cannot get any data from the Pids:

*2016-01-08 17:42:54.353 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(175)> askForPIDs 0D
2016-01-08 17:42:54.498 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(202)> NSStreamEventHasBytesAvailable
2016-01-08 17:42:54.498 CarDash[2997:39164] <0x7fad40e2a370 FAOBD2Communicator.m:(216)> server said: 0D1
NO DATA *

This is with all Pids. Do you know how I can fix this?
My Pids that I can use with my car are shown in the screenshots attached

https://cloud.githubusercontent.com/assets/8858043/12203732/ca6d6684-b630-11e5-9a95-2d931a509f27.png

Reply to this email directly or view it on GitHub #1 (comment).

from cardash.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.