Difference between revisions of "LDN services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 2: Line 2:
  
 
= ldn:m =
 
= ldn:m =
 +
This is "nn::ldn::detail::IMonitorServiceCreator".
 +
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name
+
! Cmd || Name || Notes
 
|-
 
|-
| 0 || GetIMonitorService
+
| 0 || GetMonitorService || Returns an [[#IMonitorService]].
 
|-
 
|-
 
|}
 
|}
Line 34: Line 36:
  
 
= ldn:s =
 
= ldn:s =
{| class="wikitable" border="1"
+
This is "nn::ldn::detail::ISystemServiceCreator".
|-
 
! Cmd || Name
 
|-
 
| 0 || GetISystemLocalCommunicationService
 
|-
 
|}
 
  
= ldn:u =
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name
+
! Cmd || Name || Notes
 
|-
 
|-
| 0 || GetIUserLocalCommunicationService
+
| 0 || GetSystemLocalCommunicationService || Returns an [[#ISystemLocalCommunicationService]].
 
|-
 
|-
 
|}
 
|}
  
== ISystemLocalCommunicationService / IUserLocalCommunicationService ==
+
== ISystemLocalCommunicationService ==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 58: Line 53:
 
| 0 ||
 
| 0 ||
 
|-
 
|-
| 1 ||
+
| 1 || GetNetworkInfo
 
|-
 
|-
 
| 2 ||
 
| 2 ||
Line 72: Line 67:
 
| 101 ||
 
| 101 ||
 
|-
 
|-
| 102 || FrameSendRecv0
+
| 102 ||
 
|-
 
|-
| 103 || FrameSendRecv1
+
| 103 ||
 
|-
 
|-
| 200 ||
+
| 200 || OpenAccessPoint
 
|-
 
|-
| 201 ||
+
| 201 || CloseAccessPoint
 
|-
 
|-
| 202 || FrameSendRecv2
+
| 202 ||
 
|-
 
|-
| 203 || FrameSendRecv3
+
| 203 ||
 
|-
 
|-
| 204 ||
+
| 204 || DestroyNetwork
 
|-
 
|-
 
| 205 ||
 
| 205 ||
Line 96: Line 91:
 
| 209 ||
 
| 209 ||
 
|-
 
|-
| 300 ||
+
| 300 || OpenStation
 
|-
 
|-
| 301 ||
+
| 301 || CloseStation
 
|-
 
|-
| 302 || FrameSendRecv4
+
| 302 ||
 
|-
 
|-
| 303 || FrameSendRecv5
+
| 303 ||
 
|-
 
|-
| 304 ||
+
| 304 || Disconnect
 +
|-
 +
| 400 || InitializeSystem
 +
|-
 +
| 401 || TerminateSystem
 +
|-
 +
|}
 +
 
 +
= ldn:u =
 +
This is "nn::ldn::detail::IUserServiceCreator".
 +
 
 +
{| class="wikitable" border="1"
 
|-
 
|-
| 400 ||
+
! Cmd || Name || Notes
 
|-
 
|-
| 401 ||
+
| 0 || GetUserLocalCommunicationService || Returns an [[#IUserLocalCommunicationService]].
 
|-
 
|-
 
|}
 
|}
 +
 +
== IUserLocalCommunicationService ==
 +
Same as [[#ISystemLocalCommunicationService]].
  
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 18:41, 9 December 2017

LDN handles all local network communication.

ldn:m

This is "nn::ldn::detail::IMonitorServiceCreator".

Cmd Name Notes
0 GetMonitorService Returns an #IMonitorService.

IMonitorService

Cmd Name
0 GetNifmStatus
1
2
3
4
5
100 StartMonitor
101 StopMonitor

ldn:s

This is "nn::ldn::detail::ISystemServiceCreator".

Cmd Name Notes
0 GetSystemLocalCommunicationService Returns an #ISystemLocalCommunicationService.

ISystemLocalCommunicationService

Cmd Name
0
1 GetNetworkInfo
2
3
4
5
100 GetUnkWaitEvent
101
102
103
200 OpenAccessPoint
201 CloseAccessPoint
202
203
204 DestroyNetwork
205
206
207
208
209
300 OpenStation
301 CloseStation
302
303
304 Disconnect
400 InitializeSystem
401 TerminateSystem

ldn:u

This is "nn::ldn::detail::IUserServiceCreator".

Cmd Name Notes
0 GetUserLocalCommunicationService Returns an #IUserLocalCommunicationService.

IUserLocalCommunicationService

Same as #ISystemLocalCommunicationService.