LDN services: Difference between revisions
No edit summary |
|||
Line 399: | Line 399: | ||
Takes an input PID, an u32, an u32, and an u64 pid_placeholder. | Takes an input PID, an u32, an u32, and an u64 pid_placeholder. | ||
This is similar to [[# | This is similar to [[#InitializeWithVersion|InitializeWithVersion]], with the additional cmd input u32 now being passed directly to the init func which is called here. | ||
=== SetHomeChannel === | === SetHomeChannel === | ||
Line 436: | Line 436: | ||
This is "nn::ldn::detail::IUserLocalCommunicationService". | This is "nn::ldn::detail::IUserLocalCommunicationService". | ||
This is identical to [[#ISystemLocalCommunicationService]], except for the System-only cmd(s), and [[#Initialize_3|Initialize]]/[[# | This is identical to [[#ISystemLocalCommunicationService]], except for the System-only cmd(s), and [[#Initialize_3|Initialize]]/[[#InitializeWithVersion_2|InitializeWithVersion]] differ. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 502: | Line 502: | ||
| 401 || [[#Finalize_3|Finalize]] | | 401 || [[#Finalize_3|Finalize]] | ||
|- | |- | ||
| 402 || [7.0.0+] [[# | | 402 || [7.0.0+] [[#InitializeWithVersion_2|InitializeWithVersion]] | ||
|- | |- | ||
| 403 || [19.0.0+] [[#InitializeWithPriority|InitializeWithPriority]] | | 403 || [19.0.0+] [[#InitializeWithPriority|InitializeWithPriority]] | ||
Line 526: | Line 526: | ||
This is used immediately after object creation. | This is used immediately after object creation. | ||
With [7.0.0+] [[# | With [7.0.0+] [[#InitializeWithVersion_2|InitializeWithVersion]] is used instead. | ||
This is identical to [[#Initialize_2|Initialize]] except different params are used for the funcs called internally. | This is identical to [[#Initialize_2|Initialize]] except different params are used for the funcs called internally. | ||
Line 540: | Line 540: | ||
Official sw uses hard-coded value 0x1 for the u32. | Official sw uses hard-coded value 0x1 for the u32. | ||
The input u32 is ignored, the impl for this cmd is identical to [[# | The input u32 is ignored, the impl for this cmd is identical to [[#Initialize_3|Initialize]]. | ||
This is identical to [[# | This is identical to [[#InitializeWithVersion|InitializeWithVersion]] except different params are used for the funcs called internally: the u16 value is 0x5A, and the value for the second func is 1. | ||
= ndd = | = ndd = |