Changes

Jump to navigation Jump to search
99 bytes added ,  20:04, 28 October 2019
no edit summary
Line 224: Line 224:     
== CreateSystemUpdateTask ==
 
== CreateSystemUpdateTask ==
Takes an input u32 firmware_variation, an u32 '''unk''', an input 0x10-byte struct, returns an output [[#SystemUpdateTask]].
+
Takes an input u32 firmware_variation, an u32 '''unk''', a [[NCM_services#ContentMetaKey|ContentMetaKey]], returns an output [[#SystemUpdateTask]].
    
Official sw sets '''unk''' to: <code>unk = inflag & 1 ? 0xC : 0x4</code>.
 
Official sw sets '''unk''' to: <code>unk = inflag & 1 ? 0xC : 0x4</code>.
  −
Structure of the input struct:
  −
{| class="wikitable" border="1"
  −
|-
  −
! Offset
  −
! Size
  −
! Description
  −
|-
  −
| 0x0 || 0x8 || Unknown
  −
|-
  −
| 0x8 || 0x4 || Unknown
  −
|-
  −
| 0xC || 0x1 || Unknown
  −
|-
  −
| 0xD || 0x1 || Unknown
  −
|-
  −
| 0xE || 0x2 || Padding?
  −
|}
      
== DestroySystemUpdateTask ==
 
== DestroySystemUpdateTask ==
Line 273: Line 255:     
== Cmd69 ==
 
== Cmd69 ==
Takes a total of 0x20-byte of input, returns an [[#ReceiveSystemUpdateTask]].
+
Takes an input u16 port, an u32 Ipv4Address, an u32 firmware_variation, an u32 '''unk''', a [[NCM_services#ContentMetaKey|ContentMetaKey]], returns an output [[#ReceiveSystemUpdateTask]].
 +
 
 +
Official sw sets '''unk''' to: <code>unk = stateflag==0 ? 0x4 : 0xC</code>. The port/Ipv4Address params originate from the [[NS_Services#RequestReceiveSystemUpdate|RequestReceiveSystemUpdate]] params.
    
This is the Receive version of [[#CreateSystemUpdateTask]].
 
This is the Receive version of [[#CreateSystemUpdateTask]].

Navigation menu