M5Unit-RFID 0.2.0 git rev:79c1939
Loading...
Searching...
No Matches
m5::uhf::SelectParameter Struct Reference

The mask the reader holds, and how it is matched. More...

#include <uhf.hpp>

Public Member Functions

std::string maskAsString () const
 Mask as uppercase hex.
 

Public Attributes

uint8_t target {}
 Target: which flag the action acts on, 100 being SL.
 
uint8_t action {}
 Action: what matching and non-matching tags are set to.
 
Bank bank {Bank::Epc}
 Bank the mask is matched against.
 
uint32_t pointer_bits {}
 Where the mask starts, as a bit address inside the bank.
 
uint8_t mask_length_bits {}
 Length of the mask in bits.
 
bool truncate {}
 Whether a matching tag replies with only the bits past the mask.
 
std::array< uint8_t, SELECT_MASK_MAX_BYTESmask {}
 Mask bytes.
 
uint8_t mask_size {}
 Bytes of mask in use.
 

Detailed Description

The mask the reader holds, and how it is matched.

Reading it back is the only way to see what the reader is actually addressing. A Select produces no reply from any tag (EPC Gen2 v2.1 6.3.2.12.1.1), so nothing else confirms that the reader and the caller agree on which tag is meant