Setup Guide

Table Of Contents
“M" – MASK / SELECT control
“M" – MASK / SELECT control
M[<SUBCMD>[<PARAMS>]]
As mentioned in the introductory sections, an inventory may begin with the issuance of one or
more Gen2 SELECT commands to determine which tags participate in the inventory round.
When the Select loop runs (see the IW command) each pass through the loop can issue up to
four (4) independent Select commands. The parameters associated with these Select
commands are stored in the reader's list of Masks.
When the Select is sent, the ACTIVE flag of each of the four masks is examined in order from 0
to 3. If ACTIVE == 1, the MASK is used as part of the Select command.
By default, MASK0 is active (ACTIVE FLAG 1) with an ACTION of 0 (all tags to A state) and a LEN
of 0×00 (this means “select all tags”). See the G2 specification, table 6.19, for the eight different
possible ACTIONS.
http://www.epcglobalinc.org/standards/uhfc1g2/uhfc1g2_1_2_0-standard-20080511.pdf
By default, MASK1, MASK2, MASK3 are set to INACTIVE (ACTIVE FLAG == 0).
Sub-Commands
Sub
Command
Description
M
Report the mask descriptors for all four masks.
M<#>
Report the mask descriptor for just mask <#>, where <#>=0..3.
M<#><...>
Set the descriptor for mask <#>, where <#>=0..3. When setting the Mask, the format is:
M<#><PARAMS>
Where <PARAMS> includes the following :
<ACTIVE><TTYPE><ACTION><MEMBANK><LEN><EBVBANK><MASKBYTES>
<ACTIVE>
0=inactive, 1=active
<TTYPE>
0=use the current Session (see the IS command)
1=use SL 100 flag
<ACTION>
0-7, usually use 0. See the table, below, for a summary of the eight actions, or the
EPCglobal G2 Spec, table 6.20, for more details.
33