Changes

Jump to navigation Jump to search
2,891 bytes added ,  20:43, 3 October 2019
Document a bit more of time 9.0.0
Line 173: Line 173:  
| 20500 || [8.0.0+]
 
| 20500 || [8.0.0+]
 
|}
 
|}
 +
 +
== Cmd13000 ==
 +
Takes a type-0x5 input buffer, no output.
 +
 +
[9.0.0+] No input, returns a total of 0xC-bytes of output, an [[#IUnknown0]], and a handle.
 +
 +
== IUnknown0 ==
 +
Added with [9.0.0+].
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 ||
 +
|}
 +
 +
Cmd0: no input, returns a total of 8-bytes of output.
    
= ovln:rcv =
 
= ovln:rcv =
Line 224: Line 241:  
|}
 
|}
   −
= time:su =
+
= time:m =
 
This is "nn::timesrv::detail::service::ITimeServiceManager".
 
This is "nn::timesrv::detail::service::ITimeServiceManager".
   Line 233: Line 250:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 ||
+
| 0 || [[#GetUserStaticService]]
 
|-
 
|-
| 5 ||
+
| 5 || [[#GetAdminStaticService]]
 
|-
 
|-
| 6 ||
+
| 6 || [[#GetRepairStaticService]]
 
|-
 
|-
| 9 ||
+
| 9 || [[#GetManufactureStaticService]]
 
|-
 
|-
| 10 ||
+
| 10 || [[#SetupStandardSteadyClock]]
 
|-
 
|-
| 11 ||
+
| 11 || [[#SetupStandardLocalSystemClock]]
 
|-
 
|-
| 12 ||
+
| 12 || [[#SetupStandardNetworkSystemClock]]
 
|-
 
|-
| 13 ||
+
| 13 || [[#SetupStandardUserSystemClock]]
 
|-
 
|-
| 14 ||
+
| 14 || [[#SetupTimeZoneManager]]
 
|-
 
|-
| 15 ||
+
| 15 || [[#SetupEphemeralNetworkSystemClock]]
 
|-
 
|-
 
| 50 ||
 
| 50 ||
Line 259: Line 276:  
| 52 ||
 
| 52 ||
 
|-
 
|-
| 60 ||
+
| 60 || GetStandardUserSystemClockAutomaticCorrectionEvent
 
|-
 
|-
| 100 ||
+
| 100 || [[#SetStandardSteadyClockRtcOffset]]
 
|-
 
|-
| 200 ||
+
| 200 || GetAlarmRegistrationEvent
 
|-
 
|-
| 201 ||
+
| 201 || [[#UpdateSteadyAlarms]]
 
|-
 
|-
 
| 202 ||
 
| 202 ||
 
|}
 
|}
 +
 +
== GetUserStaticService ==
 +
Returns an [[#IStaticService]].
 +
 +
This is used for the wrapped instance of "time:u" in glue.
 +
 +
== GetAdminStaticService  ==
 +
Returns an [[#IStaticService]].
 +
 +
This is used for the wrapped instance of "time:a" in glue.
 +
 +
== GetRepairStaticService ==
 +
Returns an [[#IStaticService]].
 +
 +
This is used for the wrapped instance of "time:r" in glue.
 +
 +
== GetManufactureStaticService ==
 +
Returns an [[#IStaticService]].
 +
 +
This seems unused.
 +
 +
== SetupStandardSteadyClock ==
 +
Takes an input rtc_clock_source UUID, an input rtc_offset s64, an input internal_offset s64, an input test_offset s64 and a is_rtc_reset_detected bool. No output.
 +
 +
== SetupStandardLocalSystemClock ==
 +
Takes an input [[#SystemClockContext]] and an input [[#PosixTime]]. No output.
 +
 +
== SetupStandardNetworkSystemClock ==
 +
Takes an input [[#SystemClockContext]] and an input sufficient_accuracy_minutes u64. No output.
 +
 +
== SetupStandardUserSystemClock ==
 +
Takes an input automatic_correction bool and an input [[#SteadyClockTimePoint]]. No output.
 +
 +
== SetupTimeZoneManager ==
 +
Takes an input [[#LocationName]], an input [[#SteadyClockTimePoint]], an input total_location_name_count u32, an input [[#TimeZoneRuleVersion]] and a type-0x21 input buffer containing a TimeZoneBinary. No output.
 +
 +
== SetupEphemeralNetworkSystemClock ==
 +
No input, no output.
 +
 +
== SetStandardSteadyClockRtcOffset ==
 +
An input rtc_offset s64, no output.
 +
 +
== UpdateSteadyAlarms ==
 +
No input, no output.
    
= time:al =
 
= time:al =
Line 283: Line 344:  
| 1 ||
 
| 1 ||
 
|}
 
|}
 +
 +
Cmd0/cmd1: no input, returns an [[#ISteadyClockAlarm]].
    
== ISteadyClockAlarm ==
 
== ISteadyClockAlarm ==
 
This is "nn::timesrv::detail::service::ISteadyClockAlarm".
 
This is "nn::timesrv::detail::service::ISteadyClockAlarm".
 +
 +
This was added with [9.0.0+].
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 291: Line 356:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 ||
+
| 0 || GetWakeUpEvent
 
|-
 
|-
| 1 ||
+
| 1 || Enable
 
|-
 
|-
| 2 ||
+
| 2 || Disable
 
|-
 
|-
| 3 ||
+
| 3 || IsEnabled
 
|-
 
|-
 
| 10 ||
 
| 10 ||
Line 304: Line 369:  
|}
 
|}
   −
= time:m =
+
=== Cmd10 ===
 +
Opens a session for [[#psc:l|psc:l]] and returns it's interface.
 +
 
 +
=== Cmd11 ===
 +
Close the session opened by [[#Cmd10]] when the alarm is disabled.
 +
 
 +
= time:p =
 
This is "nn::timesrv::detail::service::IPowerStateRequestHandler".
 
This is "nn::timesrv::detail::service::IPowerStateRequestHandler".
   Line 318: Line 389:  
|}
 
|}
   −
= time:s, time:p =
+
= time:su, time:s =
 
These are "nn::timesrv::detail::service::IStaticService".
 
These are "nn::timesrv::detail::service::IStaticService".
   Line 601: Line 672:  
| 1 ||
 
| 1 ||
 
|}
 
|}
 +
 +
== Cmd0 ==
 +
Takes an input u32 '''InsID'''. Returns an u64.
 +
 +
== Cmd1 ==
 +
Takes an input u32 '''InsID''' and an input u64 (unused, official software passes struct pointer). Returns an output Event handle with autoclear disabled.
    
= ins:s =
 
= ins:s =
This is "nn::ins::IReceiverManager".
+
This is "nn::ins::ISenderManager".
    
This was added with [9.0.0+].
 
This was added with [9.0.0+].
Line 613: Line 690:  
| 0 ||
 
| 0 ||
 
|}
 
|}
 +
 +
== Cmd0 ==
 +
Takes an input u32 '''InsID''' and an input u64 (unused, official software passes struct pointer). Returns an output Event handle with autoclear disabled.
    
= PSC Module IDs =
 
= PSC Module IDs =
28

edits

Navigation menu