|
M5Unit-NFC 0.0.3 git rev:59f5362
|
NFC-V definitions. More...
Go to the source code of this file.
Classes | |
| struct | m5::nfc::v::PICC |
| PICC for NFC-V. More... | |
Namespaces | |
| namespace | m5 |
| Top level namespace of M5stack. | |
| namespace | v |
| NFC-V definitions. | |
Enumerations | |
| enum class | m5::nfc::v::Type : uint8_t { Unknown , NXP_ICODE_SLI , NXP_ICODE_SLIX , NXP_ICODE_SLIX_2 , NXP , TI_TAGIT_2048 , TI_TAGIT_HF_I , TI_TAGIT_HF_I_Plus , TI_TAGIT_HF_I_Pro , TI , ST_LRI , ST_ST25V , ST_ST25DV , ST , Fujitsu_FRAM , Fujitsu , Unclassified } |
| Type of the PICC. More... | |
| enum class | m5::nfc::v::ModulationMode : uint8_t { OneOf4 , OneOf256 } |
| enum class | m5::nfc::v::Command : uint8_t { Inventory = 0x01 , StayQuiet = 0x02 , Select = 0x25 , ResetToReady = 0x26 , GetSystemInformaion = 0x2B , ExtendedGetSystemInfo = 0x3B , ReadSingleBlock = 0x20 , ExtendedReadSingleBlock = 0x30 , WriteSingleBlock = 0x21 , ExtendedWriteSingleBlock = 0x31 } |
| ISO/IEC 15693 Command. More... | |
Functions | |
| m5::nfc::NFCForumTag | m5::nfc::v::get_nfc_forum_tag_type (const Type t) |
| Get NFC Forum Tag Type from PICC type. | |
| bool | m5::nfc::v::operator== (const PICC &a, const PICC &b) |
| Equal? | |
| bool | m5::nfc::v::operator!= (const PICC &a, const PICC &b) |
| Not equal? | |
| Type | m5::nfc::v::identify_type (const PICC &picc) |
| Identify the type from Manufacturer Code, IC Identifier, IC Reference. | |
| uint32_t | m5::nfc::v::encode_VCD (std::vector< uint8_t > &out, const ModulationMode mode, const uint8_t *buffer, const uint32_t length, const bool high_rate=true, const bool add_crc=true) |
| Encode to VCD frame. | |
| bool | m5::nfc::v::decode_VICC (std::vector< uint8_t > &out, const uint8_t *buffer, const uint32_t length, const uint32_t ignore_bits=16) |
| Decode from VICC frame. | |
NFC-V definitions.
|
strong |
ISO/IEC 15693 Command.
|
strong |
|
strong |
Type of the PICC.
| bool m5::nfc::v::decode_VICC | ( | std::vector< uint8_t > & | out, |
| const uint8_t * | buffer, | ||
| const uint32_t | length, | ||
| const uint32_t | ignore_bits = 16 ) |
Decode from VICC frame.
| out | Output buffer |
| buffer | Input buffer |
| length | Input buffer length |
| uint32_t m5::nfc::v::encode_VCD | ( | std::vector< uint8_t > & | out, |
| const ModulationMode | mode, | ||
| const uint8_t * | buffer, | ||
| const uint32_t | length, | ||
| const bool | high_rate = true, | ||
| const bool | add_crc = true ) |
Encode to VCD frame.
| out | Output buffer |
| mode | ModulationMode |
| buffer | Input buffer (allow nullptr ) |
| length | Input buffer length (allow 0) |
| high_rate | High data rate if true |
| add_crc | Append CRC16 if true |