Changes

171 bytes added ,  04:33, 30 November 2021
Line 174: Line 174:  
| 3 || [[#IsNfcEnabledOld]]
 
| 3 || [[#IsNfcEnabledOld]]
 
|-
 
|-
| 100 || SetNfcEnabledOld
+
| 100 || [[#SetNfcEnabledOld]]
 
|-
 
|-
 
| 400 || [4.0.0+] [[#Initialize|InitializeSystem]]
 
| 400 || [4.0.0+] [[#Initialize|InitializeSystem]]
Line 217: Line 217:  
|}
 
|}
   −
== SetNfcEnabled ==
+
=== SetNfcEnabledOld ===
 
Takes an input bool, no output.
 
Takes an input bool, no output.
   −
== OutputTestWave ==
+
This runs the same code as [[#SetNfcEnabled]].
 +
 
 +
=== SetNfcEnabled ===
 +
Takes an input bool, no output.
 +
 
 +
This replaces [[#SetNfcEnabledOld]].
 +
 
 +
=== OutputTestWave ===
 
Takes an input bool and a [[#TestWaveType]], no output.
 
Takes an input bool and a [[#TestWaveType]], no output.
   −
== ReadMifare ==
+
=== ReadMifare ===
 
Takes an input [[#DeviceHandle]], a type-0x6 output buffer containing an array of [[#MifareReadBlockData]], a type-0x5 input buffer containing an array of [[#MifareReadBlockParameter]], no output.
 
Takes an input [[#DeviceHandle]], a type-0x6 output buffer containing an array of [[#MifareReadBlockData]], a type-0x5 input buffer containing an array of [[#MifareReadBlockParameter]], no output.
    
sdknso passes the same user-specified array-count for both buffers.
 
sdknso passes the same user-specified array-count for both buffers.
   −
== WriteMifare ==
+
=== WriteMifare ===
 
Takes an input [[#DeviceHandle]], a type-0x5 input buffer containing an array of [[#MifareWriteBlockParameter]], no output.
 
Takes an input [[#DeviceHandle]], a type-0x5 input buffer containing an array of [[#MifareWriteBlockParameter]], no output.
   −
== SendCommandByPassThrough ==
+
=== SendCommandByPassThrough ===
Takes an input [[#DeviceHandle]], a nn::TimeSpan, a type-0x6 output buffer, a type-0x5 input buffer, returns an output u32 out_size.
+
Takes an input [[#DeviceHandle]], a nn::TimeSpan timeout, a type-0x6 output buffer, a type-0x5 input buffer, returns an output u32 out_size.
    
sdknso copies the output u32 into an u64. This is the actual size which was copied into the output buffer.
 
sdknso copies the output u32 into an u64. This is the actual size which was copied into the output buffer.
Line 238: Line 245:  
This allows using a raw NFC command. The input buffer contains the command data (id + params), and the output buffer contains the response.
 
This allows using a raw NFC command. The input buffer contains the command data (id + params), and the output buffer contains the response.
   −
== KeepPassThroughSession ==
+
=== KeepPassThroughSession ===
 
Takes an input [[#DeviceHandle]], no output.
 
Takes an input [[#DeviceHandle]], no output.
   −
== ReleasePassThroughSession ==
+
=== ReleasePassThroughSession ===
 
Takes an input [[#DeviceHandle]], no output.
 
Takes an input [[#DeviceHandle]], no output.