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
Normal Sort Sort + uniq Sort + uniq + countYou are not allowed to attach a file to this page.