NFC services: Difference between revisions
No edit summary |
No edit summary |
||
Line 54: | Line 54: | ||
| 6 || [[#WriteMifare|Write]] | | 6 || [[#WriteMifare|Write]] | ||
|- | |- | ||
| 7 || GetTagInfo | | 7 || [[#GetTagInfo]] | ||
|- | |- | ||
| 8 || [[#AttachActivateEvent|GetActivateEventHandle]] | | 8 || [[#AttachActivateEvent|GetActivateEventHandle]] | ||
Line 114: | Line 114: | ||
| 409 || [4.0.0+] StopDetection | | 409 || [4.0.0+] StopDetection | ||
|- | |- | ||
| 410 || [4.0.0+] GetTagInfo | | 410 || [4.0.0+] [[#GetTagInfo]] | ||
|- | |- | ||
| 411 || [4.0.0+] [[#AttachActivateEvent]] | | 411 || [4.0.0+] [[#AttachActivateEvent]] | ||
Line 196: | Line 196: | ||
| 409 || [4.0.0+] StopDetection | | 409 || [4.0.0+] StopDetection | ||
|- | |- | ||
| 410 || [4.0.0+] GetTagInfo | | 410 || [4.0.0+] [[#GetTagInfo]] | ||
|- | |- | ||
| 411 || [4.0.0+] [[#AttachActivateEvent]] | | 411 || [4.0.0+] [[#AttachActivateEvent]] | ||
Line 294: | Line 294: | ||
| 12 || CreateApplicationArea | | 12 || CreateApplicationArea | ||
|- | |- | ||
| 13 || GetTagInfo | | 13 || [[#GetTagInfo]] | ||
|- | |- | ||
| 14 || GetRegisterInfo | | 14 || GetRegisterInfo | ||
Line 335: | Line 335: | ||
This can return a maximum of 0xA entries. | This can return a maximum of 0xA entries. | ||
=== GetTagInfo === | |||
Takes an input [[#DeviceHandle]] and a type-0x1A output buffer containing a [[#TagInfo]]. | |||
=== AttachActivateEvent === | === AttachActivateEvent === | ||
Line 402: | Line 405: | ||
| 12 || CreateApplicationArea | | 12 || CreateApplicationArea | ||
|- | |- | ||
| 13 || GetTagInfo | | 13 || [[#GetTagInfo]] | ||
|- | |- | ||
| 14 || GetRegisterInfo | | 14 || GetRegisterInfo | ||
Line 527: | Line 530: | ||
| 11 || Restore | | 11 || Restore | ||
|- | |- | ||
| 13 || GetTagInfo | | 13 || [[#GetTagInfo]] | ||
|- | |- | ||
| 14 || GetRegisterInfo | | 14 || GetRegisterInfo | ||
Line 567: | Line 570: | ||
= 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. | ||
= TagInfo = | |||
This is "nn::nfc::TagInfo" / "nn::nfp::TagInfo". This is a 0x58-byte struct. | |||
= TestWaveType = | = TestWaveType = |