Difference between revisions of "Glue services"

From Nintendo Switch Brew
Jump to: navigation, search
(bgtc)
Line 91: Line 91:
 
| 5 || NotifyClientName
 
| 5 || NotifyClientName
 
|-
 
|-
| 6 || IsInFullAwake
+
| 6 || [3.0.0+] IsInFullAwake
 
|-
 
|-
 
| 11 || ScheduleTask
 
| 11 || ScheduleTask
Line 103: Line 103:
 
| 15 || SchedulePeriodicTask
 
| 15 || SchedulePeriodicTask
 
|-
 
|-
| 101 || GetOperationMode
+
| 101 || [3.0.0+] GetOperationMode
 
|-
 
|-
| 102 || WillDisconnectNetworkWhenEnteringSleep
+
| 102 || [3.0.0+] WillDisconnectNetworkWhenEnteringSleep
 
|-
 
|-
| 103 || WillStayHalfAwakeInsteadSleep
+
| 103 || [3.0.0+] WillStayHalfAwakeInsteadSleep
 
|-
 
|-
 
|}
 
|}
Line 126: Line 126:
 
| 4 || NotifyLeavingHalfAwake
 
| 4 || NotifyLeavingHalfAwake
 
|-
 
|-
| 5 || SetIsUsingSleepUnsupportedDevices
+
| 5 || [3.0.0+] SetIsUsingSleepUnsupportedDevices
 
|-
 
|-
 
|}
 
|}
  
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 04:41, 7 May 2019

arp:r

This is "nn::arp::detail::IReader".

Cmd Name
0 GetApplicationLaunchProperty
1 GetApplicationLaunchPropertyWithApplicationId
2 GetApplicationControlProperty
3 GetApplicationControlPropertyWithApplicationId

GetApplicationControlPropertyWithApplicationId

Takes in a title id and a type-0x16 buffer. This is filled with the contents of control.nacp for that application.

arp:w

This is "nn::arp::detail::IWriter".

Cmd Name
0 AcquireRegistrar
1 DeleteProperties

IRegistrar

This is "nn::arp::detail::IRegistrar".

Cmd Name
0 Issue
1 SetApplicationLaunchProperty
2 SetApplicationControlProperty

Launch Property Format

Offset Size Description
0x0 0x8 Title ID
0x8 0x4 Version
0xC 0x1 Base Game Storage ID
0xD 0x1 Update Storage ID
0xE 0x2 Padding

bgtc:t

This is "nn::bgtc::ITaskService".

Cmd Name
1 NotifyTaskStarting
2 NotifyTaskFinished
3 GetTriggerEvent
4 IsInHalfAwake
5 NotifyClientName
6 [3.0.0+] IsInFullAwake
11 ScheduleTask
12 GetScheduledTaskInterval
13 UnscheduleTask
14 GetScheduleEvent
15 SchedulePeriodicTask
101 [3.0.0+] GetOperationMode
102 [3.0.0+] WillDisconnectNetworkWhenEnteringSleep
103 [3.0.0+] WillStayHalfAwakeInsteadSleep

bgtc:sc

This is "nn::bgtc::IStateControlService".

Cmd Name
1 GetState
2 GetStateChangedEvent
3 NotifyEnteringHalfAwake
4 NotifyLeavingHalfAwake
5 [3.0.0+] SetIsUsingSleepUnsupportedDevices