Difference between revisions of "Network Interface services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 1: Line 1:
= nifm:s =
+
= nifm:a =
== StaticService ==
+
This is "nn::nifm::detail::IStaticService".
 +
 
 +
== IStaticService ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name || Notes
 +
|-
 +
| 4 || CreateGeneralService ([3.0.0+] CreateGeneralServiceOld) || Returns an [[#IGeneralService]].
 +
|-
 +
| 5 || [3.0.0+] CreateGeneralService || Returns an [[#IGeneralService]].
 +
|-
 +
|}
 +
 
 +
=== IGeneralService ===
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name
+
! 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 || GetScanData ||
 +
|-
 +
| 12 || GetCurrentIpAddress ||
 +
|-
 +
| 13 || 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 || GetTelemetorySystemEventReadableHandle ||
 +
|-
 +
| 32 || GetTelemetryInfo ||
 
|-
 
|-
| 4 || RegisterInterface_GeneralService
+
| 33 || ConfirmSystemAvailability ||
 
|-
 
|-
 
|}
 
|}
  
== GeneralService ==
+
==== IScanRequest ====
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
! Cmd || Name
 
! Cmd || Name
 +
|-
 +
| 0 || Submit
 
|-
 
|-
| 1 || GetDeviceID?
+
| 1 || IsProcessing
 
|-
 
|-
| 2 || RegisterInterface_ScanRequest
+
| 2 || GetResult
 
|-
 
|-
| 4 || RegisterInterface_Request
+
| 3 || GetSystemEventReadableHandle
 
|-
 
|-
| 5 || GetCurrentProxySetting
+
|}
 +
 
 +
==== IRequest ====
 +
{| class="wikitable" border="1"
 
|-
 
|-
| 6 || GetEthernetID?
+
! Cmd || Name
 +
|-
 +
| 0 || GetRequestState
 
|-
 
|-
| 7 || GetEthernetSettings?
+
| 1 || GetResult
 
|-
 
|-
| 8 ||  
+
| 2 || GetSystemEventReadableHandles
 
|-
 
|-
| 9 ||  
+
| 3 || Cancel
 
|-
 
|-
| 10 ||  
+
| 4 || Submit
 
|-
 
|-
| 11 || GetAPInfo?
+
| 5 || SetRequirement
 
|-
 
|-
| 12 || GetIPAddress
+
| 6 || SetRequirementPreset
 
|-
 
|-
| 13 || GetSSIDInfo?
+
| 8 || SetPriority
 
|-
 
|-
| 14 || RegisterInterface_NetworkProfile
+
| 9 || SetNetworkProfileId
 
|-
 
|-
| 15 || GetConnInfo
+
| 10 || SetRejectable
 
|-
 
|-
| 16 || SetFlightModeOnOff
+
| 11 || SetConnectionConfirmationOption
 
|-
 
|-
| 17 || GetFlightModeOnOff
+
| 12 || SetPersistent
 
|-
 
|-
| 18 ||  
+
| 13 || SetInstant
 
|-
 
|-
| 19 || SetUnkMode
+
| 14 || SetSustainable
 
|-
 
|-
| 20 || GetUnkMode
+
| 15 || SetRawPriority
 
|-
 
|-
| 21 || IsEthIfActive
+
| 16 || SetGreedy
 
|-
 
|-
| 22 || GetEthIfState
+
| 17 || SetSharable
 
|-
 
|-
| 23 || EthIfDown
+
| 18 || SetRequirementByRevision
 
|-
 
|-
| 24 || EthIfUp
+
| 19 || GetRequirement
 
|-
 
|-
| 25 ||  
+
| 20 || GetRevision
 
|-
 
|-
| 26 ||  
+
| 21 || GetAppletInfo
 
|-
 
|-
| 27 ||  
+
| 22 || GetAdditionalInfo
 
|-
 
|-
| 28 ||  
+
| 23 || SetKeptInSleep
 
|-
 
|-
| 29 ||  
+
| 24 || RegisterSocketDescriptor
 
|-
 
|-
| 30 ||  
+
| 25 || UnregisterSocketDescriptor
 
|-
 
|-
| 31 ||  
+
|}
 +
 
 +
==== INetworkProfile ====
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || Update
 
|-
 
|-
| 32 || DumpNetworkInfo
+
| 1 || Persist ([3.0.0+] PersistOld)
 
|-
 
|-
| 33 ||
+
| 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:00, 9 December 2017

nifm:a

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

IStaticService

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

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 GetScanData
12 GetCurrentIpAddress
13 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 GetTelemetorySystemEventReadableHandle
32 GetTelemetryInfo
33 ConfirmSystemAvailability

IScanRequest

Cmd Name
0 Submit
1 IsProcessing
2 GetResult
3 GetSystemEventReadableHandle

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

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

nifm:s

Same as nifm:a.

nifm:u

Same as nifm:a.