RealTimeClock

Sven Klomp sven at klomp.de
Wed Mar 18 17:07:43 CET 2009


Hi,

what is the neded type to set the RTC?
mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/RealTimeClock/0 org.freesmartphone.Device.RealTimeClock.SetCurrentTime "1237390913"

gives: 
ERROR:dbus.connection:Unable to set arguments (1237390913,) according to signature u's': <type 'exceptions.TypeError'>: Expected a string or unicode object

mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/RealTimeClock/0

says:
[METHOD]    org.freedesktop.DBus.Introspectable.Introspect()
[METHOD]    org.freesmartphone.Device.RealTimeClock.GetCurrentTime()
[METHOD]    org.freesmartphone.Device.RealTimeClock.GetName()
[METHOD]    org.freesmartphone.Device.RealTimeClock.GetWakeupTime()
[METHOD]    org.freesmartphone.Device.RealTimeClock.SetCurrentTime( s:t )
[METHOD]    org.freesmartphone.Device.RealTimeClock.SetWakeupTime( s:t )

What does s:t mean?

Thanks in advance,
Sven



More information about the devel mailing list