NFC services: Difference between revisions

VolcaEM (talk | contribs)
mNo edit summary
No edit summary
Line 124: Line 124:
| 1001 || [4.0.0+] WriteMifare
| 1001 || [4.0.0+] WriteMifare
|-
|-
| 1300 || [4.0.0+] SendCommandByPassThrough
| 1300 || [4.0.0+] [[#SendCommandByPassThrough]]
|-
|-
| 1301 || [4.0.0+] KeepPassThroughSession
| 1301 || [4.0.0+] [[#KeepPassThroughSession]]
|-
|-
| 1302 || [4.0.0+] ReleasePassThroughSession
| 1302 || [4.0.0+] [[#ReleasePassThroughSession]]
|}
|}


Line 192: Line 192:
| 1001 || [4.0.0+] WriteMifare
| 1001 || [4.0.0+] WriteMifare
|-
|-
| 1300 || [4.0.0+] SendCommandByPassThrough
| 1300 || [4.0.0+] [[#SendCommandByPassThrough]]
|-
|-
| 1301 || [4.0.0+] KeepPassThroughSession
| 1301 || [4.0.0+] [[#KeepPassThroughSession]]
|-
|-
| 1302 || [4.0.0+] ReleasePassThroughSession
| 1302 || [4.0.0+] [[#ReleasePassThroughSession]]
|}
|}
== SendCommandByPassThrough ==
Takes an input [[#DeviceHandle]], a nn::TimeSpan, a type-0x6 output buffer, a type-0x5 input buffer, returns an output u32.
sdknso copies the output u32 into an u64.
== KeepPassThroughSession ==
Takes an input [[#DeviceHandle]], no output.
== ReleasePassThroughSession ==
Takes an input [[#DeviceHandle]], no output.


= nfp:user =
= nfp:user =
Line 462: Line 473:
| 106 || ExistsApplicationArea
| 106 || ExistsApplicationArea
|}
|}
= DeviceHandle =
This is "nn::nfc::DeviceHandle". This is a 8-byte struct with 4-byte alignment.


= RomFS =
= RomFS =