BOSSU:RegisterTask: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
DaniElectra (talk | contribs)
m Use IPC template header
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x000B|3|2}}
!  Index Word
{{IPC/RequestEntry|u32, Task ID size, including NULL terminator}}
!  Description
{{IPC/RequestEntry|bool, TaskOption configured}}
|-
{{IPC/RequestEntry|u8, Step ID}}
| 0
{{IPC/MapPointerR|Task ID buffer}}
| Header code [0x000B00C2]
{{IPC/RequestEnd}}
|-
| 1
| TaskID buffer size
|-
| 2
| u8, unknown(bool). Usually zero, regardless of HTTP GET/POST.
|-
| 3
| u8, unknown. Usually zero, regardless of HTTP GET/POST.
|-
| 4
| (Size << 4)  <nowiki>|</nowiki> 0xA
|-
| 5
| TaskID data pointer
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x000B|1|2}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/MapPointerR|Task ID buffer}}
| 0
{{IPC/RequestEnd}}
| Header code
|-
| 1
| Result code
|}


=Description=
=Description=
This registers a task and updates the BOSS savedata immediately, including info previously initialized with [[BOSSU:SendProperty]].
Registers a task and updates the BOSS savedata immediately, using information previously configured with [[BOSSU:SendProperty]].
 
The input bool is set to true in the SDK if the application provides a TaskOption, which contains some of the properties that can be configured.

Revision as of 18:47, 1 February 2025

Request

Index Word Description
0
Header 0x000B00C2 Cmd 0x000B Param 3 Xlat 2
1 u32, Task ID size, including NULL terminator
2 bool, TaskOption configured
3 u8, Step ID
4 Descriptor for mapping a read-only buffer in the target process
5 Task ID buffer

Response

Index Word Description
0
Header 0x000B0042 Cmd 0x000B Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 Task ID buffer

Description

Registers a task and updates the BOSS savedata immediately, using information previously configured with BOSSU:SendProperty.

The input bool is set to true in the SDK if the application provides a TaskOption, which contains some of the properties that can be configured.