Iso15.SetMode
This command configures the mode to address a label.
- Unaddressed mode: The following label commands are sent to the label without an UID (broadcast). This implies that not more than one label should be in the antenna's field because every label is responding in this mode which would result in a collision.
- Addressed mode: The following label commands are sent to the label including the UID given in UID . To talk to one distinct label among others, the Iso15.SetMode command has to be called with a value of 0x01 in the Mode byte before execution of other label commands.
- Selected mode: Useful if a lot of operations need to be performed with the same label since the UID is not transferred to the label over and over again. A Iso15.SetMode command with Mode 0x02 implicitly executes a Select command with the corresponding UID as parameter (see the ISO 1593-3 standard for details). A previously selected label will be deselected automatically if a Iso15.SetMode command with Mode 0x02 and a different UID or a Iso15.SetMode command with Mode unequal 0x02 is executed. If a Iso15.SetMode command with Mode 0x02 fails, the reader remains in the unaddressed mode.
Please be aware that not all label types support all modes.
Properties
- Command code: 0x2103
- Command timeout: 100 ms
- Possible status codes: General status codes, Iso15.ErrParamNotSupported, Iso15.ErrCom, Iso15.ErrNoTag, Iso15.ErrCollision, Iso15.ErrHf, Iso15.ErrLabel, Iso15.ErrMem
Parameters (request frame)
Name | Type/Size | Description | |
---|---|---|---|
Mode | Integer (8 bits) | 0x00: Unadressed mode, 0x01: adressed mode (default), 0x02: Selected mode | |
Optional field, condition: Mode neq 0x00 | |||
UID | Raw data (length 8 Bytes) | Unique ID of label; only for addressed -/selected mode. |
Returned values (response frame)
None