Difference between revisions of "Network Interface services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 1: Line 1:
= nifm:a =
+
= nifm:a, nifm:s, nifm:u =
This is "nn::nifm::detail::IStaticService".
+
These are "nn::nifm::detail::IStaticService".
  
== IStaticService ==
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
! Cmd || Name || Notes
 
! Cmd || Name || Notes
 
|-  
 
|-  
| 4 || CreateGeneralService ([3.0.0+] CreateGeneralServiceOld) || Returns an [[#IGeneralService]].
+
| 4 || CreateGeneralServiceOld ([1.0.0-2.3.0] CreateGeneralService) || Returns an [[#IGeneralService]].
 
|-
 
|-
 
| 5 || [3.0.0+] CreateGeneralService || Returns an [[#IGeneralService]].
 
| 5 || [3.0.0+] CreateGeneralService || Returns an [[#IGeneralService]].
|-
 
 
|}
 
|}
  
=== IGeneralService ===
+
== IGeneralService ==
 +
This is "nn::nifm::detail::IGeneralService".
 +
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 36: Line 36:
 
| 10 || RemoveNetworkProfile ||
 
| 10 || RemoveNetworkProfile ||
 
|-
 
|-
| 11
+
| 11 || GetScanDataOld ([1.0.0-3.0.2] GetScanData) ||
| [1.0.0-3.0.2] GetScanData
 
[4.0.0+] GetScanDataOld
 
|
 
 
|-
 
|-
 
| 12 || GetCurrentIpAddress ||
 
| 12 || GetCurrentIpAddress ||
 
|-
 
|-
| 13
+
| 13 || GetCurrentAccessPointOld ([1.0.0-3.0.2] GetCurrentAccessPoint) ||
| [1.0.0-3.0.2] GetCurrentAccessPoint
 
[4.0.0+] GetCurrentAccessPointOld
 
|
 
 
|-
 
|-
 
| 14 || CreateTemporaryNetworkProfile || Returns an [[#INetworkProfile]].
 
| 14 || CreateTemporaryNetworkProfile || Returns an [[#INetworkProfile]].
Line 95: Line 89:
 
|-
 
|-
 
| 37 || [4.0.0+] Shutdown ||
 
| 37 || [4.0.0+] Shutdown ||
|-
 
 
|}
 
|}
  
==== IScanRequest ====
+
=== IScanRequest ===
 +
This is "nn::nifm::detail::IScanRequest".
 +
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 110: Line 105:
 
|-
 
|-
 
| 3 || GetSystemEventReadableHandle
 
| 3 || GetSystemEventReadableHandle
|-
 
 
|}
 
|}
  
==== IRequest ====
+
=== IRequest ===
 +
This is "nn::nifm::detail::IRequest".
 +
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 170: Line 166:
 
|}
 
|}
  
==== INetworkProfile ====
+
=== INetworkProfile ===
 +
This is "nn::nifm::detail::INetworkProfile".
 +
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 177: Line 175:
 
| 0 || Update
 
| 0 || Update
 
|-
 
|-
| 1 || Persist ([3.0.0+] PersistOld)
+
| 1 || PersistOld ([1.0.0-2.3.0] Persist)
 
|-
 
|-
 
| 2 || [3.0.0+] Persist
 
| 2 || [3.0.0+] Persist
|-
 
 
|}
 
|}
 
= nifm:s =
 
Same as [[#nifm:a|nifm:a]].
 
 
= nifm:u =
 
Same as [[#nifm:a|nifm:a]].
 
  
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 19:34, 27 March 2018

nifm:a, nifm:s, nifm:u

These are "nn::nifm::detail::IStaticService".

Cmd Name Notes
4 CreateGeneralServiceOld ([1.0.0-2.3.0] CreateGeneralService) Returns an #IGeneralService.
5 [3.0.0+] CreateGeneralService Returns an #IGeneralService.

IGeneralService

This is "nn::nifm::detail::IGeneralService".

Cmd Name Notes
1 GetClientId
2 CreateScanRequest Returns an #IScanRequest.
4 CreateRequest Returns an #IRequest.
5 GetCurrentNetworkProfile
6 EnumerateNetworkInterfaces
7 EnumerateNetworkProfiles
8 GetNetworkProfile
9 SetNetworkProfile
10 RemoveNetworkProfile
11 GetScanDataOld ([1.0.0-3.0.2] GetScanData)
12 GetCurrentIpAddress
13 GetCurrentAccessPointOld ([1.0.0-3.0.2] GetCurrentAccessPoint)
14 CreateTemporaryNetworkProfile Returns an #INetworkProfile.
15 GetCurrentIpConfigInfo
16 SetWirelessCommunicationEnabled
17 IsWirelessCommunicationEnabled
18 GetInternetConnectionStatus
19 SetEthernetCommunicationEnabled
20 IsEthernetCommunicationEnabled
21 IsAnyInternetRequestAccepted
22 IsAnyForegroundRequestAccepted
23 PutToSleep
24 WakeUp
25 GetSsidListVersion
26 SetExclusiveClient
27 GetDefaultIpSetting
28 SetDefaultIpSetting
29 SetWirelessCommunicationEnabledForTest
30 SetEthernetCommunicationEnabledForTest
31 [2.0.0+] GetTelemetorySystemEventReadableHandle
32 [2.0.0+] GetTelemetryInfo
33 [2.0.0+] ConfirmSystemAvailability
34 [4.0.0+] SetBackgroundRequestEnabled
35 [4.0.0+] GetScanData
36 [4.0.0+] GetCurrentAccessPoint
37 [4.0.0+] Shutdown

IScanRequest

This is "nn::nifm::detail::IScanRequest".

Cmd Name
0 Submit
1 IsProcessing
2 GetResult
3 GetSystemEventReadableHandle

IRequest

This is "nn::nifm::detail::IRequest".

Cmd Name
0 GetRequestState
1 GetResult
2 GetSystemEventReadableHandles
3 Cancel
4 Submit
5 SetRequirement
6 SetRequirementPreset
8 SetPriority
9 SetNetworkProfileId
10 SetRejectable
11 SetConnectionConfirmationOption
12 SetPersistent
13 SetInstant
14 SetSustainable
15 SetRawPriority
16 SetGreedy
17 SetSharable
18 SetRequirementByRevision
19 GetRequirement
20 GetRevision
21 GetAppletInfo
22 GetAdditionalInfo
23 SetKeptInSleep
24 RegisterSocketDescriptor
25 UnregisterSocketDescriptor

INetworkProfile

This is "nn::nifm::detail::INetworkProfile".

Cmd Name
0 Update
1 PersistOld ([1.0.0-2.3.0] Persist)
2 [3.0.0+] Persist