RealTimeClock

Sven Klomp sven at klomp.de
Thu Mar 19 13:07:03 CET 2009


On Thursday 19 March 2009 08:55:08 Sven Klomp wrote:
> On Wednesday 18 March 2009 19:22:05 Daniel Willmann wrote:
> > Try to escape the quotes like this: \"1237390913\". The problem is that
> > the bash already strips them and mdbus will just interpret the number
> > as number.
> 
> It doesn't helped:
> mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/RealTimeClock/0 org.freesmartphone.Device.RealTimeClock.SetCurrentTime \"1237390913\"
> /org/freesmartphone/Device/RealTimeClock/0: SetCurrentTime failed: org.freedesktop.DBus.Python.TypeError

OK, \'1237463865\' does the trick:
mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/RealTimeClock/0 org.freesmartphone.Device.RealTimeClock.SetWakeupTime \'1237463865.12\'

However, I'm still not able to set it with Python...


Sven



More information about the devel mailing list