Reader Communication Protocol Developer's Guide
Get Antenna Ports
 
The command returns the current antenna configuration including which antennas are set to transmit and receive, and which ports have antennas attached. There are multiple formats for the command. We will introduce the command format for each case separately.

Command Attribute

Command Code Bootloader Command App Firmware Command
0x61 No Yes

Host to Reader

Format of Data Field
Field Byte Length Description
Option 1 byte Detailed description refers to the following table
  
Value of Option Description
0x00 If the Antenna for Tag Access Operations was set using the 0x91 command before, this command returns the antenna port set. If the 0x91 command was not used to set the antenna for tag access operations, the lowest logic antenna number will be returned.
0x02 Get the logical antennas for inventory
0x03 Get reading and writing transmission power of all logical antenna ports
0x04 Get reading and writing transmission power and antenna setting time for all logical antenna ports
0x05 Get the connection status of all logical antenna ports

Example

Example 1

Get the Antenna for Tag Access Operations
 
Host to Reader
FF 01 61 00 BD BD
Header Data Length Command Code Option CRC
  
Reader to Host
FF 02 61 00 00 03 03 4C 20
Header Data Length Command Code Status Code TX Logical Antenna Number RX Logical Antenna Number CRC
  
Example 2

Get the antennas for inventory
 
Host to Reader
FF 01 61 02 BD BF
Header Data Length Command Code Option CRC
 
Reader to Host
FF 05 61 00 00 02 03 03 04 04 74 39
Header Data Length Command Code Status Code Option TX Logical Antenna Number RX Logical Antenna Number TX Logical Antenna Number RX Logical Antenna Number CRC
 
Example 3

Get the reading and writing transmission power of all logical antenna ports, assuming to be 30DBM.
Host to Reader
FF 01 61 03 BD BE
Header Data Length Command Code Option CRC
 
Reader to Host
FF 15 61 00 00 03 01 0B B8 0B B8 02 0B B8 0B B8
Header Data Length Command Code Status Code Option TX Logical Antenna Number Read Power Write Power TX Logical Antenna Number Read Power Write Power
03 0B B8 0B B8 04 0B B8 0B B8 F7 6F
TX Logical Antenna Number Read Power Write Power TX Logical Antenna Number Read Power Write Power CRC
 
Example 4

Get the reading/writing transmission power and setting time of all logical antenna ports, assuming to be 30DBM. The setting time has no practical significance at present.
 
Host to Reader
FF 01 61 04 BD B9
Header Data Length Command Code Option CRC
 
Reader to Host
FF 1D 61 00 00 04 01 0B B8 0B B8 01 F4 02 0B B8 0B B8
Header Data Length Command Code Status Code Option TX Logical Antenna Number Read Power Write Power Setting Time TX Logical Antenna Number Read Power Write Power
01 F4 03 0B B8 0B B8 01 F4 04 0B B8 0B B8 01 F4 25 27
Setting Time TX Logical Antenna Number Read Power Write Power Setting Time TX Logical Antenna Number Read Power Write Power Setting Time CRC