Page 4 of 4 FirstFirst 1234
Results 31 to 34 of 34

Thread: Optimizing Scan Rate

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Quote Originally Posted by Bobby Cannon View Post
    ATBRD23 only return ?> to me. How can I get OBDSIM to speed up it's baud rate for testing?
    Hey Bobby,

    Unfortunately, OBDSim doesn't support baudrate stuff like that.

    There's actually good reason for this: Switching the baudrate on a pty wouldn't actually do anything, so I'm not confident that I can accurately simulate it in a way that would be useful to another developer. I could respond to ATBRDXX traffic as expected, but when you actually modify the speed it may or may not respond as real hardware would.

    Obviously OBDSim can noodle what it thinks is the terminal settings, but that wouldn't do anything; you *really* need a hardware device in the mix that actually exhibits baudrate modification in order to be confident that your code is working

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

  2. #32
    Newbie
    Join Date
    Mar 2013
    Posts
    8
    Thanks, Gary.

    I only venture into the Windows world. I don't go outside it so to me responding to the ATBRD command seems simple and easy.

    I have gotten around the issue by using an ethernet to serial adapter in "raw" mode. The devices appears to OBDSIM as a standard COM port but ignores the command to set the baudrate to 9600. I've told the device to stay at 115200. This way I can simulate how fast my car reader actually reads.

    Thanks,
    Bobby Cannon

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Quote Originally Posted by Bobby Cannon View Post
    I only venture into the Windows world. I don't go outside it so to me responding to the ATBRD command seems simple and easy.

    I have gotten around the issue by using an ethernet to serial adapter in "raw" mode. The devices appears to OBDSIM as a standard COM port but ignores the command to set the baudrate to 9600. I've told the device to stay at 115200. This way I can simulate how fast my car reader actually reads.
    That works. It's still a hardware solution in essence. You could probably do the same thing on Linux.

    But the PTY itself [or, presumably, the COM0COM device on windows] doesn't allow for rate limiting like that. Hard to be sure. I'm glad OBDSim is working for you though!

    Is OBDSim otherwise working well?

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

  4. #34
    Newbie
    Join Date
    Mar 2013
    Posts
    8
    Yeah it's working out OK. I wish I had a way to just set the values to specific settings then ensure my software is reading them correct. I know there are plugin interface but I'm wanting to just focus on my software right now. Last night I had some stuff working on the simulator but when I went to my Jeep it didn't appear to work. I'm adding much logging to my service now so I can see what's actually happening.

Page 4 of 4 FirstFirst 1234

Similar Threads

  1. What's the fastest EML based scan dongle?
    By dgarrett in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 17
    Last Post: 03-06-2010, 08:14 PM
  2. I'm a nubie looking for a scan tool or program
    By raceear in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 3
    Last Post: 02-01-2008, 12:58 AM
  3. Replies: 0
    Last Post: 05-11-2007, 11:59 AM
  4. CF vs Harddrive Transfer Rate (Boot Time)
    By konnichiwa in forum General Hardware Discussion
    Replies: 2
    Last Post: 03-06-2006, 10:37 AM
  5. Replies: 1
    Last Post: 06-18-2004, 06:49 AM

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
  •