Attachment 'toyota-cmd.py'

Download

   1 import sys
   2 import dbus
   3 
   4 def main(service, method, args):
   5     bus = dbus.bus.BusConnection("tcp:host=192.168.2.3,port=6667")
   6     p = bus.get_object(service, "/" + service.replace(".", "/"))
   7     i = dbus.Interface(p, dbus_interface="com.harman.ServiceIpc")
   8     print "calling %s(%s)" % (method, args)
   9     print i.Invoke(method, args)
  10 
  11 if __name__ == "__main__":
  12     main(*sys.argv[1:])

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.