|
M5Unit-RFID 0.2.0 git rev:79c1939
|
TID of a tag. More...
#include <uhf.hpp>
Public Member Functions | |
| uint8_t | operator[] (const size_t i) const |
| Byte at the given index. | |
| uint8_t & | operator[] (const size_t i) |
| Byte at the given index. | |
| const uint8_t * | begin () const |
| const uint8_t * | end () const |
| bool | empty () const |
| Holds no TID? | |
| bool | assign (const uint8_t *src, const size_t len) |
| Copy in from a raw buffer, refusing anything longer than TID_MAX_BYTES. | |
| bool | operator== (const Tid &o) const |
| std::string | toString () const |
| Uppercase hex. | |
Public Attributes | |
| std::array< uint8_t, TID_MAX_BYTES > | data {} |
| Bytes, only the first size are valid. | |
| uint8_t | size {} |
| Number of valid bytes. | |
TID of a tag.
Permalocked at manufacture, so unlike the EPC it never changes. The serial is 0 to 144 bits long depending on the XTID header, hence the variable size