![]() |
Public Member Functions | |
(SendStatus *) | - epcRead:withAddr:withNumWords:withHandler: |
(SendStatus *) | - epcRead:withAddr:withNumWords: |
(SendStatus *) | - epcWrite:withAddr:withNumWords:withData:withHandler: |
(SendStatus *) | - epcWrite:withAddr:withNumWords:withData: |
(SendStatus *) | - epcLock:withHandler: |
(SendStatus *) | - epcLock: |
(SendStatus *) | - epcKill:withHandler: |
(SendStatus *) | - epcKill: |
(SendStatus *) | - epcSetKillPassword:withHandler: |
(SendStatus *) | - epcSetKillPassword: |
(SendStatus *) | - epcWriteTagId:withHandler: |
(SendStatus *) | - epcWriteTagId: |
IDBlueUhfApi is used to issue EPC Gen 2 (UHF) commands to IDBLUE
- (SendStatus *) epcKill: | (CByteArray*) | password |
epcKill -
Kill an EPC Gen 2 RFID tag
password |
For example:
IDBlueUhfApi* api; -(void) epcKill: (CByteArray*) password { SendStatus status = nil; status = [api epcKill: password withHandler: self]; if ([status successful]) { } else { } }
-(void) epcKillResponse: (IDBlueCommand*) command withResponse: (EpcKillResponse*) response { }
-(void) epcKillFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcKill: | (CByteArray*) | password | |
withHandler: | (id<IUhfResponseHandler>) | handler | |
epcKill -
Kill an EPC Gen 2 RFID tag
password | |
handler | An object implementing IUhfResponseHandler that will receive response notifications. |
For example:
IDBlueUhfApi* api; -(void) epcKill: (CByteArray*) password { SendStatus status = nil; status = [api epcKill: password withHandler: self]; if ([status successful]) { } else { } }
-(void) epcKillResponse: (IDBlueCommand*) command withResponse: (EpcKillResponse*) response { }
-(void) epcKillFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcLock: | (uint) | lockbits |
epcLock -
Lock portions of an EPC Gen 2 RFID tag
lockbits | The payload of the EPCGlobal UHF Class 1 Gen 2 Standard Lock command. Only the least significant 20 bits are used, so lockbits cannot be larger than 0x0FFFFF. See the EPCGlobal UHF Class 1 Gen 2 Standard to determine the appropriate value of lockbits. |
For example:
IDBlueUhfApi* api; -(void) epcLock: (uint) lockbits { SendStatus status = nil; status = [api epcLock: lockbits withHandler: self]; if ([status successful]) { } else { } }
-(void) epcLockResponse: (IDBlueCommand*) command withResponse: (EpcLockResponse*) response { }
-(void) epcLockFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcLock: | (uint) | lockbits | |
withHandler: | (id<IUhfResponseHandler>) | handler | |
epcLock -
Lock portions of an EPC Gen 2 RFID tag
lockbits | The payload of the EPCGlobal UHF Class 1 Gen 2 Standard Lock command. Only the least significant 20 bits are used, so lockbits cannot be larger than 0x0FFFFF. See the EPCGlobal UHF Class 1 Gen 2 Standard to determine the appropriate value of lockbits. |
handler | An object implementing IUhfResponseHandler that will receive response notifications. |
For example:
IDBlueUhfApi* api; -(void) epcLock: (uint) lockbits { SendStatus status = nil; status = [api epcLock: lockbits withHandler: self]; if ([status successful]) { } else { } }
-(void) epcLockResponse: (IDBlueCommand*) command withResponse: (EpcLockResponse*) response { }
-(void) epcLockFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcRead: | (EpcMemoryBank) | bank | |
withAddr: | (byte) | addr | |
withNumWords: | (byte) | numWords | |
epcRead -
Read data from an EPC Gen 2 RFID tag
bank | |
addr | |
numWords |
For example:
IDBlueUhfApi* api; -(void) epcRead: (EpcMemoryBank) bank withAddr: (byte) addr withNumWords: (byte) numWords { SendStatus status = nil; status = [api epcRead: bank withAddr: addr withNumWords: withHandler: self]; if ([status successful]) { } else { } }
-(void) epcReadResponse: (IDBlueCommand*) command withResponse: (EpcReadTagResponse*) response { }
-(void) epcReadFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcRead: | (EpcMemoryBank) | bank | |
withAddr: | (byte) | addr | |
withNumWords: | (byte) | numWords | |
withHandler: | (id<IUhfResponseHandler>) | handler | |
epcRead -
Read data from an EPC Gen 2 RFID tag
bank | |
addr | |
numWords | |
handler | An object implementing IUhfResponseHandler that will receive response notifications. |
For example:
IDBlueUhfApi* api; -(void) epcRead: (EpcMemoryBank) bank withAddr: (byte) addr withNumWords: (byte) numWords { SendStatus status = nil; status = [api epcRead: bank withAddr: addr withNumWords: withHandler: self]; if ([status successful]) { } else { } }
-(void) epcReadResponse: (IDBlueCommand*) command withResponse: (EpcReadTagResponse*) response { }
-(void) epcReadFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcSetKillPassword: | (CByteArray*) | password |
epcSetKillPassword -
Set the kill password of an EPC Gen 2 RFID tag
password |
For example:
IDBlueUhfApi* api; -(void) epcSetKillPassword: (CByteArray*) password { SendStatus status = nil; status = [api epcSetKillPassword: password withHandler: self]; if ([status successful]) { } else { } }
-(void) epcSetKillPasswordResponse: (IDBlueCommand*) command withResponse: (EpcSetKillPasswordResponse*) response { }
-(void) epcSetKillPasswordFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcSetKillPassword: | (CByteArray*) | password | |
withHandler: | (id<IUhfResponseHandler>) | handler | |
epcSetKillPassword -
Set the kill password of an EPC Gen 2 RFID tag
password | |
handler | An object implementing IUhfResponseHandler that will receive response notifications. |
For example:
IDBlueUhfApi* api; -(void) epcSetKillPassword: (CByteArray*) password { SendStatus status = nil; status = [api epcSetKillPassword: password withHandler: self]; if ([status successful]) { } else { } }
-(void) epcSetKillPasswordResponse: (IDBlueCommand*) command withResponse: (EpcSetKillPasswordResponse*) response { }
-(void) epcSetKillPasswordFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcWrite: | (EpcMemoryBank) | bank | |
withAddr: | (byte) | addr | |
withNumWords: | (byte) | numWords | |
withData: | (CByteArray*) | data | |
epcWrite -
Write data to an EPC Gen 2 RFID Tag
bank | |
addr | |
numWords | |
data |
For example:
IDBlueUhfApi* api; -(void) epcWrite: (EpcMemoryBank) bank withAddr: (byte) addr withNumWords: (byte) numWords withData:(CByteArray*) data { SendStatus status = nil; status = [api epcWrite: bank withAddr: addr withNumWords: numWords withData: data withHandler: self]; if ([status successful]) { } else { } }
-(void) epcWriteResponse: (IDBlueCommand*) command withResponse: (EpcWriteTagResponse*) respons { }
-(void) epcWriteFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcWrite: | (EpcMemoryBank) | bank | |
withAddr: | (byte) | addr | |
withNumWords: | (byte) | numWords | |
withData: | (CByteArray*) | data | |
withHandler: | (id<IUhfResponseHandler>) | handler | |
epcWrite -
Write data to an EPC Gen 2 RFID Tag
bank | |
addr | |
numWords | |
data | |
handler | An object implementing IUhfResponseHandler that will receive response notifications. |
For example:
IDBlueUhfApi* api; -(void) epcWrite: (EpcMemoryBank) bank withAddr: (byte) addr withNumWords: (byte) numWords withData:(CByteArray*) data { SendStatus status = nil; status = [api epcWrite: bank withAddr: addr withNumWords: numWords withData: data withHandler: self]; if ([status successful]) { } else { } }
-(void) epcWriteResponse: (IDBlueCommand*) command withResponse: (EpcWriteTagResponse*) respons { }
-(void) epcWriteFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcWriteTagId: | (RfidTag*) | tag |
epcWriteTagId -
Writes the EPC identifier to the EPC Gen 2 RFID tag
tag |
For example:
IDBlueUhfApi* api; -(void) epcWriteTagId: (RfidTag*) tag { SendStatus status = nil; status = [api epcWriteTagId: tag withHandler: self]; if ([status successful]) { } else { } }
-(void) epcWriteResponse: (IDBlueCommand*) command withResponse: (EpcWriteTagResponse*) respons { }
-(void) epcWriteFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }
- (SendStatus *) epcWriteTagId: | (RfidTag*) | tag | |
withHandler: | (id<IUhfResponseHandler>) | handler | |
epcWriteTagId -
Writes the EPC identifier to the EPC Gen 2 RFID tag
tag | |
handler | An object implementing IUhfResponseHandler that will receive response notifications. |
For example:
IDBlueUhfApi* api; -(void) epcWriteTagId: (RfidTag*) tag { SendStatus status = nil; status = [api epcWriteTagId: tag withHandler: self]; if ([status successful]) { } else { } }
-(void) epcWriteResponse: (IDBlueCommand*) command withResponse: (EpcWriteTagResponse*) respons { }
-(void) epcWriteFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response { }