Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
web:features [2014/12/30 18:58] adminweb:features [2014/12/30 20:10] admin
Line 51: Line 51:
 ===== Simple Syntax ===== ===== Simple Syntax =====
 For easy integration into other projects the [[:doc:rfc_firmware_syntax|dongle command syntax]] is powerful, but simple and easy to parse For easy integration into other projects the [[:doc:rfc_firmware_syntax|dongle command syntax]] is powerful, but simple and easy to parse
 +
 +
 +===== openXC Data Source =====
 +
 +{{:doc:openxc_enabler.png?200 |}}{{:doc:openxc_oobd.png?200 |}} OOBD can also act as Data Source for [[http://openxcplatform.com/|openXC]] and so for any application which uses the openXC interface.
  
  
Line 70: Line 75:
  
  
-{{:doc:opendiagx-screenshot.png?200 |}}Some ODX dialects can be automatically translated into lua scripts ready to use - helpful when transforming module specifications. If your input format is different, just apapt the xslt transformation+{{:doc:opendiagx-screenshot.png?200 |}}Some ODX dialects can be automatically translated into lua scriptsready to use - helpful when transforming module specifications. If your input format is different, just adapt the xslt transformation 
 +<code xml> 
 +<?xml version="1.0" encoding="ISO-8859-1"?> 
 +<xsl:stylesheet version="1.0" 
 +xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
 + 
 +<xsl:template name="trim4"> 
 +<xsl:param name="string" select="'left'" /> 
 +<xsl:value-of select="substring(concat('0000',normalize-space($string)), (string-length(normalize-space($string))+1))"/> 
 +</xsl:template> 
 + 
 + 
 +<xsl:template match="/"> 
 +  <xsl:apply-templates/> 
 + 
 +dofile("../../tools/lib_lua/serial_dxm.lua"
 +dofile("../../tools/lib_lua/lua_utils.lua"
 +dofile("../../tools/lib_lua/luabit/bit.lua"
 +dofile("../lib_protocol/standard-uds.lua"
 +dofile("../lib_protocol/secaccess.lua"
 +dofile("../lib_protocol/module-uds.lua"
 + 
 +</xsl:template> 
 +<xsl:template match="oobdobx"> 
 +moduleName = '<xsl:value-of select="./Name"/>' 
 +shortName = '<xsl:value-of select="./ShortName"/>' 
 +</code>