Please run with -d7 to get the actual odb2 coms. I bet you have the wrong baud if you are using a obdlink device.
Regards, Kevron On Wednesday, October 23, 2013, Chino Aureus <[email protected]> wrote: > Hi, > > First, is there an official mailing list for AMB? I'll post suceeding questions on there. > > Anyway, I was able to connect with Scantool OBDLink and I need help on the the log below. > > 1.) what is the meaning of > 382512550.73074 | obd2source.cpp : 158 Got single shot request: 010D1 : VehicleSpeed > is 010D1 means a value for a vehicles speed? My car is on a partk mode but engine is running. > > 2) What's the meaning of '(1)' in the ERROR log below. > > 1382512550.71717 | Loading config file: /etc/ambd/config > 1382512550.7175 | No mainloop specified in config. Using glib by default. > 1382512550.71755 | plugin config key: name value: OBD2Source > 1382512550.71759 | plugin config key: path value: /usr/local/lib/automotive-message-broker/obd2sourceplugin.so > 1382512550.71762 | plugin config key: device value: /dev/ttyUSB0 > 1382512550.71765 | plugin config key: baud value: 9600 > 1382512550.71768 | plugin config key: bluetoothAdapter value: > 1382512550.71771 | Loading plugin: /usr/local/lib/automotive-message-broker/obd2sourceplugin.so > 1382512550.71951 | setSupported () adding support for property VehicleSpeed > 1382512550.71957 | setSupported () adding support for property EngineSpeed > 1382512550.71959 | setSupported () adding support for property MassAirFlow > 1382512550.71962 | setSupported () adding support for property VIN > 1382512550.71964 | setSupported () adding support for property WMI > 1382512550.71967 | setSupported () adding support for property EngineCoolantTemperature > 1382512550.71969 | setSupported () adding support for property AirIntakeTemperature > 1382512550.71972 | setSupported () adding support for property EngineLoad > 1382512550.71974 | setSupported () adding support for property ThrottlePosition > 1382512550.71977 | setSupported () adding support for property BatteryVoltage > 1382512550.71979 | setSupported () adding support for property Obd2Connected > 1382512550.71989 | obd2source.cpp : 541 Incoming setting: baud : 9600 > 1382512550.71995 | obd2source.cpp : 541 Incoming setting: bluetoothAdapter : > 1382512550.71998 | obd2source.cpp : 541 Incoming setting: device : /dev/ttyUSB0 > 1382512550.72002 | obd2source.cpp : 541 Incoming setting: name : OBD2Source > 1382512550.72005 | obd2source.cpp : 541 Incoming setting: path : /usr/local/lib/automotive-message-broker/obd2sourceplugin.so > 1382512550.72031 | Trying to free obj > 1382512550.72035 | Done first > 1382512550.72038 | plugin config key: name value: ExampleSink > 1382512550.72041 | plugin config key: path value: /usr/local/lib/automotive-message-broker/examplesinkplugin.so > 1382512550.72044 | Loading plugin: /usr/local/lib/automotive-message-broker/examplesinkplugin.so > 1382512550.72053 | obd2source.cpp : 176 Command: setportandbaud > 1382512550.72061 | Subscribing to: EngineSpeed > 1382512550.72065 | Subscribing to: VehicleSpeed > 1382512550.72067 | Subscribing to: Latitude > 1382512550.72069 | Subscribing to: Longitude > 1382512550.72071 | Support changed! > 1382512550.72075 | obd2source.cpp : 716 getPropertyAsync requested for VehicleSpeed > 1382512550.72081 | obd2source.cpp : 716 getPropertyAsync requested for VIN > 1382512550.72085 | obd2source.cpp : 716 getPropertyAsync requested for WMI > 1382512550.72088 | obd2source.cpp : 716 getPropertyAsync requested for BatteryVoltage > 1382512550.72091 | Trying to free obj > 1382512550.72092 | Done > 1382512550.73074 | obd2source.cpp : 158 Got single shot request: 010D1 : VehicleSpeed > 1382512550.73084 | obd2source.cpp : 176 Command: connectifnot > 1382512550.73087 | Obd2Source::Connect() /dev/ttyUSB0 9600 > 1382512550.73093 | Attempting to open com port /dev/ttyUSB0 > 1382512550.73225 | Com Port Opened 5 > 1382512550.73233 | Setting baud rate to 9600 on port /dev/ttyUSB0 > 1382512560.72105 | ERROR Velocity Async request failed ( 1 ) > 1382512560.72119 | ERROR VIN Async request failed ( 1 ) > 1382512560.72126 | ERROR WMI Async request failed ( 1 ) > 1382512560.72131 | ERROR BatteryVoltage Async request failed ( 1 ) > > Thanks > > > On Sat, Oct 19, 2013 at 9:51 AM, Chino Aureus <[email protected]> wrote: >> >> i see. I missed the plugins directory. >> >> Thanks :) >> >> >> On Sat, Oct 19, 2013 at 1:11 AM, Rees, Kevron <[email protected]> wrote: >>> >>> AMB has a number of plugins. The OBD2 plugin is what you want. You >>> have to enable it at configure time for it to build. Take a look at >>> the README[1] for the plugin to see how to enable it and configure it >>> with your device. There is also a wiki page[2] on how to get AMB to >>> work with OBD-II scantools on Tizen. >>> >>> Cheers, >>> Kevron >>> >>> [1] - https://github.com/otcshare/automotive-message-broker/blob/0.10/plugins/obd2plugin/README >>> [2] - https://wiki.tizen.org/wiki/Automotive_Message_Broker#Configuring_and_using_the_OBD-II_plugin >>> >>> On Fri, Oct 18, 2013 at 9:54 AM, Chino Aureus <[email protected]> wrote: >>> > Hi Kevron, >>> > >>> > Thanks. >>> > >>> > I'm trying to understand AMB's architecture. Upon looking at the doc >>> > included in the package, it seems that AMB package does not include modules >>> > or source code that directly connects to an OBD2 source e.g. USB/BLUETOOTH. >>> > Is this correct? >>> > >>> > I was able to build AMB in ubuntu 12.10 now and I have a OBD2 device from >>> > Scantool. Any suggestion how can test AMB with my device? >>> > >>> > :) >>> > >>> > Thanks in advance. >>> > Chino >>> > >>> > >>> > On Fri, Sep 13, 2013 at 6:34 AM, Rees, Kevron <[email protected] > >>> > wrote: >>> >> >>> >> After months of steady improvements, 0.10 is now officially released. >>> >> >>> >> Release notes for release 0.10 >>> >> >>> >> New features: >>> >> >>> >> - Added org.automotive.Manager DBus interface. >>> >> - Added org.automotive.Manager.findProperty method for finding a specific >>> >> object path for a given property >>> >> - OBD2 add support for AT/ST calls (ie, atrv for battery voltage) >>> >> - Added automatic and configurable timeout for get() calls >>> >> - Added error type for get() calls >>> >> - Added getHistory dbus method for vehicle data objects >>> >> - Added time and sequence properties to dbus vehicle data object >>> >> - Implemented org.freedesktop.DBus.Properties.PropertiesChanged signal >>> >> >>> >> Changes: >>> >> >>> >> - AbstractPropertyType class now contains information for zone and the >>> >> property name (zone is unused in 0.10) >>> >> - Clean up sink subscription process so that subscription only happens >>> >> once regardless of whether the property is supported or not at the time >>> >> >>> >> Fixes: >>> >> >>> >> - Fill in the fromGVariant() methods in list and map abstract property >>> >> types >>> >> >>> >> Thanks, >>> >> Kevron >>> >> >>> >> _______________________________________________ >>> >> IVI mailing list >>> >> [email protected] >>> >> https://lists.tizen.org/listinfo/ivi >>> >> >>> > >>> > >>> > _______________________________________________ >>> > IVI mailing list >>> > [email protected] >>> > https://lists.tizen.org/listinfo/ivi >>> > >> > >
_______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
