Difference between revisions of "Dbus"

From Navit's Wiki
Jump to: navigation, search
(Setting route destinations)
(Update methods)
Line 9: Line 9:
 
==Center map==
 
==Center map==
  
Name: <br>
+
Name: set_center<br>
Args: (none)<br>
+
Args: (pro, x, y)<br>
 
Returns: (none) <br>
 
Returns: (none) <br>
 +
 +
==Set layout==
 +
 +
Name: set_layout<br>
 +
Args: String: layout name<br>
 +
Returns: (none)<br>
  
 
==Setting route destinations==
 
==Setting route destinations==
 +
 +
Not Implemented
  
 
Name: setRoute<br>
 
Name: setRoute<br>
Line 20: Line 28:
  
 
==Getting current position (in coordinates)==
 
==Getting current position (in coordinates)==
 +
 +
Not Implemented
  
 
Name: getCurrentPosition<br>
 
Name: getCurrentPosition<br>
Line 26: Line 36:
  
 
==Getting current speed (in kph/mph/fps)==
 
==Getting current speed (in kph/mph/fps)==
 +
 +
Not Implemented
  
 
Name: getCurrentSpeed<br>
 
Name: getCurrentSpeed<br>
 
Args: (none)<br>
 
Args: (none)<br>
 
Returns: speed in kph/mph<br>
 
Returns: speed in kph/mph<br>
 +
  
 
[[category: navit dbus]]
 
[[category: navit dbus]]

Revision as of 18:23, 22 September 2008

This Document displays the requirements and implementation details of the navit dbus interface.

Navit Dbus details:

DBUS Service: "org.navit_project.navit"
DBUS Object Path: "/org/navit_project/navit"
DBUS Interface: "org.navit_project.navit"

Navit Dbus Methods:

Center map

Name: set_center
Args: (pro, x, y)
Returns: (none)

Set layout

Name: set_layout
Args: String: layout name
Returns: (none)

Setting route destinations

Not Implemented

Name: setRoute
Args:
Returns: none

Getting current position (in coordinates)

Not Implemented

Name: getCurrentPosition
Args: (none)
Returns: coordinate (string)

Getting current speed (in kph/mph/fps)

Not Implemented

Name: getCurrentSpeed
Args: (none)
Returns: speed in kph/mph