Changes

Jump to navigation Jump to search
982 bytes added ,  05:57, 27 November 2021
no edit summary
Line 50: Line 50:  
| 4 || StopDetection
 
| 4 || StopDetection
 
|-
 
|-
| 5 || Read
+
| 5 || [[#ReadMifare|Read]]
 
|-
 
|-
| 6 || Write
+
| 6 || [[#WriteMifare|Write]]
 
|-
 
|-
 
| 7 || GetTagInfo
 
| 7 || GetTagInfo
Line 120: Line 120:  
| 412 || [4.0.0+] AttachDeactivateEvent
 
| 412 || [4.0.0+] AttachDeactivateEvent
 
|-
 
|-
| 1000 || [4.0.0+] ReadMifare
+
| 1000 || [4.0.0+] [[#ReadMifare]]
 
|-
 
|-
| 1001 || [4.0.0+] WriteMifare
+
| 1001 || [4.0.0+] [[#WriteMifare]]
 
|-
 
|-
 
| 1300 || [4.0.0+] [[#SendCommandByPassThrough]]
 
| 1300 || [4.0.0+] [[#SendCommandByPassThrough]]
Line 184: Line 184:  
| 412 || [4.0.0+] AttachDeactivateEvent
 
| 412 || [4.0.0+] AttachDeactivateEvent
 
|-
 
|-
| 500 || [4.0.0+] SetNfcEnabled
+
| 500 || [4.0.0+] [[#SetNfcEnabled]]
 
|-
 
|-
| 510 || [7.0.0+] OutputTestWave
+
| 510 || [7.0.0+] [[#OutputTestWave]]
 
|-
 
|-
| 1000 || [4.0.0+] ReadMifare
+
| 1000 || [4.0.0+] [[#ReadMifare]]
 
|-
 
|-
| 1001 || [4.0.0+] WriteMifare
+
| 1001 || [4.0.0+] [[#WriteMifare]]
 
|-
 
|-
 
| 1300 || [4.0.0+] [[#SendCommandByPassThrough]]
 
| 1300 || [4.0.0+] [[#SendCommandByPassThrough]]
Line 198: Line 198:  
| 1302 || [4.0.0+] [[#ReleasePassThroughSession]]
 
| 1302 || [4.0.0+] [[#ReleasePassThroughSession]]
 
|}
 
|}
 +
 +
== SetNfcEnabled ==
 +
Takes an input bool, no output.
 +
 +
== OutputTestWave ==
 +
Takes an input bool and a [[#TestWaveType]], no output.
 +
 +
== 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.
 +
 +
sdknso passes the same user-specified array-count for both buffers.
 +
 +
== WriteMifare ==
 +
Takes an input [[#DeviceHandle]], a type-0x5 input buffer containing an array of [[#MifareWriteBlockParameter]], no output.
    
== SendCommandByPassThrough ==
 
== SendCommandByPassThrough ==
Line 476: Line 490:  
= DeviceHandle =
 
= DeviceHandle =
 
This is "nn::nfc::DeviceHandle". This is a 8-byte struct with 4-byte alignment.
 
This is "nn::nfc::DeviceHandle". This is a 8-byte struct with 4-byte alignment.
 +
 +
= TestWaveType =
 +
This is u32 enum "nn::nfc::TestWaveType".
 +
 +
= MifareReadBlockData =
 +
This is "nn::nfc::MifareReadBlockData". This is a 0x18-byte struct.
 +
 +
= MifareReadBlockParameter =
 +
This is "nn::nfc::MifareReadBlockParameter". This is a 0x18-byte struct.
 +
 +
= MifareWriteBlockParameter =
 +
This is "nn::nfc::MifareWriteBlockParameter". This is a 0x28-byte struct.
    
= RomFS =
 
= RomFS =

Navigation menu