Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Cannot initialize DBUS obdsim generator

  1. #21
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Look at the signature of the dbus signal as it's fired in dbus-monitor. It should give you all the information you need. The service, the path, the interface and the method/signal name. And also the parameters.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  2. #22
    Newbie
    Join Date
    Aug 2007
    Posts
    17
    OK I'll try that out and report back

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Now I just need to learn how to grab DBus events without depending on introspection... Any clues?
    I can think of an easy example... That's exactly what the obdsim dbus generator does. In C:
    src/sim/generators/dbus/gen_dbus.c

    It would take much to write a config file for obdsim that would listen to obdgpslogger. So a determined user could do something like launch
    obdsim -g Random -o
    Then launch another obdsim with the DBus generator configured to listen to obdgpslogger. Ideally you'd get almost exactly the same output from both logger instances [practical reasons mean you wouldn't get *exactly* the same output, but it'd be damn close]

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

Page 3 of 3 FirstFirst 123

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
  •