Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFi #26

Open
drewwells opened this issue Mar 25, 2017 · 6 comments
Open

WiFi #26

drewwells opened this issue Mar 25, 2017 · 6 comments

Comments

@drewwells
Copy link

Can this be adapted to the wifi serial interface? 192.168.0.10:35000

@EricSmekens
Copy link
Owner

That would require quite some changes. Could be possible ofcourse, you just need to swap out the bluetooth-serial-connection with a wifi kind of module.

@drewwells
Copy link
Author

I was thinking of switching out bluetooth with this. https://github.com/monteslu/udp-serial

Not sure if this package works, I've only got a successful connection to my elm327. Haven't been able to read or write to the port.

@arjunroychowdhury
Copy link

I've forked a version that uses TCP - I've tested it with obdsim so far. Seems to work fine. Work in progress. https://github.com/hsccorp/node-bluetooth-tcp-obd and an example at https://github.com/hsccorp/obd-tcp-test

My JS skills aren't up to snuff, so I'm sure I've done things that are not ideal. Happy to accept PRs and happy to get this merged with @EricSmekens library if he'd like - but I have no way to test if my changes affected the BT part (plus it will need better cleanup)

@EricSmekens
Copy link
Owner

Cool, I will try to have a look soon. Would be cool to merge this, and make a generic module that could work with bluetooth/tcp and serial. But time is an issue.

@EricSmekens
Copy link
Owner

@arjunroychowdhury Did you manage to test this on a simulator?
I am willing to spend time on this project again, but testing this requires qiute a lot of time, which demotivates the effort to put into this.

Would be nice to know what you think of this.

@arjunroychowdhury
Copy link

arjunroychowdhury commented Aug 30, 2017

@EricSmekens, yes. I'm using it with the TCP fork of obdsim and a real mobile app
Summary of links:
a) My TCP fork of your excellent work: https://github.com/hsccorp/node-bluetooth-tcp-obd
b) TCP fork of obdsim simulator that I am using to test https://github.com/oesmith/obdgpslogger
c) My sample mobile app that uses the TCP fork of your library https://github.com/hsccorp/obd-tcp-test (scroll down for screenshots - shows values being reported by obdsim)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants