Hi All & Mickey, I don't have much idea on this, would like to use mdbus2 to get faster access. Did you get a chance to look at this ? I'm looking for a utility that works much faster than mdbus( which takes approximately 4 seconds).
My interest is to set wakeup time (possibly relative time) and to suspend the phone, Then measure the time taken to switch to power saving mode and come back to active mode. Any other utilities/ C programming APIs that does the above on freerunner phone with SHR distribution. Thanks in advance. Best regards, Satish. Message: 1 Date: Mon, 25 Jan 2010 16:50:07 +0530 From: satish nagineni <[email protected]> Subject: [Shr-Devel] mdbus2 error during method invoke To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Hi, I have installed mdbus2 ipk and able to see the available methods in object. But when i invoked the method getting the below error message that the methods not yet implemented. If some has used mdbus2 and able to get the method result, please let me know. ERROR : r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.odeviced /org/freesmartphone/Device/RTC/0 org.freesmartphone.Device.RealtimeClock.GetCurrentTime ** ERROR **: main.vala:334: calling methods not yet implemented aborting... Aborted ------------------------------ Message: 2 Date: Mon, 25 Jan 2010 13:03:17 +0100 From: "Dr. Michael Lauer" <[email protected]> Subject: Re: [Shr-Devel] mdbus2 error during method invoke To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii > If some has used mdbus2 and able to get the method result, please let me know. > > ERROR : > > r...@om-gta02 ~ $ mdbus2 -s org.freesmartphone.odeviced > /org/freesmartphone/Device/RTC/0 > org.freesmartphone.Device.RealtimeClock.GetCurrentTime > > ** ERROR **: main.vala:334: calling methods not yet implemented > aborting... > Aborted Hmm, I thought that was pretty self-explanatory... there's no way to build a VA_ARG in Vala atm. -- which I would need for the call to dbus_g_proxy_call -- hence I have no idea how to implement method calls w/ parameters for mdbus2. Ideas & patches appreciated. :M: _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
