Aska NFC-9812 Instructions Manual Download Page 1

API/SDK Instruction for 

UHF Reader 

1

Summary of Contents for NFC-9812

Page 1: ...API SDK Instruction for UHF Reader 1 ...

Page 2: ... Delphi platform developing environment User can correct develop their application software efficiently by reading this instruction manual According to the function features the API function can be classified into two types function reader management function and tag operating function Tag operating function can be classified as public function and tag operating function in specific protocol 2 ...

Page 3: ...the reader launching power 15 GetTriggerState Query reader trigger input state 16 SetRelayState Set reader relay action 17 Synchronize Synchronize the reader 18000 6B Tag Operating Function 1 SingleTagIdentify Single tag identification 2 SingleTagIdentifyEx Single tag identifying for multi port reader 3 MultipleTagIdentify Multiple tag identification 4 MultipleTagIdentifyEx Multiple tags identifyi...

Page 4: ... 9 Gen2ReadTagwithEpcPW Read the memory data of designated cryptographic tag 10 Gen2WriteTagwithEpcPW Modify the EPC code of designated cryptographic tag 11 Gen2SetAccessPassword Modify the access password for designated tag 12 Gen2GetAccessPassword Read the access password of designated tag 13 Gen2SetKillPassword Modify the kill password for designated tag 14 Gen2GetKillPassword Read the kill pas...

Page 5: ...ID value 2 Gen2TagList Structure Definition typedef struct unsigned char DataMask unsigned char EpcLength unsigned char TidLength unsigned char UserLength unsigned char Epc 24 unsigned char Tid 12 unsigned char User 64 Gen2TagList Gen2TagList is the required structure for listing EPC TID and USER data at a time Its definition as below DataMask The storage area needs to be read using the bit mask f...

Page 6: ...unsigned char Action Gen2LockFlag typedef struct Gen2LockFlag Kill Gen2LockFlag Access Gen2LockFlag EPC Gen2LockFlag TID Gen2LockFlag User Gen2LockFlags It stipulates the operating of tag KILL password ACCESS password EPC TID and locking user area The definition of Gen2LockFlag is as below Mask Operating range of locking area Action Locking type Gen2LockFlags structure definition Kill Operational ...

Page 7: ...lanation It needs to call OpenReader function before operating the reader 2 CloseReader Function prototype short CloseReader HANDLE hCom Function explanation close the reader Input parameter hCom Handle Return results the result is zero which shows the action is correct others are wrong Explanation It need to call CloseReader when quit the application program so as to release system resource 3 Set...

Page 8: ...ing parameters Count The number of parameters value The return value of reading working parameters Return results the result is zero which shows the action is correct others are wrong Explanation It s internal function usually users no need to use it 6 SetIdmData Function prototype short SetIdmData HANDLE hCom unsigned char order unsigned char match_length unsigned int count TagIds value Function ...

Page 9: ...ts the result is zero which shows the action is correct others are wrong 10 BeepControl Function prototype short BeepControl HANDLE hCom unsigned char ControlType Function explanation Control the reader buzzer Input parameter hCom Handle ControlType controlling type of buzzer defined as 1 start buzzer 2 stop the buzzer 3 start the buzzer and automatically stop the buzzer Return results the result ...

Page 10: ...esn t connect with reader Return results the result is zero which shows the action is correct others are wrong Explanation It s internal function usually users no need to use it 14 StopRFwork Function prototype short StopRFwork HANDLE hCom Function explanation stop the reader launching power Input parameter hCom Handle Return results the result is zero which shows the action is correct others are ...

Page 11: ...chronization function The host PC maintains the readers synchronization 18000 6B Tag Operating Function Tag operating function is used to achieve the work of identifying tag reading writing tag lock tag memory and query memory status etc 1 SingleTagIdentify Function prototype short SingleTagIdentify HANDLE hCom unsigned int TagType unsigned char ID Function explanation Single tag identification In...

