maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Dbus Python (https://talk.maemo.org/showthread.php?t=8044)

flyinghigh 2007-07-23 22:18

Dbus Python
 
Hi,

I am looking at writing an app in pygtk, the app will read data over usb and do some number crunching and write to screen.

I don't want to write it in C, hence planning on pygtk.

To get the data in I am thinking of making a 2 piece app, the display part a state machine that simply waits for messages and writes to screen, and a backend part that handles the usb connection, stores the data in sqlite, and uses dbus to send the data to the front end part.

I am having a real struggle finding any useful examples of IPC using Dbus Python

Pedro

ArnimS 2007-07-24 01:38

Re: Dbus Python
 
Quote:

Originally Posted by flyinghigh (Post 62359)
Hi,

I am having a real struggle finding any useful examples of IPC using Dbus Python

Pedro

Examples of:
  • conic_monitor.py
  • test_automatic_events.py
  • test_connect.py
  • test_disconnect.py
  • test_iap.py
  • test_proxies.py
  • test_statistics.py
  • test_two_objects.py

are here:
https://garage.maemo.org/svn/pymaemo...c/trunk/tests/

Introductory reading:
http://en.wikipedia.org/wiki/D-Bus
http://dbus.freedesktop.org/doc/dbus-tutorial.html
http://www.ibm.com/developerworks/li...ry/l-dbus.html
http://freshmeat.net/projects/python-ipc/

flyinghigh 2007-07-26 13:49

Re: Dbus Python
 
Thanks for that, however not exactly a "How To" more an Ikea flat pack without instructions.

So I am still looking for more stuff on Dbus Python for beginners


All times are GMT. The time now is 08:14.

vBulletin® Version 3.8.8