Difference between revisions of "Glue services"

From Nintendo Switch Brew
Jump to: navigation, search
(Added info on the launch property format)
(bgtc)
Line 74: Line 74:
 
|}
 
|}
  
 +
= bgtc:t =
 +
This is "nn::bgtc::ITaskService".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 1 || NotifyTaskStarting
 +
|-
 +
| 2 || NotifyTaskFinished
 +
|-
 +
| 3 || GetTriggerEvent
 +
|-
 +
| 4 || IsInHalfAwake
 +
|-
 +
| 5 || NotifyClientName
 +
|-
 +
| 6 || IsInFullAwake
 +
|-
 +
| 11 || ScheduleTask
 +
|-
 +
| 12 || GetScheduledTaskInterval
 +
|-
 +
| 13 || UnscheduleTask
 +
|-
 +
| 14 || GetScheduleEvent
 +
|-
 +
| 15 || SchedulePeriodicTask
 +
|-
 +
| 101 || GetOperationMode
 +
|-
 +
| 102 || WillDisconnectNetworkWhenEnteringSleep
 +
|-
 +
| 103 || WillStayHalfAwakeInsteadSleep
 +
|-
 +
|}
 +
 +
= bgtc:sc =
 +
This is "nn::bgtc::IStateControlService".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 1 || GetState
 +
|-
 +
| 2 || GetStateChangedEvent
 +
|-
 +
| 3 || NotifyEnteringHalfAwake
 +
|-
 +
| 4 || NotifyLeavingHalfAwake
 +
|-
 +
| 5 || SetIsUsingSleepUnsupportedDevices
 +
|-
 +
|}
  
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 08:07, 13 April 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 IsInFullAwake
11 ScheduleTask
12 GetScheduledTaskInterval
13 UnscheduleTask
14 GetScheduleEvent
15 SchedulePeriodicTask
101 GetOperationMode
102 WillDisconnectNetworkWhenEnteringSleep
103 WillStayHalfAwakeInsteadSleep

bgtc:sc

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

Cmd Name
1 GetState
2 GetStateChangedEvent
3 NotifyEnteringHalfAwake
4 NotifyLeavingHalfAwake
5 SetIsUsingSleepUnsupportedDevices