# AsReaderRFIDDeviceDelegate > **⚠️ Note:** > These delegate methods are only called back when the AsReader device is properly connected and the corresponding method has been invoked. > If the model is not supported or not connected, callbacks will not occur. --- ## `pcEpcReceived` Receives tag data. Returns the result via callback after executing [`startScan`](./7_AsReaderRFIDDevice.md#startscan). ```objectivec - (void)pcEpcReceived:(NSData *)pcEpc; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `pcEpc` - NSData - Received PC and EPC data (binary format) ``` ### Sample Code ```objectivec - (void)pcEpcReceived:(NSData *)pcEpc{ // Process received PC+EPC data } ``` --- ## `pcEpcRssiReceived` Receives tag data with RSSI. Returns the result via callback after executing [`startReadTagsAndRssiWithTagNum`](./7_AsReaderRFIDDevice.md#startreadtagsandrssiwithtagnum). ```objectivec - (void)pcEpcRssiReceived:(NSData *)pcEpc rssi:(int)rssi; ``` ### Parameters ```{list-table} :align: left :header-rows: 1 * - Name - Type - Description * - `pcEpc` - NSData - Received PC and EPC data (binary format) * - `rssi` - int - RSSI (Received Signal Strength Indicator from the RFID tag, unit: dBm) ``` ### Sample Code ```objectivec - (void)pcEpcRssiReceived:(NSData *)pcEpc rssi:(int)rssi{ // pcEpc: PC+EPC data // rssi: RSSI data } ``` --- ## `didSetOutputPowerLevel` Returns the result via callback after executing [`setOutputPowerLevel`](./7_AsReaderRFIDDevice.md#setoutputpowerlevel). ```objectivec - (void)didSetOutputPowerLevel:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `status` - int - Output power setting result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetOutputPowerLevel:(int)status{ // status 0: success, non-zero: failure } ``` --- ## `didSetChannelParamReceived` Returns the result via callback after executing [`setChannel`](./7_AsReaderRFIDDevice.md#setchannel). ```objectivec - (void)didSetChannelParamReceived:(int)statusCode; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `statusCode` - int - Channel parameter setting result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetChannelParamReceived:(int)statusCode{ // statusCode 0: success, non-zero: failure } ``` --- ## `didSetAntiCollision` Returns the result via callback after executing [`setAnticollision`](./7_AsReaderRFIDDevice.md#setanticollision). ```objectivec - (void)didSetAntiCollision:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `status` - int - Anti-collision setting result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetAntiCollision:(int)status{ // status 0: success, non-zero: failure } ``` --- ## `didSetSession` Returns the result via callback after executing [`setSession`](./7_AsReaderRFIDDevice.md#setsession). ```objectivec - (void)didSetSession:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `status` - int - Session setting result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetSession:(int)status{ // status 0: success, non-zero: failure } ``` --- ## `channelReceived` Returns the result via callback after executing [`getChannel`](./7_AsReaderRFIDDevice.md#getchannel). ```objectivec - (void)channelReceived:(int)channel channelOffset:(int)channelOffset; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `channel` - int - RFID module's channel * - `channelOffset` - int - RFID module's channel offset ``` ### Sample Code ```objectivec - (void)channelReceived:(int)channel channelOffset:(int)channelOffset{ // channel: RFID module channel // channelOffset: RFID module channel offset } ``` --- ## `anticolParamReceived` Returns the result via callback after executing [`getAnticollision`](./7_AsReaderRFIDDevice.md#getanticollision). ```objectivec - (void)anticolParamReceived:(int)mode Counter:(int)counter; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `mode` - int - 0: Fixed Q, 1: Dynamic Q * - `counter` - int - Counter ``` ### Sample Code ```objectivec - (void)anticolParamReceived:(int)mode Counter:(int)counter{ // mode: 0 = Fixed Q, 1 = Dynamic Q // counter: counter value } ``` --- ## `txPowerLevelReceived` Returns the result via callback after executing [`getOutputPowerLevel`](./7_AsReaderRFIDDevice.md#getoutputpowerlevel). ```objectivec - (void)txPowerLevelReceived:(NSData*)power; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `power` - NSData - The SDK parses the data and saves it to the AsReaderInfo class. During this process, `rfidPower`, `rfidPowerMax`, and `rfidPowerMin` values are updated. ``` ### Sample Code ```objectivec - (void)txPowerLevelReceived:(NSData*)power{ // power: Parsed by SDK, updates rfidPower, rfidPowerMax, rfidPowerMin } ``` --- ## `regionReceived` Returns the currently set region code via callback after executing [`getRegion`](./7_AsReaderRFIDDevice.md#getregion). ```objectivec - (void)regionReceived:(int)region; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `region` - int - Region code 17: Korea 33: North America 34: USA 49: Europe 65: Japan 82: China 97: Brazil ``` ### Sample Code ```objectivec - (void)regionReceived:(int)region{ // region: 17 = Korea, 33 = North America, 34 = USA, 49 = Europe, 65 = Japan, 82 = China, 97 = Brazil } ``` --- ## `onOffTimeChanged` Callback to notify that the read time setting was changed after executing [`setReadTime`](./7_AsReaderRFIDDevice.md#setreadtime). ```objectivec - (void)onOffTimeChanged; ``` ### Sample Code ```objectivec - (void)onOffTimeChanged{ } ``` --- ## `fhLbtReceived` Returns the FH/LBT parameter results via callback after executing [`getFhLbtParameter`](./7_AsReaderRFIDDevice.md#getfhlbtparameter). ```objectivec - (void)fhLbtReceived:(NSData *)fhLb; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `fhLb` - NSData - Data structure: - Read Time (16bit) - Idle Time (16bit) - Carrier Sense Time (16bit) - Target RF Power Size (16bit) - FH (8bit) - LBT (8bit) - CW (8bit) ``` ### Sample Code ```objectivec - (void)fhLbtReceived:(NSData *)fhLb{ // fhLb: Read Time, Idle Time, Carrier Sense Time, Target RF Power Size, FH, LBT, CW } ``` --- ## `hoppingTableReceived` Returns the result via callback after executing [`getFrequencyHoppingTable`](./7_AsReaderRFIDDevice.md#getfrequencyhoppingmode). ```objectivec - (void)hoppingTableReceived:(NSData *)table; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `table` - NSData - Table size (8bit) ``` ### Sample Code ```objectivec - (void)hoppingTableReceived:(NSData *)table{ // table: Table size (8bit) } ``` --- ## `didSetFhLbt` Returns the result via callback after executing [`setHoppingOnOff`](./7_AsReaderRFIDDevice.md#sethoppingonoff). ```objectivec - (void)didSetFhLbt:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `status` - int - FH/LBT setting result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetFhLbt:(int)status{ // status 0: success, non-zero: failure } ``` --- ## `didSetOptiFreqHPTable` Returns the result via callback after executing [`setFreqHoppingTable`](./7_AsReaderRFIDDevice.md#setoptimumfrequencyhoppingtable). ```objectivec - (void)didSetOptiFreqHPTable:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - `status` - int - Optimum frequency hopping table setting result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetOptiFreqHPTable:(int)status{ // status 0: success, non-zero: failure } ``` --- ## `didSetFHmodeChanged` Callback invoked after executing [`setFrequencyHoppingMode`](./7_AsReaderRFIDDevice.md#setfrequencyhoppingmode). ```objectivec - (void)didSetFHmodeChanged; ``` ### Sample Code ```objectivec - (void)didSetFHmodeChanged{ } ``` --- ## `rfidModuleVersionReceived` Callback invoked after executing [`getRFIDModuleVersion`](./7_AsReaderRFIDDevice.md#getrfidmoduleversion). ```objectivec - (void)rfidModuleVersionReceived; ``` ### Sample Code ```objectivec - (void)rfidModuleVersionReceived{ } ``` --- ## `rfidOnOffTimeReceived` Callback returning the result after executing [`getFhLbtParameter`](./7_AsReaderRFIDDevice.md#getfhlbtparameter). ```objectivec - (void)rfidOnOffTimeReceived:(NSData*)data; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - data - NSData - SDK parses the data and saves it in the AsReaderInfo class. The following values are updated: ・rfidOnTime ・rfidOffTime ・carrierSenseTime ・rfidListenBeforeTalk ・rfidContinuousWave ・rfidFrequencyHopping ``` ### Sample Code ```objectivec - (void)rfidOnOffTimeReceived:(NSData*)data{ // data will be parsed and stored in AsReaderInfo. Updates rfidOnTime, rfidOffTime, carrierSenseTime, rfidListenBeforeTalk, rfidContinuousWave, rfidFrequencyHopping } ``` --- ## `writtenReceived` Callback returning the result after executing [`writeTagMemoryWithEPC`](./7_AsReaderRFIDDevice.md#writetagmemorywithepc). ```objectivec - (void)writtenReceived:(int)statusCode; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - statusCode - int - Tag memory write result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)writtenReceived:(int)statusCode{ // statusCode 0: Success, Non-zero: Failure } ``` --- ## `sessionReceived` Callback returning the result after executing [`getSession`](./7_AsReaderRFIDDevice.md#getsession). ```objectivec - (void)sessionReceived:(int)session; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - session - int - Session value 0: S0 1: S1 2: S2 3: S3 240: Development Mode ``` ### Sample Code ```objectivec - (void)sessionReceived:(int)session{ // session 0: S0, 1: S1, 2: S2, 3: S3, 240: Development Mode } ``` --- ## `tagMemoryReceived` Callback returning the result after executing [`readTagWithAccessPassword`](./7_AsReaderRFIDDevice.md#readtagwithaccesspassword). ```objectivec - (void)tagMemoryReceived:(NSData *)data; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - data - NSData - Tag memory content ``` ### Sample Code ```objectivec - (void)tagMemoryReceived:(NSData *)data{ // data contains tag memory content } ``` --- ## `killedReceived` Callback returning the result after executing [`killTagWithPassword`](./7_AsReaderRFIDDevice.md#killtagwithpassword). ```objectivec - (void)killedReceived:(int)statusCode; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - statusCode - int - Tag kill result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)killedReceived:(int)statusCode{ // statusCode 0: Success, Non-zero: Failure } ``` --- ## `lockedReceived` Callback returning the result after executing [`lockTagMemoryWithAccessPassword`](./7_AsReaderRFIDDevice.md#locktagmemorywithaccesspassword). ```objectivec - (void)lockedReceived:(int)statusCode; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - statusCode - int - Tag memory lock result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)lockedReceived:(int)statusCode{ // statusCode 0: Success, Non-zero: Failure } ``` --- ## `responseReboot` Callback invoked after the device reboots (e.g., firmware update). ```objectivec - (void)responseReboot:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - status - int - Device reboot result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)responseReboot:(int)status{ // status 0: Success, Non-zero: Failure } ``` --- ## `updatedRegistry` Callback returning the result after executing [`updateRegistry`](./7_AsReaderRFIDDevice.md#updateregistry). ```objectivec - (void)updatedRegistry:(int)statusCode; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - statusCode - int - Registry update result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)updatedRegistry:(int)statusCode{ // statusCode 0: Success, Non-zero: Failure } ``` --- ## `pcEpcSensorDataReceived` Callback returning the result after executing [`startReadTagsRFM`](./7_AsReaderRFIDDevice.md#startreadtagsrfm). ```objectivec - (void)pcEpcSensorDataReceived:(NSData *)pcEpc sensorData:(NSData *)sensorData; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - pcEpc - NSData - Temperature/Humidity tag data * - sensorData - NSData - Temperature/Humidity sensor readings ``` ### Sample Code ```objectivec - (void)pcEpcSensorDataReceived:(NSData *)pcEpc sensorData:(NSData *)sensorData { int codeType; int onChipRssiCodeValue; int sensorCodeValue; double calcTemp; NSMutableString *tmptagid; NSData *tagid = pcEpc; NSData *taghex = sensorData; tmptagid = [[NSMutableString alloc] init]; unsigned char* ptrtagid = (unsigned char*)[tagid bytes]; for(int i = 0; i < tagid.length; i++) [tmptagid appendFormat:@"%02X", *ptrtagid++ & 0xFF ]; Byte *b = (Byte*)[taghex bytes]; codeType = b[0]; onChipRssiCodeValue = (b[1] << 8) | b[2]; sensorCodeValue = (b[3] << 8) | b[4]; double code1 = 0, temp1 = 0, code2 = 0, temp2 = 0, tempCode = sensorCodeValue; if (codeType == 3) { int temp = b[7] << 4; code1 = temp + ((b[8] >> 4) & 0x0F); temp = (b[8] & 0x0F) << 7; temp1 = temp + ((b[9] >> 1) & 0x7F); temp = (b[9] & 0x01) << 8; temp = (temp + b[10]) << 3; code2 = temp + ((b[11] >> 5) & 0x07); temp = (b[11] & 0x1F) << 6; temp2 = temp + ((b[12] >> 2) & 0x3F); calcTemp = ((temp2 - temp1) / (code2 - code1) * (tempCode - code1) + temp1 - 800) / 10; } } ``` --- ## `selectParamReceived` Callback returning the result after executing [`getSelectParameter`](./7_AsReaderRFIDDevice.md#getselectparameter). ```objectivec - (void)selectParamReceived:(NSData *)selParam; ``` ### Parameters ```{list-table} :header-rows: 1 :align: left * - Item - Bit Length - Description * - target - 3bit - Session: S0(000), S1(001), S2(010), S3(011), SL(100) * - action - 3bit - Action compliant with ISO18000-6C * - memoryBank - 2bit - Memory area: RFU(00), EPC(01), TID(10), User(11) * - pointer - 32bit - Start address of the filter memory * - length - 8bit - Length of the filter target data * - truncate - 1bit - Truncate tag data on match: Enabled(1), Disabled(0) * - reserve - 7bit - Reserved (unused) * - mask - Variable (0–255bit) - Filter data body ``` ### Sample Code ```objectivec - (void)selectParamReceived:(NSData *)selParam{ // selParam structure: // target(3bit): S0 (000), S1 (001), S2 (010), S3 (011), SL (100) // action(3bit): See ISO18000-6C standard // memoryBank(2bit): RFU (00), EPC (01), TID (10), User (11) // pointer(32bit): Start address for filtering // length(8bit): Length of filter data // truncate(1bit): Whether to truncate data on match // reserve(7bit): Reserved // mask(0~255bit): Filter data } ``` --- ## `epcReceived:tid:` Callback returning the result after executing [`startReadTagAndTidWithTagNum`](./7_AsReaderRFIDDevice.md#startreadtagandtidwithtagnum). ```objectivec - (void)epcReceived:(NSData *)epc tid:(NSData *)tid; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Item - Type - Description * - epc - NSData - EPC data * - tid - NSData - TID data ``` ### Sample Code ```objectivec - (void)epcReceived:(NSData *)epc tid:(NSData *)tid{ // epc: EPC data // tid: TID data } ``` --- ## `modulationParamReceived:rxMod:dr:` Returns the result of the [`getModulation`](./7_AsReaderRFIDDevice.md#getmodulation) method via callback. ```objectivec - (void)modulationParamReceived:(int)blf rxMod:(int)rxMod dr:(int)dr; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - blf - int - 160: BLF_160, 250: BLF_250, 320: BLF_320, 640: BLF_640 * - rxMod - int - 0: FM0, 1: M2, 2: M4, 3: M8 * - dr - int - 0:8, 1:64/3 ``` ### Sample Code ```objectivec - (void)modulationParamReceived:(int)blf rxMod:(int)rxMod dr:(int)dr{ // blf 160: BLF_160, 250: BLF_250, 320: BLF_320, 640: BLF_640 // rxMod 0: FM0, 1: M2, 2: M4, 3: M8 // dr 0:8, 1:64/3 } ``` --- ## `rssiThresholdReceived:` Returns the result of the [`getRSSIThreshold`](./7_AsReaderRFIDDevice.md#getrssithreshold) method via callback. ```objectivec - (void)rssiThresholdReceived:(uint16_t)threshold; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - threshold - uint16_t - RSSI value ``` ### Sample Code ```objectivec - (void)rssiThresholdReceived:(uint16_t)threshold{ // threshold: RSSI value } ``` --- ## `writtenReceived:` Returns the result of [`writeTagMemoryWithAccessPassword`](./7_AsReaderRFIDDevice.md#writetagmemorywithaccesspassword) or `writeTagMemoryWithEPC` via callback. ```objectivec - (void)writtenReceived:(int)statusCode; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - statusCode - int - Result of tag memory write 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)writtenReceived:(int)statusCode{ // statusCode: 0 = success, non-zero = failure } ``` --- ## `didSetModulation:` Returns the result of the [`setModulationBLF`](./7_AsReaderRFIDDevice.md#setmodulationblf) method via callback. ```objectivec - (void)didSetModulation:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result of setting modulation 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetModulation:(int)status{ // status: 0 = success, non-zero = failure } ``` --- ## `didGetAutoOffTimeReceived:` Returns the result of the [`getAutoOffTime`](./7_AsReaderRFIDDevice.md#getautoofftime) method via callback. ```objectivec - (void)didGetAutoOffTimeReceived:(int)time; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - time - int - Auto power-off time of the device ``` ### Sample Code ```objectivec - (void)didGetAutoOffTimeReceived:(int)time{ // time: auto power-off duration of the device } ``` --- ## `didSetAutoOffTime:` Returns the result of the [`setAutoOffTime`](./7_AsReaderRFIDDevice.md#setautoofftime) method via callback. ```objectivec - (void)didSetAutoOffTime:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result of setting auto power-off time 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetAutoOffTime:(int)status{ // status: 0 = success, non-zero = failure } ``` --- ## `didGetContinuousModeReceived:` Returns the result of the [`getContinuousMode`](./7_AsReaderRFIDDevice.md#getcontinuousmode) method via callback. ```objectivec - (void)didGetContinuousModeReceived:(BOOL)continuousMode; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - continuousMode - BOOL - YES: Continuous mode NO: Single scan mode ``` ### Sample Code ```objectivec - (void)didGetContinuousModeReceived:(BOOL)continuousMode{ // continuousMode: YES = continuous mode, NO = single scan mode } ``` --- ## `didSetContinuousMode:` Returns the result of the [`setContinuousMode`](./7_AsReaderRFIDDevice.md#setcontinuousmode) method via callback. ```objectivec - (void)didSetContinuousMode:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result of setting continuous mode 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetContinuousMode:(int)status{ // status: 0 = success, non-zero = failure } ``` ## `didGetQValueReceived:` Returns the result of the [`getQValue`](./7_AsReaderRFIDDevice.md#getQValue) method via callback. ```objectivec - (void)didGetQValueReceived:(NSString *)value; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - NSString - Q value ``` ### Sample Code ```objectivec - (void)didGetQValueReceived:(NSString *)value{ //value:Q value } ``` --- ## `didSetQValue:` Returns the result of the [`setQValue`](./7_AsReaderRFIDDevice.md#setQValue) method via callback. ```objectivec - (void)didSetQValue:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetQValue:(int)status{ // status: 0 = success, non-zero = failure } ``` --- ## `didGetSessionFlagReceived:` Returns the result of the [`getSessionFlag`](./7_AsReaderRFIDDevice.md#getSessionFlag) method via callback. ```objectivec - (void)didGetSessionFlagReceived:(int)value; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - int - Session Flag ``` ### Sample Code ```objectivec - (void)didGetSessionFlagReceived:(int)value{ //value:Session Flag } ``` --- ## `didSetSessionFlag:` Returns the result of the [`setSessionFlag`](./7_AsReaderRFIDDevice.md#setSessionFlag) method via callback. ```objectivec - (void)didSetSessionFlag:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetSessionFlag:(int)status{ // status: 0 = success, non-zero = failure } ``` --- ## `didGetHidModeReceived:` Returns the result of the [`getHidMode`](./7_AsReaderRFIDDevice.md#getHidMode) method via callback. ```objectivec - (void)didGetHidModeReceived:(BOOL)value; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - BOOL - YES: HID Mode, NO: Not HID Mode ``` ### Sample Code ```objectivec - (void)didGetHidModeReceived:(BOOL)value{ //value:YES: HID Mode, NO: Not HID Mode } ``` --- ## `didSetHidMode:` Returns the result of the [`setHidMode`](./7_AsReaderRFIDDevice.md#setHidMode) method via callback. ```objectivec - (void)didSetHidMode:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetHidMode:(int)status{ // status: 0 = success, non-zero = failure } ``` --- ## `didGetDutyRatioReceived:` Returns the result of the [`getDutyRatio`](./7_AsReaderRFIDDevice.md#getDutyRatio) method via callback. ```objectivec - (void)didGetDutyRatioReceived:(int)value; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - int - Duty Ratio ``` ### Sample Code ```objectivec - (void)didGetDutyRatioReceived:(int)value{ //value:Duty Ratio } ``` --- ## `didSetDutyRatio:` Returns the result of the [`setDutyRatio`](./7_AsReaderRFIDDevice.md#setDutyRatio) method via callback. ```objectivec - (void)didSetDutyRatio:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetDutyRatio:(int)status{ // status: 0 = success, non-zero = failure } ``` --- ## `didGetDutyRatioBaseTimeReceived:` Returns the result of the [`getDutyRatioBaseTime`](./7_AsReaderRFIDDevice.md#getDutyRatioBaseTime) method via callback. ```objectivec - (void)didGetDutyRatioBaseTimeReceived:(int)value; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - value - int - Duty Ratio Base Time ``` ### Sample Code ```objectivec - (void)didGetDutyRatioBaseTimeReceived:(int)value{ //value:Duty Ratio Base Time } ``` --- ## `didSetDutyRatioBaseTime:` Returns the result of the [`setDutyRatioBaseTime`](./7_AsReaderRFIDDevice.md#setDutyRatioBaseTime) method via callback. ```objectivec - (void)didSetDutyRatioBaseTime:(int)status; ``` ### Parameters ```{list-table} :align: left :class: list-table * - Name - Type - Description * - status - int - Result 0: Success Non-zero: Failure ``` ### Sample Code ```objectivec - (void)didSetDutyRatioBaseTime:(int)status{ // status: 0 = success, non-zero = failure } ```