Results 1 to 7 of 7

Thread: Now with "wifi" support!

  1. #1
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924

    Now with "wifi" support!

    Now with "wifi" support! Well, it's not specifically WiFi, it's just a network socket, you'll have to provide your own WiFi. But anyways:

    OBDSim:
    Code:
    chunky@mills:~/src/obdgpslogger$ ./bin/obdsim -k 34000
    SimPort name: Port 34000
    Successfully initialised obdsim, entering main loop
    Socket connected: Port 34000
    10.000473 seconds. 1 samples, 2 queries. 0.10 s/s, 0.20 q/s
    Received EXIT via serial port. Sim Exiting
    chunky@mills:~/src/obdgpslogger$
    Telnet:
    Code:
    chunky@mills:~/src/obdgpslogger$ telnet localhost 34000
    Trying ::1...
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    0100
    0100
    
    41 00 FF FF FF FF
    >ATI
    ATI
    
    ELM327 v1.3a OBDGPSLogger
    >exit
    exit
    Connection closed by foreign host.
    chunky@mills:~/src/obdgpslogger$
    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  2. #2
    Newbie
    Join Date
    Jul 2010
    Posts
    53
    Hey, that will make debugging so simple (sometimes its inconvenient to setup virtual ports).
    I've actually used com2tcp to achieve the same effect.

    Will this be available in windows build btw?

    PS. Had no chance to say _big thanks_ for obdsim - really good piece of software. Its great you've shared it in community. I'm using it often in development of my hobdrive piece of software (/hobd - extended OBD2 based trip computer for WinCE/PocketPC/WinMobile/Windows)

  3. #3
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    I'm glad you like it :-D

    I, erm, I'm not sure if it'll go into the windows build; does windows support good old-fashioned BSD sockets? I feel like I remember it having done so in the past [Yay Trumpet Winsock, back in the day!]
    I imagine it'll magically build now I think about it: I'll give it a try later.

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  4. #4
    Newbie
    Join Date
    Jul 2010
    Posts
    53
    Quote Originally Posted by chunkyks View Post
    does windows support good old-fashioned BSD sockets?
    I've thought obdsim for windows uses cygwin or mingw libs to build up. Believe cygwin should contain bsd socket api port. Im not sure however.

  5. #5
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    The "obdsimwindows" download is built using mingw/msys [it's actually cross-compiled on a Linux machine, when the real bundle is baked, and I futz around under msys on windows while developing].

    It *should* all build under cygwin too, but msys makes a more intuitively appealing binary. [msys is more like a native windows app, making native windows library calls. With cygwin, your code's library calls are all posix, and cygwin knows how to proxy those to "real" windows library calls]

    Anyways. I tried building obdsim for windows with the socket generator last night, but it turns out I'm doing a bunch of stuff that was assuming posixy bits further down the stack. Which is totally my bad, but it does mean it's a lot more effort to make it work properly :-(

    Sounds like, at least in the immediate term, com2tcp is totally the way to go :-/

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  6. #6
    Newbie
    Join Date
    Jul 2010
    Posts
    53
    I've just took a standard cygwin, made some configuration hooks, and viola!

    I've packed it with all the required cygwin libs (so hope it can work even without cygwin installed)

    http://hobdrive.com/download/obdsim-latest-cygwin.zip

    It works with raw socket, and even packed with fltk gui!

    Thanks once more for such an impressive stuff.

    Another question. Is there any easy way to make fltk UI show custom (dynamically changed) PIDs?

  7. #7
    Newbie
    Join Date
    Jun 2012
    Location
    Spain
    Posts
    1
    Hi! I'm using OBDSim to design a free mobile service for remote real-time logging. I'm using the bluetooth interface, but I would like to use the Wifi too.

    I've installed obdsim on a VM with Ubuntu 10.04. The obd-gps logger version is 0.16. When I try the command obdsim -k port the program says that -k is an invalid option. ¿Where is the problem?

    Thanks.

    Jorge

Similar Threads

  1. Slurpr WiFi aggregator promises "free" broadband -- and jail time
    By threat45 in forum Wireless Communications
    Replies: 6
    Last Post: 06-26-2007, 05:15 PM
  2. Support for Avermedia's "AVerTV USB 2.0" (RADIO)
    By agiorgitis in forum Road Runner
    Replies: 0
    Last Post: 05-11-2007, 04:25 PM
  3. Do any of the EPIA boards support "widescreen" yet?
    By rbarr110 in forum General Hardware Discussion
    Replies: 1
    Last Post: 01-26-2006, 05:30 PM
  4. USB adaptors & DIY antenna = "Poor Man's WiFi"
    By Terran in forum Wireless Communications
    Replies: 10
    Last Post: 11-08-2004, 09:52 PM
  5. Replies: 2
    Last Post: 08-09-2004, 02:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •