Changes

Jump to navigation Jump to search
278 bytes added ,  03:18, 16 May 2020
no edit summary
Line 345: Line 345:     
This overwrites the u16 field at [[#SecurityConfig]]+0. When the cached [[SPL_services#IsDevelopment|IsDevelopment]] value is false (retail), value 1 is used, otherwise the used value is: original_field == 0 ? {u16 [[#NetworkInfo]]+0x60} : original_field.
 
This overwrites the u16 field at [[#SecurityConfig]]+0. When the cached [[SPL_services#IsDevelopment|IsDevelopment]] value is false (retail), value 1 is used, otherwise the used value is: original_field == 0 ? {u16 [[#NetworkInfo]]+0x60} : original_field.
 +
 +
u32 LocalCommunicationVersion>>15 must be 0.
    
=== ConnectPrivate ===
 
=== ConnectPrivate ===
Line 821: Line 823:  
| 0xC || 0x4 || Cleared to zero during the copy.
 
| 0xC || 0x4 || Cleared to zero during the copy.
 
|-
 
|-
| 0x10 || 0x2 || Channel, can be zero. Same as [[#NetworkInfo]]+0x48.
+
| 0x10 || 0x2 || s16 Channel, can be zero. Same as [[#NetworkInfo]]+0x48.
 
|-
 
|-
| 0x12 || 0x1 || Same as [[#NetworkInfo]]+0x66.
+
| 0x12 || 0x1 || s8. Same as [[#NetworkInfo]]+0x66.
 
|-
 
|-
 
| 0x13 || 0x1 || Cleared to zero during the copy.
 
| 0x13 || 0x1 || Cleared to zero during the copy.
 
|-
 
|-
| 0x14 || 0x2 || Same as [[#NetworkInfo]]+0x96.
+
| 0x14 || 0x2 || Same as [[#NetworkInfo]]+0x96. Must not be negative.
 
|-
 
|-
 
| 0x16 || 0xA || Cleared to zero during the copy.
 
| 0x16 || 0xA || Cleared to zero during the copy.
Line 868: Line 870:  
! Description
 
! Description
 
|-
 
|-
| 0x0 || 0x2 || Overwritten by [[#CreateNetwork]]/[[#CreateNetworkPrivate]] and [[#Connect]]/[[#ConnectPrivate]].
+
| 0x0 || 0x2 || Overwritten by [[#CreateNetwork]]/[[#CreateNetworkPrivate]] and [[#Connect]]/[[#ConnectPrivate]]. The value used internally by these cmds must be 0x1-0x3.
 
|-
 
|-
| 0x2 || 0x42 ||  
+
| 0x2 || 0x2 || Must be 0x10-0x40.
 +
|-
 +
| 0x4 || 0x40 ||  
 
|}
 
|}
   Line 935: Line 939:     
When bit0 here is set after using the above cmds, the sdknso funcs will use [[Error_Applet|ShowError]] with the returned Result if: (rc & 0x3FE1FF) == 0xE0CB.
 
When bit0 here is set after using the above cmds, the sdknso funcs will use [[Error_Applet|ShowError]] with the returned Result if: (rc & 0x3FE1FF) == 0xE0CB.
 +
 +
This must be <=0x1, besides this validation ConnectOption is ignored by [[#Connect]]/[[#ConnectPrivate]].
    
= OperationMode =
 
= OperationMode =

Navigation menu