Contactless API: Difference between revisions

From wizarPOS
(Created page with "== Functions == === open === === search_target_begin === === search_target_end === === close === === query_info === === attach_target === === detach_target === === transmit ==...")
 
No edit summary
Line 1: Line 1:
== Functions ==
== Functions ==
=== open ===
=== open ===
  void* contactless_card_open(CONTACTLESS_CARD_NOTIFIER fNotifier, void* pUserData, int* pErrorCode)
Initialize the contactless card reader.
'''Parameters'''
{|
|-
| ''fNotifier'' || Notifier of contactless card
|-
| ''pUserData''|| User data
|-
| ''pErrorCode''|| Error code if return value is equals to 0
|}
'''Returns'''
The result code, != 0, success, value is the handle of contactless card device; <0 failed.
=== search_target_begin ===
=== search_target_begin ===
=== search_target_end ===
=== search_target_end ===

Revision as of 07:04, 12 April 2018

Functions

open

 void* contactless_card_open(CONTACTLESS_CARD_NOTIFIER fNotifier, void* pUserData, int* pErrorCode)

Initialize the contactless card reader.

Parameters

fNotifier Notifier of contactless card
pUserData User data
pErrorCode Error code if return value is equals to 0

Returns

The result code, != 0, success, value is the handle of contactless card device; <0 failed.

search_target_begin

search_target_end

close

query_info

attach_target

detach_target

transmit

verify

read

write

write_value

read_value

increment

decrement

restore

transfer