NFC services: Difference between revisions

No edit summary
No edit summary
Line 64: Line 64:
| 11 || [[#GetDeviceState]]
| 11 || [[#GetDeviceState]]
|-
|-
| 12 || GetNpadId
| 12 || [[#GetNpadId]]
|-
|-
| 13 || [3.0.0+] GetAvailabilityChangeEventHandle
| 13 || [3.0.0+] GetAvailabilityChangeEventHandle
Line 106: Line 106:
| 405 || [4.0.0+] [[#GetDeviceState]]
| 405 || [4.0.0+] [[#GetDeviceState]]
|-
|-
| 406 || [4.0.0+] GetNpadId
| 406 || [4.0.0+] [[#GetNpadId]]
|-
|-
| 407 || [4.0.0+] AttachAvailabilityChangeEvent
| 407 || [4.0.0+] AttachAvailabilityChangeEvent
Line 188: Line 188:
| 405 || [4.0.0+] [[#GetDeviceState]]
| 405 || [4.0.0+] [[#GetDeviceState]]
|-
|-
| 406 || [4.0.0+] GetNpadId
| 406 || [4.0.0+] [[#GetNpadId]]
|-
|-
| 407 || [4.0.0+] AttachAvailabilityChangeEvent
| 407 || [4.0.0+] AttachAvailabilityChangeEvent
Line 310: Line 310:
| 20 || [[#GetDeviceState]]
| 20 || [[#GetDeviceState]]
|-
|-
| 21 || GetNpadId
| 21 || [[#GetNpadId]]
|-
|-
| 22 || GetApplicationAreaSize
| 22 || GetApplicationAreaSize
Line 340: Line 340:


The returned u32 is loaded from a lookup table. nfp services uses the same table, mifare uses a separate one, and the nfc services use another separate table.
The returned u32 is loaded from a lookup table. nfp services uses the same table, mifare uses a separate one, and the nfc services use another separate table.
=== GetNpadId ===
Takes an input [[#DeviceHandle]], returns an output u32 NpadId.


= nfp:dbg =
= nfp:dbg =
Line 400: Line 403:
| 20 || [[#GetDeviceState]]
| 20 || [[#GetDeviceState]]
|-
|-
| 21 || GetNpadId
| 21 || [[#GetNpadId]]
|-
|-
| 22 || GetApplicationArea2
| 22 || GetApplicationArea2
Line 525: Line 528:
| 20 || [[#GetDeviceState]]
| 20 || [[#GetDeviceState]]
|-
|-
| 21 || GetNpadId
| 21 || [[#GetNpadId]]
|-
|-
| 23 || [3.0.0+] AttachAvailabilityChangeEvent
| 23 || [3.0.0+] AttachAvailabilityChangeEvent