hi daniele, maybe you can help me with your code: what I get import dbus from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus() gsm_device_obj = bus.get_object( 'org.freesmartphone.ogsmd', '/org/freesmartphone/GSM/Device' ) gsm_cell_monitor = dbus.Interface(gsm_device_obj, 'org.freesmartphone.GSM.Monitor') gsm_connected_cell = gsm_cell_monitor.GetServingCellInformation() lac = int(gsm_connected_cell["lac"]) cellid = int(gsm_connected_cell["cid"]) quality = int(gsm_connected_cell["rxlev"]) print "--------- Information about the Connected Cell --------------" print str(lac)+" / "+str(cellid)+" / "+str(quality) gsm_neighbour_cells = gsm_cell_monitor.GetNeighbourCellInformation() print gsm_neighbour_cells I can now get the info about the connected cell but for the neighbours I get: root@om-gta02:~# python /media/card/Maps/Cells/getPositionFromCells.py --------- Information about the Connected Cell -------------- 296 / 25326 / 39 Traceback (most recent call last): File "/media/card/Maps/Cells/getPositionFromCells.py", line 19, in <module> gsm_neighbour_cells = gsm_cell_monitor.GetNeighbourCellInformation() File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freesmartphone.GSM.DeviceFailed: OK any ideas why the call does not work? br robin _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community