Page 12: ...agIdentifyEx Function prototype short MultipleTagIdentifyEx HANDLE hCom unsigned int TagType unsigned int Count unsigned char ID Function explanation Multiple tags identifying for multi port reader Input parameter hCom Handle TagType Tag type identification 1 ISO18000 6B tag 4 EPC Gen2 tag 6 TID of Gen2 tag Count The number of Identified tags Value Return ID value of identified tags Return results...

Page 13: ...m unsigned int TagType unsigned char Id unsigned char Addr unsigned char Length unsigned char value unsigned char Result Function explanation identify single tag and write data to the designated memory address Input parameter hCom Handle TagType Tag type identification 1 for ISO18000 6B tag Addr byte address of tag memory Length byte length needs to be written Id return value of identified tag ID ...

Page 14: ...m Handle TagType Tag type identification 1 for ISO18000 6B tag Addr byte address of tag memory which needs to be locked ID Identified tag ID No Return results the result is zero which shows the action is correct others are wrong 10 LockTag0 Function prototype short LockTag0 HANDLE hCom unsigned int TagType unsigned char Id unsigned char Addr Function explanation Lock the designated memory address ...

Page 15: ...fication 1 for ISO18000 6B tag Addr byte address of tag memory which needs to query the locking status ID designated tag ID value Length The number of bytes which needs to query the locking status Value The locking status of corresponding bytes returned by reader 1 for locked 0 for unlocked 2 for unknown locking status Return results the result is zero which shows the action is correct others are ...

Page 16: ...g identification Input parameters hCom Handle TagType Tag type identification 4 for EPC code 6 for TID code Count The number of identified tags ID The returning ID value of identified tags Return results the result is zero which shows the action is correct others are wrong 5 Gen2ReadTag Function prototype short Gen2ReadTag HANDLE hCom unsigned char MemBank unsigned Addr unsigned char Length unsign...

Page 17: ...ta Function explanation Read the memory data of designated EPC Gen2 tag Input parameters hCom Handle MemBank Memory type Value is 1 Read the EPC memory data Value is 3 Read the USER memory data Addr The start reading address EPC Range 2 7 USER Double byte address starts from 0 ReadLen Double data byte length needs to be read ReadData Data read Scope value 1 comparing with EPC memory Value 2 compar...

Page 18: ...nsigned char Length unsigned char MaskData Function explanation Read the memory data of designated cryptographic tag Input parameters hCom Handle Password access password of tag MemBank Memory type Value is 1 Read EPC memory data Value is 3 Read USER memory data Addr The start reading address EPC Range 2 7 USER Double byte address starts from 0 ReadLen Double data byte length needs to be read Read...

Page 19: ...sword HANDLE hCom unsigned int Password unsigned int Password2 unsigned char Scope unsigned char Length unsigned char MaskData Function explanation Modify the access password for designated tag Input parameters hCom Handle Password original access password of tag Password2 New access password needs to be configured Scope value 1 comparing with EPC memory Value 2 comparing with TID memory Length By...

Page 20: ...e value 1 stands for EPC code Scope value 2 stands for TID code Return results the result is zero which shows the action is correct others are wrong 14 Gen2GetKillPassword Function prototype short Gen2GetKillPassword HANDLE hCom unsigned int Password unsigned int Password2 unsigned char Scope unsigned char Length unsigned char MaskData Function explanation Read the kill password of designated tag ...

Page 21: ...gth Byte length of compared data MaskData The data needs to be compared Scope value 1 stands for EPC code Scope value 2 stands for TID code Return results the result is zero which shows the action is correct others are wrong 17 Gen2ChangeEAS Function prototype short Gen2ChangeEAS HANDLE hCom unsigned int Password unsigned char EASFlag unsigned char Scope unsigned char Length unsigned char MaskData...

Page 22: ...st Function prototype short Gen2TagContentList HANDLE hCom Gen2TagList Data Function explanation List the selected contents of EPC Gen2 tag Input parameters hCom Handle Data Gen2TagList structure explain for the required listing tag parts and returned tag data For details please refer to the definition of Gen2TagList Return results the result is zero which shows the action is correct others are wr...

Reviews: