User's Manual

Advanced ID Asia Engineering Co., Ltd Page | 14
5.4.10 Set-Attenuation (03-04)
This command can be used to set the attenuation of the reader in dBm. The maximal attenuation value can be
found in the documentation of the reader or can be read from the reader using theGet-Attenuation” command.
Parameters: unsigned short value
Return Values: RFE_RET_VALUE status
Status Values: RFE_SUCCESS, RFE_ERR_ON_EXEC_OP, RFE_ERR_COULD_NOT_WRITE,
RFE_ERR_WRONG_PARAM_COUNT, RFE_ERR_WRONG_PARAM
Example: Set output power to 10 dB
PC -> Reader 52 46 45 01 0304 02 02 03 000A 04 cs
dataLength = 0x02 -> 2 Bytes
value = 0x000A -> 10 dBm
Reader->PC 52 46 45 01 0304 02 01 03 00 04 cs
dataLength = 0x01 -> 1 Bytes
status = 0x00 -> RFE_SUCCESS