> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/titusstubs_8cpp.md).

# titusstubs.cpp

[Data Structures](#nested-classes) | [Namespaces](#namespaces) | [Macros](#define-members) | [Typedefs](#typedef-members) | [Enumerations](#enum-members) | [Functions](#func-members)

`#include <`[sysinfo/sysinfo.h](/adk-5.0-programmers-guide/sysinfo_8h_source.md)`>`

Include dependency graph for titusstubs.cpp:

![](/files/7GPJcUJ0cyPHUSysV1jC)

|                 |                                                      |
| --------------- | ---------------------------------------------------- |
| Data Structures |                                                      |
| struct          | [rawData](#structraw_data)                           |
| struct          | [discoveryParams](#structdiscovery_params)           |
| struct          | [activateParams](#structactivate_params)             |
| struct          | [discoveryResult](#structdiscovery_result)           |
| struct          | [\_cardInfo](#struct__card_info)                     |
| struct          | [\_pollRes](#struct__poll_res)                       |
| struct          | [\_cardInfoFull](#struct__card_info_full)            |
| struct          | [\_pollResFull](#struct__poll_res_full)              |
| struct          | [\_pollReq](#struct__poll_req)                       |
| struct          | [authenticationResult](#structauthentication_result) |
| struct          | [getServicesResult](#structget_services_result)      |
| struct          | [authenticationParams](#structauthentication_params) |
| struct          | [getServicesParams](#structget_services_params)      |
| struct          | [doVASInput](#structdo_v_a_s_input)                  |
| struct          | [doVASOutput](#structdo_v_a_s_output)                |
| struct          | [apduTxData](#structapdu_tx_data)                    |
| struct          | [apduRxData](#structapdu_rx_data)                    |
| struct          | [apduCommand](#structapdu_command)                   |
| struct          | [felicaTxData](#structfelica_tx_data)                |
| struct          | [felicaRxData](#structfelica_rx_data)                |
| struct          | [felicaPolling](#structfelica_polling)               |
| struct          | [felicaPollingOutput](#structfelica_polling_output)  |
| struct          | [TX\_RX\_PARAM](#struct_t_x___r_x___p_a_r_a_m)       |
| struct          | [callbackFlags](#structcallback_flags)               |
| struct          | [callbackText](#structcallback_text)                 |
| struct          | [callbackLeds](#structcallback_leds)                 |
| struct          | [callbackBuzzer](#structcallback_buzzer)             |
| struct          | [callbackInfo](#structcallback_info)                 |

|            |                                                                                      |
| ---------- | ------------------------------------------------------------------------------------ |
| Namespaces |                                                                                      |
|            | [vfigui](/adk-5.0-programmers-guide/readme/modules/group__vfigui/namespacevfigui.md) |

|         |                                                                             |
| ------- | --------------------------------------------------------------------------- |
| Macros  |                                                                             |
| #define | [UNKNOWN](#ac1ae4add974b9cfc6b5aaf8a578f01ab)   0x00000000                  |
| #define | [MIFARE\_NO\_DESFIRE](#a7ffa3265212a9b40d6b3768cbf1da891)   0x00000001      |
| #define | [ULTRALIGHT](#ab0ee3b39e7b9a5230150a96670251567)   0x00000002               |
| #define | [MINI](#a0cb2443a51e91f6bb4955607e6740eb4)   0x00000004                     |
| #define | [CLASSIC\_1K](#afabadb409a9406d7fd423c4db3b1e917)   0x00000008              |
| #define | [CLASSIC\_4K](#addd3f79ade461371becb4e85cb3e81a6)   0x00000010              |
| #define | [DESFIRE\_CL1](#ab8e8b957c7b98ba00619fe90f3700343)   0x00000020             |
| #define | [DESFIRE\_CL2](#a6ade05bbb66dcb6f2cc55b5f1313d76b)   0x00000040             |
| #define | [PLUS\_2K\_SL\_1](#a7405413ab8b172c9539cdd1f851e9420)   0x00000080          |
| #define | [PLUS\_4K\_SL\_1](#ad2f459f5a2cd67baf02442e3be3fcb3f)   0x00000100          |
| #define | [PLUS\_2K\_SL\_2](#ad3a0b75332626545a7b430f16212c818)   0x00000200          |
| #define | [PLUS\_4K\_SL\_2](#a67ee9df73f586e3f6a9971b27bad369d)   0x00000400          |
| #define | [PLUS\_2K\_SL\_3](#afab8839c55c2dad35b4a8a579be6c1c8)   0x00000800          |
| #define | [PLUS\_4K\_SL\_3](#afe1ac3006d24252fb43bcf34248b3604)   0x00001000          |
| #define | [TNP3xxx](#a7f4204d1357778e64b982c1ffa74c96d)   0x00002000                  |
| #define | [SMART\_MX\_1K\_EMULATION](#a1a8cadaea5e7374d4486470bb2685cd5)   0x00004000 |
| #define | [SMART\_MX\_4K\_EMULATION](#aabfceb0ada224732b12e43734980632a)   0x00008000 |
| #define | [SMART\_MX](#a32ed49cbee6829c1ab0131400ed2b97a)   0x00010000                |
| #define | [APDU\_COMPLIANT](#a21c1d446acec2f41a9682c822f12c383)   0x00020000          |
| #define | [NFC\_COMPLIANT](#a2283919157fea12db50306ed710f156b)   0x00040000           |
| #define | [ULTRALIGHT\_C](#a55a3805e87e8aed0644c5026399e4b57)   0x00080000            |
| #define | [ACTION\_DECRYPT](#ab5e3bc6a3475812dcde34d851e0186ff)   1                   |
| #define | [ACTION\_STORE\_WALLET\_KEYS](#ae9333ee0c84b990ae32f0df948a9868e)   3       |
| #define | [ACTION\_GET\_WALLET\_KEYS](#ad38cb1db79e3de794edff1323dcfb963)   4         |
| #define | [ACTION\_GET\_TOKEN](#a8eb76ec6ff48e37d8d1bbc2a401fe28d)   5                |
| #define | [ACTION\_ENCRYPT\_TOKEN](#aa14ab37911d23aa32958f41c6b002b00)   6            |
| #define | [CALLBACK\_MAX\_TEXT\_SIZE](#af1a3bbc93dff14ddbe899b6eacdcf8da)   (64)      |

|                                                          |                                                                                                        |
| -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| Typedefs                                                 |                                                                                                        |
| typedef struct [\_cardInfo](#struct__card_info)          | [cardInfo](#ac4f9d74d3e7ae774efd6a8c7c31b6965)                                                         |
| typedef struct [\_pollRes](#struct__poll_res)            | [pollRes](#abc99c096c433e8ed2fc1a6ac42d2bbc6)                                                          |
| typedef struct [\_cardInfoFull](#struct__card_info_full) | [cardInfoFull](#a40a595cd5294506deeede16a41b91b15)                                                     |
| typedef struct [\_pollResFull](#struct__poll_res_full)   | [pollResFull](#abffd13a24a89d1aedf98ae22d6e40eb4)                                                      |
| typedef struct [\_pollReq](#struct__poll_req)            | [pollReq](#ab4fc5a0481fff4756bbb875051581e61)                                                          |
| typedef void()                                           | [NfcCallbackFunction](#a09e0971bdc5fca16b920275a5f9aa508)(unsigned char \*data, size\_t dataSizeBytes) |

|              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Enumerations |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| enum         | <p><a href="#a42e167e83e1f0229d501a09e3f1d2b1a">ResponseCodes</a> {<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa1ae5b9979c8827877b43c0eb6dbf193d">EMB\_APP\_OK</a> = 0, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aadbc10f56d46e462bfeaf4500bd431124">EMB\_APP\_INCORRECT\_HEADER</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa9f99ca121c6c185ecb9acd8617306e6f">EMB\_APP\_UNKNOWN\_COMMAND</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aacea836e8c378e7f22cf69fcbd576061c">EMB\_APP\_UNKNOWN\_SUBCOMMAND</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa23d842fb52fb9c7e2edc30a8c333d846">EMB\_APP\_COMMAND\_NOT\_SUPPORTED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaeb631791b2927af13383b7c287d789bf">EMB\_APP\_SUBCOMMAND\_NOT\_SUPPORTED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa7afa89583fd2f48ec6e9df6978fc6b19">EMB\_APP\_CRC\_ERROR</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaf35513b90b5a053dea0ca992bb20f1f1">EMB\_APP\_FAILED</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa23ef12dc79b4c33fa7a8c04f8dfb134a">EMB\_APP\_TIMEOUT</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa6d346c08346da4fa08ca922c866af099">EMB\_APP\_UNKNOWN\_APP\_NAME</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaf55a0ff1ed620d281f8f0a46f6b83e5a">EMB\_APP\_PARAMETER\_NOT\_SUPPORTED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa2379d0505ba1c598d85c7ccc0b640ffb">EMB\_APP\_OTHER\_APP\_RUNNING</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa85e9eafbcabf2c45ed2ebb1d022782be">EMB\_APP\_AUTO\_RUN</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa18b8a2ed42ec0c8d30bc932beeecd3ac">EMB\_APP\_MULTI\_CARDS</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaf659038e8cff8c2e14be64bb50bb6c04">EMB\_APP\_START\_PAYMENT</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa24e0dafa39a46392eb21e22e9cce49b7">EMB\_APP\_COMM\_ERROR</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa7f9aa628463bd420dc1b4e1611da3396">EMB\_APP\_DATA\_CRC\_ERROR</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa36e526dd5acf4a3ce487da1e48bf5ddd">EMB\_APP\_INCORRECT\_DATA</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aafabca2e04d597898c898833b8c7ce6db">EMB\_APP\_CANCEL\_DONE</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa37075839dd27bc1cfb48aaedc6941bff">EMB\_APP\_CANCEL\_IRRELEVANT</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aac1e64c57ff2fea77a25f5f8dd9958923">EMB\_APP\_CANCEL\_NOT\_ALLOWED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa29c1d452b7a420e45eef56ec4432ff48">EMB\_APP\_DISCOVERY\_CANCELED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaf46968b1c847491d30ceafc78edb0232">EMB\_APP\_UNSUPPORTED\_CARD</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa64a2394c4994cf11a70f4034fa00be50">EMB\_APP\_SECOND\_TAP\_FAILED</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa23cac3e7820d9457347e2ff3ad09dd4e">EMB\_APP\_OUT\_OF\_ORDER\_COMMAND</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa3a0355ef9602f97cf3cd9a3d4b96bffe">EMB\_APP\_2ND\_AUTHENTICATION\_FAILED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa59665a57652856273260bc1150600039">EMB\_APP\_NFC\_GROUP\_RET\_FAIL</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaddec18878c94681f0d6881ca20e45a43">EMB\_APP\_INCORRECT\_LEN</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa1470bc59ca5b22189e574d0e1ec997c6">EMB\_APP\_TO\_MANY\_WALLETS</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaed22b476375aa37fb50330d1814175a8">EMB\_APP\_COMMAND\_NOT\_ALLOWED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa8432f9d9eb6ff2673eeaac4d1d63fa1b">EMB\_APP\_MISSING\_MANDATORY\_DATA</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aadf3c87d70162043abc70eaea4f75221a">EMB\_APP\_TWO\_SNEP\_DEFAULT\_WALLET</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaf4d7b3061b0cd0ea2bf95331fb6c6a69">EMB\_APP\_INCORRECT\_APP\_NAME</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa25fef497cf4c74f20887eee42ca8ad28">EMB\_APP\_APPLICATION\_DATA\_NOT\_ALLOWED</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa642ba1011f50313969be3ae73351d986">EMB\_APP\_APPLICATION\_NOT\_FOUND</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa56288f47aa408d7355247465edb53664">EMB\_APP\_MISMATHCED\_UID</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aab659e922ff9890f56e932ee5160436df">EMB\_APP\_WALLET\_NOT\_EXIST</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa8ec129611f9a6e54cae94b102ebf927d">EMB\_APP\_NFCUTIL\_ERROR</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa440b092da2e8723b50c264f4e837ef87">EMB\_APP\_USER\_ACTION\_REQUIRED\_UI</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa81eda044206542c5d9f75b1538a7e8c4">EMB\_APP\_VAS\_DATA\_NOT\_ACTIVATED</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa1639270ddc8d372d46ee0d6061894580">EMB\_APP\_BAD\_SYNTAX</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa4547070a73a3905a09a34d57e735201d">EMB\_APP\_INTERNAL\_ERROR</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa091726a012061e05ff7d0365de388c0c">EMB\_APP\_CARD\_NOT\_FOUND</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aafebbcf8141dbcddb65012f78546e3d74">EMB\_APP\_CARD\_ERROR</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa22b159dd27817ac8e1b22282f453ce2b">EMB\_APP\_L1\_CARD\_PROTOCOL\_ERROR</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aae65561b21e5d4ae28c97e0ad957c3376">EMB\_APP\_L1\_CARD\_NOT\_ACTIVE</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaf48275d704ede739cd5793f71b589426">EMB\_APP\_DUMMY\_FUNC\_CALL</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa545c5b4f2bb83c9b4c11e67ea8235c07">EMB\_APP\_CALLBACK\_SET\_ERROR</a>,<br>  <a href="#a42e167e83e1f0229d501a09e3f1d2b1aa66b47940f40a23fec0e893d00c8d301b">EMB\_APP\_INIT\_ERROR</a>, <a href="#a42e167e83e1f0229d501a09e3f1d2b1aaf88fbe772fbd14d061dbad2ac7daf464">EMB\_APP\_L1\_DRIVER\_CLOSED</a><br>}</p> |
| enum         | <p><a href="#a23878ec2ab700ea0ebd617a736ff664d">VasStatus</a> {<br>  <a href="#a23878ec2ab700ea0ebd617a736ff664da8c7c8ccd8db096b7018471ef8b7cbb42">VAS\_OK</a> = 0, <a href="#a23878ec2ab700ea0ebd617a736ff664dac8e118bd9e781d29218896dec1de6924">VAS\_DO\_PAY</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664dadd9f66e2ae107c591dee356e885ae116">VAS\_FAIL</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664da8fec5eb424f2f4454076cf139b46ac15">VAS\_ERR\_CTLS\_DRIVER\_CLOSE</a>,<br>  <a href="#a23878ec2ab700ea0ebd617a736ff664dac20a573e60d5a8e36ae536a629643ba6">VAS\_CANCEL</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664da83a598d17127ea50928c4e4efd979c51">VAS\_TIME\_OUT</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664dab2cdbdf047c6ca307296d4d0b3b557a5">VAS\_ERR\_CONFIG</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664da797b33170413c39b1720c81198c1ff59">VAS\_DUMMY\_CALL</a>,<br>  <a href="#a23878ec2ab700ea0ebd617a736ff664daca88bd730481734ac943cbef6d54bd80">VAS\_CANCEL\_NOT\_ALLOWED</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664dae34269934860d0687a1a32b4fd58ec3c">VAS\_CANCEL\_IRRELEVANT</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664dab4a27fa4a39c7f705d8eca7bc5d9ac92">VAS\_COMM\_ERR</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664dab2da40a454079c6b259069df563440f7">VAS\_INIT\_ERROR</a>,<br>  <a href="#a23878ec2ab700ea0ebd617a736ff664daf64f0437ec028a3a61caa4b3a1f52e87">VAS\_DO\_PAY\_DECRYPT\_REQ</a>, <a href="#a23878ec2ab700ea0ebd617a736ff664dae7cd8d56ea62d1b47794de1dc0350719">VAS\_OK\_DECRYPT\_REQ</a><br>}</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| enum         | <p><a href="#aaa127d57ebb465856805042ac5cd3276">NFC\_CARD\_TYPE</a> {<br>  <a href="#aaa127d57ebb465856805042ac5cd3276a3c01f70e75a226e41d3da590894a5420">I\_ISO14443A</a> = 1, <a href="#aaa127d57ebb465856805042ac5cd3276a5622953c1d34372843815f2f3b186ac5">I\_JEWEL</a> = 2, <a href="#aaa127d57ebb465856805042ac5cd3276af83700cd9387203788e0eea62b589a16">I\_ISO14443B</a> = 3, <a href="#aaa127d57ebb465856805042ac5cd3276a2ff69117c375dfae66bfa98536b88fe0">I\_ISO14443BI</a> = 4,<br>  <a href="#aaa127d57ebb465856805042ac5cd3276a25721b05538db8287192e9b9fc8a57ee">I\_ISO14443B2SR</a> = 5, <a href="#aaa127d57ebb465856805042ac5cd3276acc483e7e63fd2ed9f3608378692409d8">I\_ISO14443B2CT</a> = 6, <a href="#aaa127d57ebb465856805042ac5cd3276a902aba4d258a8f49df9479c28e2d7e37">I\_DEP</a> = 7, <a href="#aaa127d57ebb465856805042ac5cd3276aab6e793bee8234a2e5a8338bfa7801f1">I\_FELICA</a> = 8,<br>  <a href="#aaa127d57ebb465856805042ac5cd3276a29101ced040fb2c598886e4d6daef0a1">I\_ISO14443A\_MIFARE\_MINI</a> = 9, <a href="#aaa127d57ebb465856805042ac5cd3276ae89ee3a1a38bb5c408a60dea6bcf12ba">I\_ISO14443A\_MIFARE\_1K</a> = 10, <a href="#aaa127d57ebb465856805042ac5cd3276a29aff7e4401402cd5bf2a3f184b56d4e">I\_ISO14443A\_MIFARE\_4K</a> = 11, <a href="#aaa127d57ebb465856805042ac5cd3276a1ed02278f8caa3a39778c50e340158c8">I\_ISO14443A\_MIFARE\_DES</a> = 12,<br>  <a href="#aaa127d57ebb465856805042ac5cd3276ad30e84105080a927b71592065ff9c85c">I\_ISO14443A\_MIFARE\_PLUS</a> = 13, <a href="#aaa127d57ebb465856805042ac5cd3276a407f42558e97c012ade03a996964f2c0">I\_ISO14443A\_MIFARE\_UL</a> = 14, <a href="#aaa127d57ebb465856805042ac5cd3276a512aa5b7cccd17f04f5a02272d5ddc95">I\_ISO14443A\_MIFARE\_UL\_C</a> = 15, <a href="#aaa127d57ebb465856805042ac5cd3276aaa8ce646247179be2819e126c2edf3ea">I\_UNKNOWN\_CARD\_TYPE</a> = 16,<br>  <a href="#aaa127d57ebb465856805042ac5cd3276a1b0b79737533639714a9b7ce73c9178b">I\_ISO14443A\_APDU\_MIFARE\_1K</a> = 17<br>}</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| enum         | [I\_MIFARE\_CARD\_TYPE](#a305e8ef6dafad4980a3c94ce20eb4528) { [I\_MIFARE\_TYPE\_CLASSIC](#a305e8ef6dafad4980a3c94ce20eb4528adad7ef11b13de8b7177ce35220e7aba4), [I\_MIFARE\_TYPE\_ULTRALIGHT](#a305e8ef6dafad4980a3c94ce20eb4528a25079351bd0ad1a1b8095bd10ce35c60), [I\_MIFARE\_TYPE\_ULTRALIGHT\_C](#a305e8ef6dafad4980a3c94ce20eb4528a25821f35dee2e0981f981b2037c3f35e), [I\_MIFARE\_TYPE\_CLASSIC\_4K](#a305e8ef6dafad4980a3c94ce20eb4528a34d109084b2a8060213edeb2fa250031) }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| enum         | <p><a href="#a9bd1ffbba4634a8707caf0b8840ed5c9">NFC\_POLL\_PARAM\_TECH</a> {<br>  <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9a095d722cb68670beea6002cd84ef6a37">NFC\_POLL\_PARAM\_TECH\_A</a> = 0x01, <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9a2fbda2a62f66a6644864cf576f01443d">NFC\_POLL\_PARAM\_TECH\_B</a> = 0x02, <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9ae44c9cc468b3953877e9420cc8b30950">NFC\_POLL\_PARAM\_TECH\_AB</a> = 0x03, <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9a6c6842f2e8a0bb03131fdff2bafc2a51">NFC\_POLL\_PARAM\_TECH\_F\_DEP</a> = 0x04,<br>  <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9a151d690b298436f3db72c8bb46a62901">NFC\_POLL\_PARAM\_TECH\_FELICA</a> = 0x08, <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9ac528b0bb0eacc076f5d5accfe0e52f65">NFC\_POLL\_PARAM\_TECH\_F</a> = 0x0C, <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9a29502eed0bb440065cf05f204fa77854">NFC\_POLL\_PARAM\_TECH\_AF</a> = 0x05, <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9aba77a6510477affe00c1d6d5fb329642">NFC\_POLL\_PARAM\_TECH\_BF</a> = 0x06,<br>  <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9a1e79da4b579afa4d1ee3988607832409">NFC\_POLL\_PARAM\_TECH\_ABF</a> = 0x07, <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9a3ac537b8375ed7bd59c84a614586d270">NFC\_POLL\_PARAM\_CUSTOM</a> = 0x10<br>}</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enum         | [NFC\_F\_BAUD](#afbdd40a0f001fb7ab2c52ee99422b5eb) { [INF\_BAUD212](#afbdd40a0f001fb7ab2c52ee99422b5eba8340c2a3c3e67d28784023e1b22fcd9b), [INF\_BAUD424](#afbdd40a0f001fb7ab2c52ee99422b5eba8ebd537666fa94d66b54f31560e0e53f) }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| enum         | [MIFARE\_KEY\_TYPE](#a72881cdace76f5df6b0296a826ea71ee) { [MIFARE\_KEY\_TYPE\_A](#a72881cdace76f5df6b0296a826ea71eea46393e0dddf2945e04b4a12b9c77ca4a) = 1, [MIFARE\_KEY\_TYPE\_B](#a72881cdace76f5df6b0296a826ea71eeacc5f608d84d6854777ba463adf2399a0) }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| enum         | [FrameworkState](#ad4a095600742c645131c8e3afbefc436) { [IDLE](#ad4a095600742c645131c8e3afbefc436afd6a0e4343048b10646dd2976cc5ad18) = 1, [BUSY](#ad4a095600742c645131c8e3afbefc436aa6e504d57ec9777faa0185fbd3b93b97) = 2 }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| enum         | [callbackBuzzerFrequency](#a39f67630f813a1b3cd2e1a83396473ca) { [CALLBACK\_BUZZER\_FREQUENCY\_LOW](#a39f67630f813a1b3cd2e1a83396473caadb5a66f31909e3373122dc565ffb8496) = 0xFFFF, [CALLBACK\_BUZZER\_FREQUENCY\_HIGH](#a39f67630f813a1b3cd2e1a83396473caa6793faa6853fa2f877587c7617abe8f2) = 0xFFFE }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

|                                                                                                                                                                                                                     |                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions                                                                                                                                                                                                           |                                                                                                                                                                                                                                 |
| bool                                                                                                                                                                                                                | [isVclEnabled](#a78fee93cfc06d514ca06597ec76f4344) (bool checkVCLStatus)                                                                                                                                                        |
| bool                                                                                                                                                                                                                | [isVclTag](#ae39fd7875d2587fff66e7ea5ac6eebf5) (unsigned long ulTag)                                                                                                                                                            |
| bool                                                                                                                                                                                                                | [VCL\_DecryptMSR](#a761a155521638c5af5d80704e48ffb6b) ()                                                                                                                                                                        |
| bool                                                                                                                                                                                                                | [VCL\_EncryptEMV](#ab69f251cd1f487f02772398cd791b2fe) ()                                                                                                                                                                        |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Config\_Init](#a0d86892d3fb8c0bd2e38f4dc2558f326) (void)                                                                                                                                                                  |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Get\_Version](#aeb1d7b0b11d9e03b115520994b55f35c) ([rawData](#structraw_data) \*output)                                                                                                                                   |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Ping](#a67ffc3f45da9f94fe48f8b7915008bf1) ([rawData](#structraw_data) \*output)                                                                                                                                           |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Set\_Callback\_Function](#ae2824260537e148970342b114f4f3cef) ([rawData](#structraw_data) \*id, [NfcCallbackFunction](#a09e0971bdc5fca16b920275a5f9aa508) \*callbackFunction)                                              |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Callback\_Test](#a4393526286ccc021c29b5c9ffffea6d5) (void)                                                                                                                                                                |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_Open](#aaa8fefdd6c9e72d4d3a487b0ae5e5925) (void)                                                                                                                                                                      |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_Close](#a00d4921f4a21667ae4cddb317ffc04a5) (void)                                                                                                                                                                     |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_FieldOn](#af0e3c8e7991ac4edbeceb2e432c10275) (void)                                                                                                                                                                   |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_FieldOff](#a65c5ac372de4d71a8154f61b820abaf0) (void)                                                                                                                                                                  |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_Polling](#aa1e541259f194621834060bf770b717b) ([pollReq](#ab4fc5a0481fff4756bbb875051581e61) \*in\_pull\_req, [pollRes](#abc99c096c433e8ed2fc1a6ac42d2bbc6) \*out\_pull\_res)                                          |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_PollingFull](#ac692591d9c1287d0d4b6131a03b2e977) ([pollReq](#ab4fc5a0481fff4756bbb875051581e61) \*in\_pull\_req, [pollResFull](#abffd13a24a89d1aedf98ae22d6e40eb4) \*out\_pull\_res)                                  |
| void                                                                                                                                                                                                                | [NFC\_Free\_Poll\_Data](#a57637ae13b965f52baad6f2cf6df9b29) ([pollRes](#abc99c096c433e8ed2fc1a6ac42d2bbc6) \*out\_pull\_res)                                                                                                    |
| void                                                                                                                                                                                                                | [NFC\_Free\_Poll\_DataFull](#ab5991ed326183f4e8d0f7a00c9ff60a4) ([pollResFull](#abffd13a24a89d1aedf98ae22d6e40eb4) \*out\_pull\_res)                                                                                            |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_Cancel\_Polling](#ac828fb5be4468adf0d1058e70db106ee) (void)                                                                                                                                                           |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_Activation](#a969e1a6109a61709214ff554e91eed60) ([NFC\_CARD\_TYPE](#aaa127d57ebb465856805042ac5cd3276) cardType, [rawData](#structraw_data) \*rd\_activationData)                                                     |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_TxRx](#a32723e5224c90c693a167dbdfb7d4700) ([NFC\_CARD\_TYPE](#aaa127d57ebb465856805042ac5cd3276) cardType, [rawData](#structraw_data) \*in\_buff, [rawData](#structraw_data) \*out\_buff)                             |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_FtechBaud](#af3c0de5e1db22e34a32d0d5adab0e756) ([NFC\_F\_BAUD](#afbdd40a0f001fb7ab2c52ee99422b5eb) baud)                                                                                                              |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_PT\_Adv\_TxRx](#a38c8ee979705bde141c922ebb2915337) ([TX\_RX\_PARAM](#struct_t_x___r_x___p_a_r_a_m) \*comParams, [rawData](#structraw_data) \*in\_buff, [rawData](#structraw_data) \*out\_buff)                            |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Authenticate](#aedec140cfc839fe5a37cf2a50a2817f4) (unsigned char blockNumber, [MIFARE\_KEY\_TYPE](#a72881cdace76f5df6b0296a826ea71ee) keyType, [rawData](#structraw_data) \*Key)                                  |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Read](#ae4ae024c208eeaf4a8a8c6a0d4455850) ([I\_MIFARE\_CARD\_TYPE](#a305e8ef6dafad4980a3c94ce20eb4528) m\_cardType, unsigned int StartBlockNum, unsigned int blockAmount, [rawData](#structraw_data) \*out\_buff) |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Write](#a530661a2519e18704b7b42d20f975d10) ([I\_MIFARE\_CARD\_TYPE](#a305e8ef6dafad4980a3c94ce20eb4528) m\_cardType, unsigned int StartBlockNum, unsigned int blockAmount, [rawData](#structraw_data) \*in\_buff) |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Increment](#a1465ec2daccc203d021d97c85d216628) (unsigned int blockNum, int amount)                                                                                                                                |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Decrement](#a0173f202da9dcb995cf8a0ae2c676a9d) (unsigned int blockNum, int amount)                                                                                                                                |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Increment\_Only](#a905d4c59d169e24179efdefb7b02ea29) (unsigned int blockNum, int amount)                                                                                                                          |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Decrement\_Only](#af60063ed1a2e16ea0d36246c00060b9e) (unsigned int blockNum, int amount)                                                                                                                          |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Transfer](#a927d249ae02b388d7cd1e673844263d0) (unsigned int blockNum)                                                                                                                                             |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Mifare\_Restore](#ab6deea5c5d4fda9e929350926b527196) (unsigned int blockNum)                                                                                                                                              |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Felica\_Exchange](#a2c931bb61406783d5beae327e75f9c62) ([felicaTxData](#structfelica_tx_data) \*in\_buff, [felicaRxData](#structfelica_rx_data) \*out\_buff)                                                               |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Felica\_Polling](#a243a0bf8d307ac9e73b6ceb1428b5fee) (unsigned int pollTimeout, [felicaPolling](#structfelica_polling) \*inData, [felicaPollingOutput](#structfelica_polling_output) \*outData)                           |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_APDU\_Exchange](#af4ee1c833fe1c5cb410982be81a68a12) ([apduTxData](#structapdu_tx_data) \*txData, [apduRxData](#structapdu_rx_data) \*rxData)                                                                              |
| [ResponseCodes](#a42e167e83e1f0229d501a09e3f1d2b1a)                                                                                                                                                                 | [NFC\_Card\_Removal](#a568828e0b074fc2efb83f864ee06aafb) (void)                                                                                                                                                                 |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_Terminal\_Config](#ad0a349a0904d698fea9fffa004cb3eb3) ([rawData](#structraw_data) \*input, [rawData](#structraw_data) \*output)                                                                                           |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_TERMINAL\_ReadConfig](#a2de5511cecb17b6859116720c33b48bf) ([rawData](#structraw_data) \*id, [rawData](#structraw_data) \*output)                                                                                          |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_ReadConfig](#af8f463010a4c8584d2973b9df3c88c52) ([rawData](#structraw_data) \*id, [rawData](#structraw_data) \*output)                                                                                               |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_Activate](#a1f0e681b88497ef9e25abde4ed3b5b3b) ([rawData](#structraw_data) \*id, [rawData](#structraw_data) \*input, [rawData](#structraw_data) \*output)                                                             |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_Cancel](#a03691ec1f524ef86c995066b25185e80) (void)                                                                                                                                                                   |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_UpdateConfig](#a8816583d91da702a6c7e2143ed68f7d9) ([rawData](#structraw_data) \*id, [rawData](#structraw_data) \*input, [rawData](#structraw_data) \*output)                                                         |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_CancelConfig](#a7ea699bbeb85daabaf52bb2d94d7dc61) ([rawData](#structraw_data) \*id)                                                                                                                                  |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_PreLoad](#a8ee28a30cc5757bdd4d9ac413fe7ef17) ([rawData](#structraw_data) \*id, [rawData](#structraw_data) \*input, [rawData](#structraw_data) \*output)                                                              |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_CancelPreLoad](#a46e68ef15da8c20bc91ddef1b814859c) ([rawData](#structraw_data) \*id)                                                                                                                                 |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_Decrypt](#a19053197bd7fd0894d55827e7becec0a) ([rawData](#structraw_data) \*id, [rawData](#structraw_data) \*input, [rawData](#structraw_data) \*output)                                                              |
| [VasStatus](#a23878ec2ab700ea0ebd617a736ff664d)                                                                                                                                                                     | [NFC\_VAS\_Action](#a2598cb3e420c45913bfab5801c6a33a8) ([rawData](#structraw_data) \*id, int action, [rawData](#structraw_data) \*inData, [rawData](#structraw_data) \*outBuff)                                                 |
| [DllSpec](/adk-5.0-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) int | [uiSetLED](/adk-5.0-programmers-guide/readme/modules/group__vfigui/namespacevfigui.md#aeeb84d055718fd760d2db795f5c7159c) (int display, unsigned led, bool state)                                                                |
| [DllSpec](/adk-5.0-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) int | [uiSetLED](/adk-5.0-programmers-guide/readme/modules/group__vfigui/namespacevfigui.md#a2d552e5f0863af3ad7aeb9789c6f0e0c) (unsigned led, bool state)                                                                             |

***

### DataStructure Documentation <a href="#data-structure-documentation" id="data-structure-documentation"></a>

### rawData <a href="#structraw_data" id="structraw_data"></a>

struct rawData

|                  |               |   |
| ---------------- | ------------- | - |
| Data Fields      |               |   |
| unsigned char \* | buffer        |   |
| unsigned int     | bufferLen     |   |
| unsigned int     | bufferMaxSize |   |

### discoveryParams <a href="#structdiscovery_params" id="structdiscovery_params"></a>

struct discoveryParams

|               |                      |   |
| ------------- | -------------------- | - |
| Data Fields   |                      |   |
| unsigned char | activation           |   |
| unsigned char | cardType             |   |
| unsigned char | collision            |   |
| unsigned char | customPollParams\[1] |   |
| unsigned char | customPollParamsSize |   |
| unsigned int  | pollTime             |   |
| unsigned char | technology           |   |

### activateParams <a href="#structactivate_params" id="structactivate_params"></a>

struct activateParams

|               |            |   |
| ------------- | ---------- | - |
| Data Fields   |            |   |
| unsigned char | technology |   |

### discoveryResult <a href="#structdiscovery_result" id="structdiscovery_result"></a>

struct discoveryResult

|               |              |   |
| ------------- | ------------ | - |
| Data Fields   |              |   |
| unsigned char | cardTypeA    |   |
| unsigned char | cardTypeB    |   |
| unsigned char | cardTypeF    |   |
| unsigned char | numOfCards   |   |
| unsigned char | numOfCardsA  |   |
| unsigned char | numOfCardsB  |   |
| unsigned char | numOfCardsF  |   |
| unsigned char | pollData\[1] |   |
| unsigned char | pollDataSize |   |
| unsigned char | sak          |   |
| unsigned char | status       |   |
| unsigned char | uidA\[1]     |   |
| unsigned char | uidA\_Size   |   |
| unsigned char | uidB\[1]     |   |
| unsigned char | uidB\_Size   |   |
| unsigned char | uidF\[1]     |   |
| unsigned char | uidF\_Size   |   |

### \_cardInfo <a href="#struct__card_info" id="struct__card_info"></a>

struct \\\_cardInfo

Collaboration diagram for \_cardInfo:

![Collaboration graph](/files/h8R3rP1aNFSWp4aeT8iN)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                                                       |            |   |
| ----------------------------------------------------- | ---------- | - |
| Data Fields                                           |            |   |
| [rawData](#structraw_data)                            | card\_info |   |
| [NFC\_CARD\_TYPE](#aaa127d57ebb465856805042ac5cd3276) | cardType   |   |

### \_pollRes <a href="#struct__poll_res" id="struct__poll_res"></a>

struct \\\_pollRes

Collaboration diagram for \_pollRes:

![Collaboration graph](/files/qfzlQLcPk1KFzfR1GHpi)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                                                   |                           |   |
| ------------------------------------------------- | ------------------------- | - |
| Data Fields                                       |                           |   |
| [cardInfo](#ac4f9d74d3e7ae774efd6a8c7c31b6965) \* | cards\_info\_arr          |   |
| [rawData](#structraw_data)                        | custom\_poll\_result      |   |
| unsigned int                                      | m\_foundTargetsA          |   |
| unsigned int                                      | m\_foundTargetsB          |   |
| unsigned int                                      | m\_foundTargetsF          |   |
| unsigned int                                      | m\_foundTargetsTotalCount |   |

### \_cardInfoFull <a href="#struct__card_info_full" id="struct__card_info_full"></a>

struct \\\_cardInfoFull

Collaboration diagram for \_cardInfoFull:

![Collaboration graph](/files/Z3OONGpXW5OpB94jBbEh)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |               |   |
| -------------------------- | ------------- | - |
| Data Fields                |               |   |
| unsigned char              | ATQ\[2]       |   |
| long                       | m\_cardTypes  |   |
| unsigned char              | m\_modulation |   |
| unsigned char              | m\_SAK        |   |
| [rawData](#structraw_data) | mrd\_RFU      |   |
| [rawData](#structraw_data) | mrd\_UID      |   |

### \_pollResFull <a href="#struct__poll_res_full" id="struct__poll_res_full"></a>

struct \\\_pollResFull

Collaboration diagram for \_pollResFull:

![Collaboration graph](/files/4q7y77GaHm568BeinTPV)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                                                       |                           |   |
| ----------------------------------------------------- | ------------------------- | - |
| Data Fields                                           |                           |   |
| [cardInfoFull](#a40a595cd5294506deeede16a41b91b15) \* | cards\_info\_arr          |   |
| [rawData](#structraw_data)                            | custom\_poll\_result      |   |
| unsigned int                                          | m\_foundTargetsA          |   |
| unsigned int                                          | m\_foundTargetsB          |   |
| unsigned int                                          | m\_foundTargetsF          |   |
| unsigned int                                          | m\_foundTargetsTotalCount |   |

### \_pollReq <a href="#struct__poll_req" id="struct__poll_req"></a>

struct \\\_pollReq

Collaboration diagram for \_pollReq:

![Collaboration graph](/files/6NAnLrzbMyWrZS1eJRTj)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |                 |   |
| -------------------------- | --------------- | - |
| Data Fields                |                 |   |
| [rawData](#structraw_data) | customData      |   |
| unsigned int               | poll\_timeout   |   |
| unsigned int               | tech\_bitmap    |   |
| bool                       | turnDutyCycleOn |   |

### authenticationResult <a href="#structauthentication_result" id="structauthentication_result"></a>

struct authenticationResult

Collaboration diagram for authenticationResult:

![Collaboration graph](/files/6jcwcqqTpKCXx1ME86YM)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |                    |   |
| -------------------------- | ------------------ | - |
| Data Fields                |                    |   |
| [rawData](#structraw_data) | rdWalletAuthResult |   |
| [rawData](#structraw_data) | rdWalletName       |   |
| unsigned char              | status             |   |

### getServicesResult <a href="#structget_services_result" id="structget_services_result"></a>

struct getServicesResult

Collaboration diagram for getServicesResult:

![Collaboration graph](/files/oCAAcKRNvgjMV24r8eDm)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |                  |   |
| -------------------------- | ---------------- | - |
| Data Fields                |                  |   |
| [rawData](#structraw_data) | rdWalletName     |   |
| [rawData](#structraw_data) | rdWalletServices |   |
| unsigned char              | status           |   |

### authenticationParams <a href="#structauthentication_params" id="structauthentication_params"></a>

struct authenticationParams

Collaboration diagram for authenticationParams:

![Collaboration graph](/files/uKAkXyWKCnQQ6KSR85X3)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |                       |   |
| -------------------------- | --------------------- | - |
| Data Fields                |                       |   |
| unsigned char              | cardType              |   |
| unsigned int               | expectedResultMaxSize |   |
| [rawData](#structraw_data) | rdWalletAuthParams    |   |
| [rawData](#structraw_data) | rdWalletName          |   |
| unsigned char              | tech                  |   |

### getServicesParams <a href="#structget_services_params" id="structget_services_params"></a>

struct getServicesParams

Collaboration diagram for getServicesParams:

![Collaboration graph](/files/YiwFdOaQcLLBdoiqcrpq)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |                           |   |
| -------------------------- | ------------------------- | - |
| Data Fields                |                           |   |
| unsigned int               | expectedResultMaxSize     |   |
| [rawData](#structraw_data) | rdWalletGetServicesParams |   |
| [rawData](#structraw_data) | rdWalletName              |   |

### doVASInput <a href="#structdo_v_a_s_input" id="structdo_v_a_s_input"></a>

struct doVASInput

Collaboration diagram for doVASInput:

![Collaboration graph](/files/2ctHsXjpAYx95kJROkeT)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                                                         |                       |   |
| ------------------------------------------------------- | --------------------- | - |
| Data Fields                                             |                       |   |
| [authenticationParams](#structauthentication_params) \* | pAuthenticationParams |   |
| [getServicesParams](#structget_services_params) \*      | pGetServicesParams    |   |

### doVASOutput <a href="#structdo_v_a_s_output" id="structdo_v_a_s_output"></a>

struct doVASOutput

Collaboration diagram for doVASOutput:

![Collaboration graph](/files/fSDTcRCuCkWXYhHK6uCb)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                                                         |                       |   |
| ------------------------------------------------------- | --------------------- | - |
| Data Fields                                             |                       |   |
| [authenticationResult](#structauthentication_result) \* | pAuthenticationResult |   |
| [getServicesResult](#structget_services_result) \*      | pGetServicesResult    |   |

### apduTxData <a href="#structapdu_tx_data" id="structapdu_tx_data"></a>

struct apduTxData

Collaboration diagram for apduTxData:

![Collaboration graph](/files/ejhxZ8WH6P8p3eassOZ3)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |                     |   |
| -------------------------- | ------------------- | - |
| Data Fields                |                     |   |
| unsigned int               | clas                |   |
| unsigned int               | expectedResponseLen |   |
| unsigned int               | instruction         |   |
| unsigned int               | param1              |   |
| unsigned int               | param2              |   |
| [rawData](#structraw_data) | txData              |   |

### apduRxData <a href="#structapdu_rx_data" id="structapdu_rx_data"></a>

struct apduRxData

Collaboration diagram for apduRxData:

![Collaboration graph](/files/i52rTi8G3R3oyQtb2oav)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |        |   |
| -------------------------- | ------ | - |
| Data Fields                |        |   |
| [rawData](#structraw_data) | rxData |   |
| unsigned int               | sw1    |   |
| unsigned int               | sw2    |   |

### apduCommand <a href="#structapdu_command" id="structapdu_command"></a>

struct apduCommand

|               |              |   |
| ------------- | ------------ | - |
| Data Fields   |              |   |
| unsigned char | clas         |   |
| unsigned char | expectResLen |   |
| unsigned char | instraction  |   |
| unsigned char | param1       |   |
| unsigned char | param2       |   |

### felicaTxData <a href="#structfelica_tx_data" id="structfelica_tx_data"></a>

struct felicaTxData

Collaboration diagram for felicaTxData:

![Collaboration graph](/files/zihLlyADJvrpynGl8Re8)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |         |   |
| -------------------------- | ------- | - |
| Data Fields                |         |   |
| unsigned int               | timeOut |   |
| [rawData](#structraw_data) | txData  |   |

### felicaRxData <a href="#structfelica_rx_data" id="structfelica_rx_data"></a>

struct felicaRxData

Collaboration diagram for felicaRxData:

![Collaboration graph](/files/KLhw9tK8nhbRvBePZcUt)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                            |        |   |
| -------------------------- | ------ | - |
| Data Fields                |        |   |
| [rawData](#structraw_data) | rxData |   |

### felicaPolling <a href="#structfelica_polling" id="structfelica_polling"></a>

struct felicaPolling

|               |                |   |
| ------------- | -------------- | - |
| Data Fields   |                |   |
| unsigned int  | reciveTimeOUt  |   |
| unsigned char | requestCode    |   |
| unsigned char | systemCode\[2] |   |
| unsigned char | TimeSlot       |   |

### felicaPollingOutput <a href="#structfelica_polling_output" id="structfelica_polling_output"></a>

struct felicaPollingOutput

|               |             |   |
| ------------- | ----------- | - |
| Data Fields   |             |   |
| unsigned char | pad\[8]     |   |
| unsigned char | sysCode\[2] |   |
| unsigned char | UID\[8]     |   |

### TX\_RX\_PARAM <a href="#struct_t_x___r_x___p_a_r_a_m" id="struct_t_x___r_x___p_a_r_a_m"></a>

struct TX\_RX\_PARAM

|               |                 |   |
| ------------- | --------------- | - |
| Data Fields   |                 |   |
| unsigned char | CRC             |   |
| unsigned char | invalidFrames   |   |
| unsigned char | parity          |   |
| unsigned int  | responseTimeout |   |
| unsigned char | tech            |   |
| unsigned int  | timeOutCom      |   |

### callbackFlags <a href="#structcallback_flags" id="structcallback_flags"></a>

struct callbackFlags

|              |                  |   |
| ------------ | ---------------- | - |
| Data Fields  |                  |   |
| unsigned int | buzzerPresent: 1 |   |
| unsigned int | init: 1          |   |
| unsigned int | ledsPresent: 1   |   |
| unsigned int | textPresent: 1   |   |

### callbackText <a href="#structcallback_text" id="structcallback_text"></a>

struct callbackText

|             |                                                                        |   |
| ----------- | ---------------------------------------------------------------------- | - |
| Data Fields |                                                                        |   |
| char        | text\[[CALLBACK\_MAX\_TEXT\_SIZE](#af1a3bbc93dff14ddbe899b6eacdcf8da)] |   |

### callbackLeds <a href="#structcallback_leds" id="structcallback_leds"></a>

struct callbackLeds

|              |         |   |
| ------------ | ------- | - |
| Data Fields  |         |   |
| unsigned int | led1: 2 |   |
| unsigned int | led2: 2 |   |
| unsigned int | led3: 2 |   |
| unsigned int | led4: 2 |   |

### callbackBuzzer <a href="#structcallback_buzzer" id="structcallback_buzzer"></a>

struct callbackBuzzer

|                                                               |           |   |
| ------------------------------------------------------------- | --------- | - |
| Data Fields                                                   |           |   |
| [callbackBuzzerFrequency](#a39f67630f813a1b3cd2e1a83396473ca) | frequency |   |
| unsigned int                                                  | nTimes    |   |
| unsigned int                                                  | off\_ms   |   |
| unsigned int                                                  | on\_ms    |   |

### callbackInfo <a href="#structcallback_info" id="structcallback_info"></a>

struct callbackInfo

Collaboration diagram for callbackInfo:

![Collaboration graph](/files/JLa4adGjUDOzQ2gGfhCO)

\[[legend](/adk-5.0-programmers-guide/graph_legend.md)]

|                                          |        |   |
| ---------------------------------------- | ------ | - |
| Data Fields                              |        |   |
| [callbackBuzzer](#structcallback_buzzer) | buzzer |   |
| [callbackFlags](#structcallback_flags)   | flags  |   |
| [callbackLeds](#structcallback_leds)     | leds   |   |
| [callbackText](#structcallback_text)     | text   |   |

### MacroDefinition Documentation <a href="#macro-definition-documentation" id="macro-definition-documentation"></a>

### ACTION\_DECRYPT <a href="#ab5e3bc6a3475812dcde34d851e0186ff" id="ab5e3bc6a3475812dcde34d851e0186ff"></a>

\#define ACTION\_DECRYPT   1

### ACTION\_ENCRYPT\_TOKEN <a href="#aa14ab37911d23aa32958f41c6b002b00" id="aa14ab37911d23aa32958f41c6b002b00"></a>

\#define ACTION\_ENCRYPT\_TOKEN   6

### ACTION\_GET\_TOKEN <a href="#a8eb76ec6ff48e37d8d1bbc2a401fe28d" id="a8eb76ec6ff48e37d8d1bbc2a401fe28d"></a>

\#define ACTION\_GET\_TOKEN   5

### ACTION\_GET\_WALLET\_KEYS <a href="#ad38cb1db79e3de794edff1323dcfb963" id="ad38cb1db79e3de794edff1323dcfb963"></a>

\#define ACTION\_GET\_WALLET\_KEYS   4

### ACTION\_STORE\_WALLET\_KEYS <a href="#ae9333ee0c84b990ae32f0df948a9868e" id="ae9333ee0c84b990ae32f0df948a9868e"></a>

\#define ACTION\_STORE\_WALLET\_KEYS   3

### APDU\_COMPLIANT <a href="#a21c1d446acec2f41a9682c822f12c383" id="a21c1d446acec2f41a9682c822f12c383"></a>

\#define APDU\_COMPLIANT   0x00020000

### CALLBACK\_MAX\_TEXT\_SIZE <a href="#af1a3bbc93dff14ddbe899b6eacdcf8da" id="af1a3bbc93dff14ddbe899b6eacdcf8da"></a>

\#define CALLBACK\_MAX\_TEXT\_SIZE   (64)

### CLASSIC\_1K <a href="#afabadb409a9406d7fd423c4db3b1e917" id="afabadb409a9406d7fd423c4db3b1e917"></a>

\#define CLASSIC\_1K   0x00000008

### CLASSIC\_4K <a href="#addd3f79ade461371becb4e85cb3e81a6" id="addd3f79ade461371becb4e85cb3e81a6"></a>

\#define CLASSIC\_4K   0x00000010

### DESFIRE\_CL1 <a href="#ab8e8b957c7b98ba00619fe90f3700343" id="ab8e8b957c7b98ba00619fe90f3700343"></a>

\#define DESFIRE\_CL1   0x00000020

### DESFIRE\_CL2 <a href="#a6ade05bbb66dcb6f2cc55b5f1313d76b" id="a6ade05bbb66dcb6f2cc55b5f1313d76b"></a>

\#define DESFIRE\_CL2   0x00000040

### MIFARE\_NO\_DESFIRE <a href="#a7ffa3265212a9b40d6b3768cbf1da891" id="a7ffa3265212a9b40d6b3768cbf1da891"></a>

\#define MIFARE\_NO\_DESFIRE   0x00000001

### MINI <a href="#a0cb2443a51e91f6bb4955607e6740eb4" id="a0cb2443a51e91f6bb4955607e6740eb4"></a>

\#define MINI   0x00000004

### NFC\_COMPLIANT <a href="#a2283919157fea12db50306ed710f156b" id="a2283919157fea12db50306ed710f156b"></a>

\#define NFC\_COMPLIANT   0x00040000

### PLUS\_2K\_SL\_1 <a href="#a7405413ab8b172c9539cdd1f851e9420" id="a7405413ab8b172c9539cdd1f851e9420"></a>

\#define PLUS\_2K\_SL\_1   0x00000080

### PLUS\_2K\_SL\_2 <a href="#ad3a0b75332626545a7b430f16212c818" id="ad3a0b75332626545a7b430f16212c818"></a>

\#define PLUS\_2K\_SL\_2   0x00000200

### PLUS\_2K\_SL\_3 <a href="#afab8839c55c2dad35b4a8a579be6c1c8" id="afab8839c55c2dad35b4a8a579be6c1c8"></a>

\#define PLUS\_2K\_SL\_3   0x00000800

### PLUS\_4K\_SL\_1 <a href="#ad2f459f5a2cd67baf02442e3be3fcb3f" id="ad2f459f5a2cd67baf02442e3be3fcb3f"></a>

\#define PLUS\_4K\_SL\_1   0x00000100

### PLUS\_4K\_SL\_2 <a href="#a67ee9df73f586e3f6a9971b27bad369d" id="a67ee9df73f586e3f6a9971b27bad369d"></a>

\#define PLUS\_4K\_SL\_2   0x00000400

### PLUS\_4K\_SL\_3 <a href="#afe1ac3006d24252fb43bcf34248b3604" id="afe1ac3006d24252fb43bcf34248b3604"></a>

\#define PLUS\_4K\_SL\_3   0x00001000

### SMART\_MX <a href="#a32ed49cbee6829c1ab0131400ed2b97a" id="a32ed49cbee6829c1ab0131400ed2b97a"></a>

\#define SMART\_MX   0x00010000

### SMART\_MX\_1K\_EMULATION <a href="#a1a8cadaea5e7374d4486470bb2685cd5" id="a1a8cadaea5e7374d4486470bb2685cd5"></a>

\#define SMART\_MX\_1K\_EMULATION   0x00004000

### SMART\_MX\_4K\_EMULATION <a href="#aabfceb0ada224732b12e43734980632a" id="aabfceb0ada224732b12e43734980632a"></a>

\#define SMART\_MX\_4K\_EMULATION   0x00008000

### TNP3xxx <a href="#a7f4204d1357778e64b982c1ffa74c96d" id="a7f4204d1357778e64b982c1ffa74c96d"></a>

\#define TNP3xxx   0x00002000

### ULTRALIGHT <a href="#ab0ee3b39e7b9a5230150a96670251567" id="ab0ee3b39e7b9a5230150a96670251567"></a>

\#define ULTRALIGHT   0x00000002

### ULTRALIGHT\_C <a href="#a55a3805e87e8aed0644c5026399e4b57" id="a55a3805e87e8aed0644c5026399e4b57"></a>

\#define ULTRALIGHT\_C   0x00080000

### UNKNOWN <a href="#ac1ae4add974b9cfc6b5aaf8a578f01ab" id="ac1ae4add974b9cfc6b5aaf8a578f01ab"></a>

\#define UNKNOWN   0x00000000

### TypedefDocumentation <a href="#typedef-documentation" id="typedef-documentation"></a>

### cardInfo <a href="#ac4f9d74d3e7ae774efd6a8c7c31b6965" id="ac4f9d74d3e7ae774efd6a8c7c31b6965"></a>

typedef struct \[\\\_cardInfo]\(#struct\_\_card\_info) \[cardInfo]\(#ac4f9d74d3e7ae774efd6a8c7c31b6965)

### cardInfoFull <a href="#a40a595cd5294506deeede16a41b91b15" id="a40a595cd5294506deeede16a41b91b15"></a>

typedef struct \[\\\_cardInfoFull]\(#struct\_\_card\_info\_full) \[cardInfoFull]\(#a40a595cd5294506deeede16a41b91b15)

### NfcCallbackFunction <a href="#a09e0971bdc5fca16b920275a5f9aa508" id="a09e0971bdc5fca16b920275a5f9aa508"></a>

typedef void() NfcCallbackFunction(unsigned char \\\*data, size\_t dataSizeBytes)

### pollReq <a href="#ab4fc5a0481fff4756bbb875051581e61" id="ab4fc5a0481fff4756bbb875051581e61"></a>

typedef struct \[\\\_pollReq]\(#struct\_\_poll\_req) \[pollReq]\(#ab4fc5a0481fff4756bbb875051581e61)

### pollRes <a href="#abc99c096c433e8ed2fc1a6ac42d2bbc6" id="abc99c096c433e8ed2fc1a6ac42d2bbc6"></a>

typedef struct \[\\\_pollRes]\(#struct\_\_poll\_res) \[pollRes]\(#abc99c096c433e8ed2fc1a6ac42d2bbc6)

### pollResFull <a href="#abffd13a24a89d1aedf98ae22d6e40eb4" id="abffd13a24a89d1aedf98ae22d6e40eb4"></a>

typedef struct \[\\\_pollResFull]\(#struct\_\_poll\_res\_full) \[pollResFull]\(#abffd13a24a89d1aedf98ae22d6e40eb4)

### EnumerationType Documentation <a href="#enumeration-type-documentation" id="enumeration-type-documentation"></a>

### callbackBuzzerFrequency <a href="#a39f67630f813a1b3cd2e1a83396473ca" id="a39f67630f813a1b3cd2e1a83396473ca"></a>

enum \[callbackBuzzerFrequency]\(#a39f67630f813a1b3cd2e1a83396473ca)

|                                   |   |
| --------------------------------- | - |
| Enumerator                        |   |
| CALLBACK\_BUZZER\_FREQUENCY\_LOW  |   |
| CALLBACK\_BUZZER\_FREQUENCY\_HIGH |   |

### FrameworkState <a href="#ad4a095600742c645131c8e3afbefc436" id="ad4a095600742c645131c8e3afbefc436"></a>

enum \[FrameworkState]\(#ad4a095600742c645131c8e3afbefc436)

|            |   |
| ---------- | - |
| Enumerator |   |
| IDLE       |   |
| BUSY       |   |

### I\_MIFARE\_CARD\_TYPE <a href="#a305e8ef6dafad4980a3c94ce20eb4528" id="a305e8ef6dafad4980a3c94ce20eb4528"></a>

enum \[I\_MIFARE\_CARD\_TYPE]\(#a305e8ef6dafad4980a3c94ce20eb4528)

|                                |   |
| ------------------------------ | - |
| Enumerator                     |   |
| I\_MIFARE\_TYPE\_CLASSIC       |   |
| I\_MIFARE\_TYPE\_ULTRALIGHT    |   |
| I\_MIFARE\_TYPE\_ULTRALIGHT\_C |   |
| I\_MIFARE\_TYPE\_CLASSIC\_4K   |   |

### MIFARE\_KEY\_TYPE <a href="#a72881cdace76f5df6b0296a826ea71ee" id="a72881cdace76f5df6b0296a826ea71ee"></a>

enum \[MIFARE\_KEY\_TYPE]\(#a72881cdace76f5df6b0296a826ea71ee)

|                      |   |
| -------------------- | - |
| Enumerator           |   |
| MIFARE\_KEY\_TYPE\_A |   |
| MIFARE\_KEY\_TYPE\_B |   |

### NFC\_CARD\_TYPE <a href="#aaa127d57ebb465856805042ac5cd3276" id="aaa127d57ebb465856805042ac5cd3276"></a>

enum \[NFC\_CARD\_TYPE]\(#aaa127d57ebb465856805042ac5cd3276)

|                                |   |
| ------------------------------ | - |
| Enumerator                     |   |
| I\_ISO14443A                   |   |
| I\_JEWEL                       |   |
| I\_ISO14443B                   |   |
| I\_ISO14443BI                  |   |
| I\_ISO14443B2SR                |   |
| I\_ISO14443B2CT                |   |
| I\_DEP                         |   |
| I\_FELICA                      |   |
| I\_ISO14443A\_MIFARE\_MINI     |   |
| I\_ISO14443A\_MIFARE\_1K       |   |
| I\_ISO14443A\_MIFARE\_4K       |   |
| I\_ISO14443A\_MIFARE\_DES      |   |
| I\_ISO14443A\_MIFARE\_PLUS     |   |
| I\_ISO14443A\_MIFARE\_UL       |   |
| I\_ISO14443A\_MIFARE\_UL\_C    |   |
| I\_UNKNOWN\_CARD\_TYPE         |   |
| I\_ISO14443A\_APDU\_MIFARE\_1K |   |

### NFC\_F\_BAUD <a href="#afbdd40a0f001fb7ab2c52ee99422b5eb" id="afbdd40a0f001fb7ab2c52ee99422b5eb"></a>

enum \[NFC\_F\_BAUD]\(#afbdd40a0f001fb7ab2c52ee99422b5eb)

|              |   |
| ------------ | - |
| Enumerator   |   |
| INF\_BAUD212 |   |
| INF\_BAUD424 |   |

### NFC\_POLL\_PARAM\_TECH <a href="#a9bd1ffbba4634a8707caf0b8840ed5c9" id="a9bd1ffbba4634a8707caf0b8840ed5c9"></a>

enum \[NFC\_POLL\_PARAM\_TECH]\(#a9bd1ffbba4634a8707caf0b8840ed5c9)

|                                |   |
| ------------------------------ | - |
| Enumerator                     |   |
| NFC\_POLL\_PARAM\_TECH\_A      |   |
| NFC\_POLL\_PARAM\_TECH\_B      |   |
| NFC\_POLL\_PARAM\_TECH\_AB     |   |
| NFC\_POLL\_PARAM\_TECH\_F\_DEP |   |
| NFC\_POLL\_PARAM\_TECH\_FELICA |   |
| NFC\_POLL\_PARAM\_TECH\_F      |   |
| NFC\_POLL\_PARAM\_TECH\_AF     |   |
| NFC\_POLL\_PARAM\_TECH\_BF     |   |
| NFC\_POLL\_PARAM\_TECH\_ABF    |   |
| NFC\_POLL\_PARAM\_CUSTOM       |   |

### ResponseCodes <a href="#a42e167e83e1f0229d501a09e3f1d2b1a" id="a42e167e83e1f0229d501a09e3f1d2b1a"></a>

enum \[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a)

|                                           |               |
| ----------------------------------------- | ------------- |
| Enumerator                                |               |
| EMB\_APP\_OK                              | EMB\_APP\_OK. |
| EMB\_APP\_INCORRECT\_HEADER               |               |
| EMB\_APP\_UNKNOWN\_COMMAND                |               |
| EMB\_APP\_UNKNOWN\_SUBCOMMAND             |               |
| EMB\_APP\_COMMAND\_NOT\_SUPPORTED         |               |
| EMB\_APP\_SUBCOMMAND\_NOT\_SUPPORTED      |               |
| EMB\_APP\_CRC\_ERROR                      |               |
| EMB\_APP\_FAILED                          |               |
| EMB\_APP\_TIMEOUT                         |               |
| EMB\_APP\_UNKNOWN\_APP\_NAME              |               |
| EMB\_APP\_PARAMETER\_NOT\_SUPPORTED       |               |
| EMB\_APP\_OTHER\_APP\_RUNNING             |               |
| EMB\_APP\_AUTO\_RUN                       |               |
| EMB\_APP\_MULTI\_CARDS                    |               |
| EMB\_APP\_START\_PAYMENT                  |               |
| EMB\_APP\_COMM\_ERROR                     |               |
| EMB\_APP\_DATA\_CRC\_ERROR                |               |
| EMB\_APP\_INCORRECT\_DATA                 |               |
| EMB\_APP\_CANCEL\_DONE                    |               |
| EMB\_APP\_CANCEL\_IRRELEVANT              |               |
| EMB\_APP\_CANCEL\_NOT\_ALLOWED            |               |
| EMB\_APP\_DISCOVERY\_CANCELED             |               |
| EMB\_APP\_UNSUPPORTED\_CARD               |               |
| EMB\_APP\_SECOND\_TAP\_FAILED             |               |
| EMB\_APP\_OUT\_OF\_ORDER\_COMMAND         |               |
| EMB\_APP\_2ND\_AUTHENTICATION\_FAILED     |               |
| EMB\_APP\_NFC\_GROUP\_RET\_FAIL           |               |
| EMB\_APP\_INCORRECT\_LEN                  |               |
| EMB\_APP\_TO\_MANY\_WALLETS               |               |
| EMB\_APP\_COMMAND\_NOT\_ALLOWED           |               |
| EMB\_APP\_MISSING\_MANDATORY\_DATA        |               |
| EMB\_APP\_TWO\_SNEP\_DEFAULT\_WALLET      |               |
| EMB\_APP\_INCORRECT\_APP\_NAME            |               |
| EMB\_APP\_APPLICATION\_DATA\_NOT\_ALLOWED |               |
| EMB\_APP\_APPLICATION\_NOT\_FOUND         |               |
| EMB\_APP\_MISMATHCED\_UID                 |               |
| EMB\_APP\_WALLET\_NOT\_EXIST              |               |
| EMB\_APP\_NFCUTIL\_ERROR                  |               |
| EMB\_APP\_USER\_ACTION\_REQUIRED\_UI      |               |
| EMB\_APP\_VAS\_DATA\_NOT\_ACTIVATED       |               |
| EMB\_APP\_BAD\_SYNTAX                     |               |
| EMB\_APP\_INTERNAL\_ERROR                 |               |
| EMB\_APP\_CARD\_NOT\_FOUND                |               |
| EMB\_APP\_CARD\_ERROR                     |               |
| EMB\_APP\_L1\_CARD\_PROTOCOL\_ERROR       |               |
| EMB\_APP\_L1\_CARD\_NOT\_ACTIVE           |               |
| EMB\_APP\_DUMMY\_FUNC\_CALL               |               |
| EMB\_APP\_CALLBACK\_SET\_ERROR            |               |
| EMB\_APP\_INIT\_ERROR                     |               |
| EMB\_APP\_L1\_DRIVER\_CLOSED              |               |

### VasStatus <a href="#a23878ec2ab700ea0ebd617a736ff664d" id="a23878ec2ab700ea0ebd617a736ff664d"></a>

enum \[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d)

|                               |   |
| ----------------------------- | - |
| Enumerator                    |   |
| VAS\_OK                       |   |
| VAS\_DO\_PAY                  |   |
| VAS\_FAIL                     |   |
| VAS\_ERR\_CTLS\_DRIVER\_CLOSE |   |
| VAS\_CANCEL                   |   |
| VAS\_TIME\_OUT                |   |
| VAS\_ERR\_CONFIG              |   |
| VAS\_DUMMY\_CALL              |   |
| VAS\_CANCEL\_NOT\_ALLOWED     |   |
| VAS\_CANCEL\_IRRELEVANT       |   |
| VAS\_COMM\_ERR                |   |
| VAS\_INIT\_ERROR              |   |
| VAS\_DO\_PAY\_DECRYPT\_REQ    |   |
| VAS\_OK\_DECRYPT\_REQ         |   |

### FunctionDocumentation <a href="#function-documentation" id="function-documentation"></a>

### isVclEnabled() <a href="#a78fee93cfc06d514ca06597ec76f4344" id="a78fee93cfc06d514ca06597ec76f4344"></a>

bool isVclEnabled

### isVclTag() <a href="#ae39fd7875d2587fff66e7ea5ac6eebf5" id="ae39fd7875d2587fff66e7ea5ac6eebf5"></a>

bool isVclTag

### NFC\_APDU\_Exchange() <a href="#af4ee1c833fe1c5cb410982be81a68a12" id="af4ee1c833fe1c5cb410982be81a68a12"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_APDU\_Exchange

Data transceive of APDU protocol.

{% hint style="info" %}
This command is not allowed on SDI Server external interface
{% endhint %}

\*\*Parameters\*\*

\[in] **txData** apduTxData data to send \[out] **rxData** apduRxData data received

#### Returns

EMB\_APP\_COMMAND\_NOT\_SUPPORTED

### NFC\_Callback\_Test() <a href="#a4393526286ccc021c29b5c9ffffea6d5" id="a4393526286ccc021c29b5c9ffffea6d5"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Callback\_Test

Undocumented function, just included because part of NFC\_Interface.h.

#### Returns

EMB\_APP\_COMMAND\_NOT\_SUPPORTED

### NFC\_Card\_Removal() <a href="#a568828e0b074fc2efb83f864ee06aafb" id="a568828e0b074fc2efb83f864ee06aafb"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Card\_Removal

### NFC\_Config\_Init() <a href="#a0d86892d3fb8c0bd2e38f4dc2558f326" id="a0d86892d3fb8c0bd2e38f4dc2558f326"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Config\_Init

According NFC documentation: Initializes NFC Configuration. But this function does nothing and always returns error.

#### Returns

EMB\_APP\_FAILED

### NFC\_Felica\_Exchange() <a href="#a2c931bb61406783d5beae327e75f9c62" id="a2c931bb61406783d5beae327e75f9c62"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Felica\_Exchange

Data transive over Felica protocol

**Parameters**

\[in] **in\_buff** binary input \[out] **out\_buff** binary output

#### Returns

ResponseCodes

### NFC\_Felica\_Polling() <a href="#a243a0bf8d307ac9e73b6ceb1428b5fee" id="a243a0bf8d307ac9e73b6ceb1428b5fee"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Felica\_Polling

FeliCa Polling request

**Parameters**

\[in] **pollTimeout** timeout in Milli Seconds \[in] **inData** felicaPolling input data \[out] **outData** felicaPollingOutput result data

#### Returns

ResponseCodes

### NFC\_Free\_Poll\_Data() <a href="#a57637ae13b965f52baad6f2cf6df9b29" id="a57637ae13b965f52baad6f2cf6df9b29"></a>

void NFC\_Free\_Poll\_Data

Releases memory allocated in the pollRes \*outPollRes when [NFC\_PT\_Polling()](/adk-5.0-programmers-guide/readme/files/dir_fd97ec13bcecf864d0a2538bcb52d927/dir_64d02063c70c5c9b1f1dea0f7cacc02a/sdi__nfc_8h.md#a309c7373d9b530f7c6027466d7e6f6f7) was called.

### NFC\_Free\_Poll\_DataFull() <a href="#ab5991ed326183f4e8d0f7a00c9ff60a4" id="ab5991ed326183f4e8d0f7a00c9ff60a4"></a>

void NFC\_Free\_Poll\_DataFull

### NFC\_Get\_Version() <a href="#aeb1d7b0b11d9e03b115520994b55f35c" id="aeb1d7b0b11d9e03b115520994b55f35c"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Get\_Version

Returns ADK-NFC build and kernels versions as JSON string Depending on return code [getNfcSW12()](/adk-5.0-programmers-guide/readme/namespaces/namespacelibsdi.md#a3b0818635e2caaab3b2f98370fb37d16) or [getNfcClientError()](/adk-5.0-programmers-guide/readme/namespaces/namespacelibsdi.md#a22b6870acf257e81edc02ef0942b98ed) might provide the error reason.

**Parameters**

\[out] **output** data buffer for the version information

#### Returns

NFC result, EMB\_APP\_FAILED for other SW12, EMB\_APP\_COMM\_ERROR for client side error

### NFC\_Mifare\_Authenticate() <a href="#aedec140cfc839fe5a37cf2a50a2817f4" id="aedec140cfc839fe5a37cf2a50a2817f4"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Authenticate

Authenticates the section with given block address with either key A or B.

**Parameters**

\[in] **blockNumber** MIFARE block address within the section to authenticate '00' .. 'FF' \[in] **keyType** MIFARE\_KEY\_TYPE\_A or MIFARE\_KEY\_TYPE\_B \[in] **Key** MIFARE key (e.g. MIFARE classic crypto-1 key with 48 bit)

#### Returns

ResponseCodes

### NFC\_Mifare\_Decrement() <a href="#a0173f202da9dcb995cf8a0ae2c676a9d" id="a0173f202da9dcb995cf8a0ae2c676a9d"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Decrement

Decrement MIFARE value block by amount and transfer to original location

**Parameters**

\[in] **blockNum** source and destination block address \[in] **amount** 4 byte signed integer

#### Returns

ResponseCodes

### NFC\_Mifare\_Decrement\_Only() <a href="#af60063ed1a2e16ea0d36246c00060b9e" id="af60063ed1a2e16ea0d36246c00060b9e"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Decrement\_Only

Decrement MIFARE value block by amount and store at transfer buffer

**Parameters**

\[in] **blockNum** source block address \[in] **amount** 4 byte signed integer

#### Returns

ResponseCodes

### NFC\_Mifare\_Increment() <a href="#a1465ec2daccc203d021d97c85d216628" id="a1465ec2daccc203d021d97c85d216628"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Increment

Increment MIFARE value block by amount and transfer to original location

**Parameters**

\[in] **blockNum** source and destination block address \[in] **amount** 4 byte signed integer

#### Returns

ResponseCodes

### NFC\_Mifare\_Increment\_Only() <a href="#a905d4c59d169e24179efdefb7b02ea29" id="a905d4c59d169e24179efdefb7b02ea29"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Increment\_Only

Increment MIFARE value block by amount and store at transfer buffer

**Parameters**

\[in] **blockNum** source block address \[in] **amount** 4 byte signed integer

#### Returns

ResponseCodes

### NFC\_Mifare\_Read() <a href="#ae4ae024c208eeaf4a8a8c6a0d4455850" id="ae4ae024c208eeaf4a8a8c6a0d4455850"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Read

Read block data of up to 15 blocks

**Parameters**

\[in] **m\_cardType** I\_MIFARE\_CARD\_TYPE \[in] **StartBlockNum** address of first block \[in] **blockAmount** number of blocks to read \[out] **out\_buff** output buffer, required size is 16\*blockAmount

#### Returns

ResponseCodes

### NFC\_Mifare\_Restore() <a href="#ab6deea5c5d4fda9e929350926b527196" id="ab6deea5c5d4fda9e929350926b527196"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Restore

Write value from source block to transfer buffer

**Parameters**

\[in] **blockNum** source block address

#### Returns

ResponseCodes

### NFC\_Mifare\_Transfer() <a href="#a927d249ae02b388d7cd1e673844263d0" id="a927d249ae02b388d7cd1e673844263d0"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Transfer

Write value from transfer buffer to destination block

**Parameters**

\[in] **blockNum** destination block address

#### Returns

ResponseCodes

### NFC\_Mifare\_Write() <a href="#a530661a2519e18704b7b42d20f975d10" id="a530661a2519e18704b7b42d20f975d10"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Mifare\_Write

Write block data of up to 15 blocks

**Parameters**

\[in] **m\_cardType** I\_MIFARE\_CARD\_TYPE \[in] **StartBlockNum** address of first block \[in] **blockAmount** number of blocks to read \[in] **in\_buff** data to write of size 16\*blockAmount

#### Returns

ResponseCodes

### NFC\_Ping() <a href="#a67ffc3f45da9f94fe48f8b7915008bf1" id="a67ffc3f45da9f94fe48f8b7915008bf1"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Ping

Return NFC Framework State of the NFC framework.

### NFC\_PT\_Activation() <a href="#a969e1a6109a61709214ff554e91eed60" id="a969e1a6109a61709214ff554e91eed60"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_Activation

Activates (selects) the card found during polling. When the SDI server response is not 90xx or there was a communication problem an appropriate CL\_STATUS or CL\_STATUS\_GENERAL\_ERROR is returned. The functions getNfcClientError and getNfcSW12 will provide the error indication.

**Parameters**

\[in] **cardtype** value from pollRes::cardInfo]n].cardType or pollResFull::cards\_info\_arr\[n].m\_modulation \[in] **rd\_activationData** value from pollRes::cards\_info\_arr\[n].card\_info or pollResFull::card\_info\_arr\[n].mrd\_UID

### NFC\_PT\_Adv\_TxRx() <a href="#a38c8ee979705bde141c922ebb2915337" id="a38c8ee979705bde141c922ebb2915337"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_Adv\_TxRx

Sends and receives raw data using ISO 14443-3 protocol with advanced communication parameters (31-1E via VOS3-CARDS plugin)

**Parameters**

\[in] **comParams** communication parameters as described in NFC\_Interface.h: tech: 0 - A, 1 - B, responseTimeout: timeout to process command, CRC: add & validate CRC, 0 no CRC, 1 CRC only TX, 2 CRC TX & RX, parity: add & vaidate parity - not supported, timeOutCom: timeout to communication - not supported, invalidFrames: allow recieving less than 4 bits frames - not supported. \[in] **in\_buff** input data buffer to transmit \[out] **out\_buff** output buffer for received data

#### Returns

value of ResponseCodes

### NFC\_PT\_Cancel\_Polling() <a href="#ac828fb5be4468adf0d1058e70db106ee" id="ac828fb5be4468adf0d1058e70db106ee"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_Cancel\_Polling

Stop polling before timeout. Note: This command has to be send asynchronously while waiting for polling response. Since is not yet supported on SDI Server side there is also no implementation on client side.

#### Returns

EMB\_APP\_COMMAND\_NOT\_SUPPORTED

### NFC\_PT\_Close() <a href="#a00d4921f4a21667ae4cddb317ffc04a5" id="a00d4921f4a21667ae4cddb317ffc04a5"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_Close

Release NFC L1 driver. When the SDI server response is not 90xx or there was a communication problem an appropriate CL\_STATUS or CL\_STATUS\_GENERAL\_ERROR is returned. The functions getNfcClientError and getNfcSW12 will provide the error indication.

### NFC\_PT\_FieldOff() <a href="#a65c5ac372de4d71a8154f61b820abaf0" id="a65c5ac372de4d71a8154f61b820abaf0"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_FieldOff

Turns RF field off. When the SDI server response is not 90xx or there was a communication problem an appropriate CL\_STATUS or CL\_STATUS\_GENERAL\_ERROR is returned. The functions getNfcClientError and getNfcSW12 will provide the error indication.

### NFC\_PT\_FieldOn() <a href="#af0e3c8e7991ac4edbeceb2e432c10275" id="af0e3c8e7991ac4edbeceb2e432c10275"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_FieldOn

Turns RF field on. When the SDI server response is not 90xx or there was a communication problem an appropriate CL\_STATUS or CL\_STATUS\_GENERAL\_ERROR is returned. The functions getNfcClientError and getNfcSW12 will provide the error indication.

### NFC\_PT\_FtechBaud() <a href="#af3c0de5e1db22e34a32d0d5adab0e756" id="af3c0de5e1db22e34a32d0d5adab0e756"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_FtechBaud

Changes NFC-F baud rate

**Parameters**

\[in] **baud** value of NFC\_F\_BAUD

#### Returns

value of ResponseCodes

### NFC\_PT\_Open() <a href="#aaa8fefdd6c9e72d4d3a487b0ae5e5925" id="aaa8fefdd6c9e72d4d3a487b0ae5e5925"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_Open

Initialise NFC L1 driver. When the SDI server response is not 90xx or there was a communication problem an appropriate CL\_STATUS or CL\_STATUS\_GENERAL\_ERROR is returned. The functions getNfcClientError and getNfcSW12 will provide the error indication.

### NFC\_PT\_Polling() <a href="#aa1e541259f194621834060bf770b717b" id="aa1e541259f194621834060bf770b717b"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_Polling

Activates polling. See NFC documentation. When the SDI server response is not 90xx or there was a communication problem an appropriate CL\_STATUS or CL\_STATUS\_GENERAL\_ERROR is returned. The functions getNfcClientError and getNfcSW12 will provide the error indication.

### NFC\_PT\_PollingFull() <a href="#ac692591d9c1287d0d4b6131a03b2e977" id="ac692591d9c1287d0d4b6131a03b2e977"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_PollingFull

Activates polling. See NFC documentation. When the SDI server response is not 90xx or there was a communication problem an appropriate CL\_STATUS or CL\_STATUS\_GENERAL\_ERROR is returned. The functions getNfcClientError and getNfcSW12 will provide the error indication.

### NFC\_PT\_TxRx() <a href="#a32723e5224c90c693a167dbdfb7d4700" id="a32723e5224c90c693a167dbdfb7d4700"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_PT\_TxRx

Sends and receives raw data using ISO 14443-3 protocol (31-08) This function is no more available at SDI server external interface

#### Returns

EMB\_APP\_COMMAND\_NOT\_SUPPORTED

### NFC\_Set\_Callback\_Function() <a href="#ae2824260537e148970342b114f4f3cef" id="ae2824260537e148970342b114f4f3cef"></a>

\[ResponseCodes]\(#a42e167e83e1f0229d501a09e3f1d2b1a) NFC\_Set\_Callback\_Function

Set UI callback function handling text, status indicators (LEDs) and buzzer. So far, there is no client side implementation.

#### Returns

EMB\_APP\_COMMAND\_NOT\_SUPPORTED

### NFC\_Terminal\_Config() <a href="#ad0a349a0904d698fea9fffa004cb3eb3" id="ad0a349a0904d698fea9fffa004cb3eb3"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_Terminal\_Config

Terminal wide VAS configuration

**Parameters**

\[in] **input** JSON string see Terminal Configuration Parameters \[out] **output** nothing - RFU

#### Returns

VasStatus

### NFC\_TERMINAL\_ReadConfig() <a href="#a2de5511cecb17b6859116720c33b48bf" id="a2de5511cecb17b6859116720c33b48bf"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_TERMINAL\_ReadConfig

Reads the most updated terminal configuration.Static parameter will be returned in case appID is unknown or [NFC\_VAS\_PreLoad()](/adk-5.0-programmers-guide/readme/files/dir_fd97ec13bcecf864d0a2538bcb52d927/dir_64d02063c70c5c9b1f1dea0f7cacc02a/sdi__nfc_8h.md#a071c33860fb2cf846a1466edf5bedfb7) issued without changing Terminal configuration.

**Parameters**

\[in] **id** application unique identifier \[out] **output** JSON string most updated Read Terminal Configuration Parameters

#### Returns

VasStatus

### NFC\_VAS\_Action() <a href="#a2598cb3e420c45913bfab5801c6a33a8" id="a2598cb3e420c45913bfab5801c6a33a8"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_Action

Key transfer between Counter Top and External PIN pad.

{% hint style="info" %}
Not to be used at external SDI Server interface
{% endhint %}

#### Returns

VasStatus

### NFC\_VAS\_Activate() <a href="#a1f0e681b88497ef9e25abde4ed3b5b3b" id="a1f0e681b88497ef9e25abde4ed3b5b3b"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_Activate

Activates NFC interface, runs through wallet kernel flow and retrieves VAS data.

**Parameters**

\[in] **id** application unique identifier \[in] **input** JSON string set of dynamic parameters to be merged with configuration from data base. \[out] **output** JSON string VAS data received from the mobile.

#### Returns

VasStatus

### NFC\_VAS\_Cancel() <a href="#a03691ec1f524ef86c995066b25185e80" id="a03691ec1f524ef86c995066b25185e80"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_Cancel

Stop VAS activate polling before timeout. Note: This command has to be send asynchronously while waiting for polling response. Since is not yet supported on SDI Server side there is also no implementation on client side.

#### Returns

EMB\_APP\_COMMAND\_NOT\_SUPPORTED

### NFC\_VAS\_CancelConfig() <a href="#a7ea699bbeb85daabaf52bb2d94d7dc61" id="a7ea699bbeb85daabaf52bb2d94d7dc61"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_CancelConfig

Clears all the VAS configuration by application ID

**Parameters**

\[in] **id** application unique identifier

#### Returns

VasStatus

### NFC\_VAS\_CancelPreLoad() <a href="#a46e68ef15da8c20bc91ddef1b814859c" id="a46e68ef15da8c20bc91ddef1b814859c"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_CancelPreLoad

Clear preloaded configuration by application ID and pulls latest static configuration from data base.

**Parameters**

\[in] **id** application unique identifier

#### Returns

VasStatus

### NFC\_VAS\_Decrypt() <a href="#a19053197bd7fd0894d55827e7becec0a" id="a19053197bd7fd0894d55827e7becec0a"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_Decrypt

Decrypts an encrypted VAS response.

**Parameters**

\[in] **id** application unique identifier \[in] **input** The json in the same format of the Vas Data Response with the included encrypted message \[out] **output** The json in the same format of the Vas Data Response with the included decrypted message

#### Returns

VasStatus

### NFC\_VAS\_PreLoad() <a href="#a8ee28a30cc5757bdd4d9ac413fe7ef17" id="a8ee28a30cc5757bdd4d9ac413fe7ef17"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_PreLoad

Configures the terminal with wallet specific parameters. [NFC\_VAS\_Activate()](/adk-5.0-programmers-guide/readme/files/dir_fd97ec13bcecf864d0a2538bcb52d927/dir_64d02063c70c5c9b1f1dea0f7cacc02a/sdi__nfc_8h.md#a4dc6d61bb9ed1d3e8cef769db32f6ac6) has to be called to get VAS data. Only single PreLoaded configuration is available.

**Parameters**

\[in] **id** application unique identifier \[in] **input** input Set of PreLoad parameters to be merged with configuration from data base. \[out] **output** none - RFU

#### Returns

VasStatus

### NFC\_VAS\_ReadConfig() <a href="#af8f463010a4c8584d2973b9df3c88c52" id="af8f463010a4c8584d2973b9df3c88c52"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_ReadConfig

Reads the most updated wallets configuration.

**Parameters**

\[in] **id** application unique identifier \[out] **output** JSON string most updated configuration for terminal and all wallets

#### Returns

VasStatus

### NFC\_VAS\_UpdateConfig() <a href="#a8816583d91da702a6c7e2143ed68f7d9" id="a8816583d91da702a6c7e2143ed68f7d9"></a>

\[VasStatus]\(#a23878ec2ab700ea0ebd617a736ff664d) NFC\_VAS\_UpdateConfig

Configures the terminal with wallet specific parameters.

**Parameters**

\[in] **id** application unique identifier \[in] **input** JSON string set of parameters to configure ome or multiple wallets \[out] **output** none - RFU

#### Returns

VasStatus

### VCL\_DecryptMSR() <a href="#a761a155521638c5af5d80704e48ffb6b" id="a761a155521638c5af5d80704e48ffb6b"></a>

bool VCL\_DecryptMSR

### VCL\_EncryptEMV() <a href="#ab69f251cd1f487f02772398cd791b2fe" id="ab69f251cd1f487f02772398cd791b2fe"></a>

bool VCL\_EncryptEMV


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/titusstubs_8cpp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
