Changes

Jump to navigation Jump to search
777 bytes added ,  01:57, 30 November 2021
no edit summary
Line 40: Line 40:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || Initialize
+
| 0 || [[#Initialize]]
 
|-
 
|-
| 1 || Finalize
+
| 1 || [[#Finalize]]
 
|-
 
|-
 
| 2 || ListDevices
 
| 2 || ListDevices
Line 86: Line 86:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || InitializeOld
+
| 0 || [[#Initialize|InitializeOld]]
 
|-
 
|-
| 1 || FinalizeOld
+
| 1 || [[#Finalize|FinalizeOld]]
 
|-
 
|-
 
| 2 || GetStateOld
 
| 2 || GetStateOld
Line 94: Line 94:  
| 3 || IsNfcEnabledOld
 
| 3 || IsNfcEnabledOld
 
|-
 
|-
| 400 || [4.0.0+] Initialize
+
| 400 || [4.0.0+] [[#Initialize]]
 
|-
 
|-
| 401 || [4.0.0+] Finalize
+
| 401 || [4.0.0+] [[#Finalize]]
 
|-
 
|-
 
| 402 || [4.0.0+] GetState
 
| 402 || [4.0.0+] GetState
Line 148: Line 148:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || Initialize
+
| 0 || [[#Initialize]]
 
|-
 
|-
| 1 || Finalize
+
| 1 || [[#Finalize]]
 
|-
 
|-
 
| 2 || GetStateOld
 
| 2 || GetStateOld
Line 158: Line 158:  
| 100 || SetNfcEnabledOld
 
| 100 || SetNfcEnabledOld
 
|-
 
|-
| 400 || [4.0.0+] InitializeSystem
+
| 400 || [4.0.0+] [[#Initialize|InitializeSystem]]
 
|-
 
|-
| 401 || [4.0.0+] FinalizeSystem
+
| 401 || [4.0.0+] [[#Finalize|FinalizeSystem]]
 
|-
 
|-
 
| 402 || [4.0.0+] GetState
 
| 402 || [4.0.0+] GetState
Line 243: Line 243:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || Initialize
+
| 0 || [[#Initialize]]
 
|-
 
|-
| 1 || Finalize
+
| 1 || [[#Finalize]]
 
|-
 
|-
 
| 2 || ListDevices
 
| 2 || ListDevices
Line 293: Line 293:  
| 24 || [3.0.0+] RecreateApplicationArea
 
| 24 || [3.0.0+] RecreateApplicationArea
 
|}
 
|}
 +
 +
=== Initialize ===
 +
Takes a PID, an [[AM_services|AppletResourceUserId]], an u64, a type-0x5 input buffer containing an array of [[#RequiredMcuVersionData]], no output.
 +
 +
sdknso passes value 0 for the u64.
 +
 +
Internally this is mostly the same for each service, this differs depending on the service/cmd however.
 +
 +
=== Finalize ===
 +
No input/output.
 +
 +
Internally this is mostly the same for each service, this differs depending on the service/cmd however.
    
= nfp:dbg =
 
= nfp:dbg =
Line 311: Line 323:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || InitializeDebug
+
| 0 || [[#Initialize|InitializeDebug]]
 
|-
 
|-
| 1 || FinalizeDebug
+
| 1 || [[#Finalize|FinalizeDebug]]
 
|-
 
|-
 
| 2 || ListDevices
 
| 2 || ListDevices
Line 444: Line 456:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || InitializeSystem
+
| 0 || [[#Initialize|InitializeSystem]]
 
|-
 
|-
| 1 || FinalizeSystem
+
| 1 || [[#Finalize|FinalizeSystem]]
 
|-
 
|-
 
| 2 || ListDevices
 
| 2 || ListDevices
Line 496: Line 508:  
| 106 || ExistsApplicationArea
 
| 106 || ExistsApplicationArea
 
|}
 
|}
 +
 +
= RequiredMcuVersionData =
 +
In sdknso, the global data containing the array data for this is "nn::nfc::client::RequiredMcuVersionData". The array entry is 0x20-bytes.
    
= DeviceHandle =
 
= DeviceHandle =

Navigation menu