![]() |
00001 00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved. 00003 00004 #import <Foundation/Foundation.h> 00005 #import "IDBlueCoreApi.h" 00006 #import "UhfResponseHandler.h" 00007 00008 typedef enum _EpcMemoryBank { 00009 BANK_RESERVED = 0, 00010 BANK_EPC = 1, 00011 BANK_TID = 2, 00012 BANK_USER = 3 00013 } EpcMemoryBank; 00014 00018 @interface IDBlueUhfApi : IDBlueCoreApi <IUhfResponseHandler> { 00019 00020 } 00021 00056 -(SendStatus*) epcRead: (EpcMemoryBank) bank 00057 withAddr: (byte) addr 00058 withNumWords: (byte) numWords 00059 withHandler: (id<IUhfResponseHandler>) handler; 00060 00093 -(SendStatus*) epcRead: (EpcMemoryBank) bank 00094 withAddr: (byte) addr 00095 withNumWords: (byte) numWords; 00096 00097 00132 -(SendStatus*) epcWrite: (EpcMemoryBank) bank 00133 withAddr: (byte) addr 00134 withNumWords: (byte) numWords 00135 withData: (CByteArray*) data 00136 withHandler: (id<IUhfResponseHandler>) handler; 00137 00170 -(SendStatus*) epcWrite: (EpcMemoryBank) bank 00171 withAddr: (byte) addr 00172 withNumWords: (byte) numWords 00173 withData: (CByteArray*) data; 00174 00211 -(SendStatus*) epcLock: (uint) lockbits 00212 withHandler: (id<IUhfResponseHandler>) handler; 00213 00247 -(SendStatus*) epcLock: (uint) lockbits; 00248 00281 -(SendStatus*) epcKill: (CByteArray*) password 00282 withHandler: (id<IUhfResponseHandler>) handler; 00283 00314 -(SendStatus*) epcKill: (CByteArray*) password; 00315 00348 -(SendStatus*) epcSetKillPassword: (CByteArray*) password 00349 withHandler: (id<IUhfResponseHandler>) handler; 00350 00381 -(SendStatus*) epcSetKillPassword: (CByteArray*) password; 00382 00417 -(SendStatus*) epcWriteTagId:(RfidTag*) tag withHandler:(id<IUhfResponseHandler>) handler; 00418 00451 -(SendStatus*) epcWriteTagId:(RfidTag*) tag; 00452 00453 @end