ESPHome
2024.11.0
|
Data Structures | |
class | NciMessage |
class | NdefMessage |
class | NdefRecord |
class | NdefRecordText |
class | NdefRecordUri |
class | Nfcc |
class | NfcOnTagTrigger |
class | NfcTag |
class | NfcTagBinarySensor |
class | NfcTagListener |
Functions | |
std::string | format_uid (std::vector< uint8_t > &uid) |
std::string | format_bytes (std::vector< uint8_t > &bytes) |
uint8_t | guess_tag_type (uint8_t uid_length) |
uint8_t | get_mifare_classic_ndef_start_index (std::vector< uint8_t > &data) |
bool | decode_mifare_classic_tlv (std::vector< uint8_t > &data, uint32_t &message_length, uint8_t &message_start_index) |
uint32_t | get_mifare_ultralight_buffer_size (uint32_t message_length) |
uint32_t | get_mifare_classic_buffer_size (uint32_t message_length) |
bool | mifare_classic_is_first_block (uint8_t block_num) |
bool | mifare_classic_is_trailer_block (uint8_t block_num) |
bool | has_ha_tag_ndef (NfcTag &tag) |
std::string | get_ha_tag_ndef (NfcTag &tag) |
std::string | get_random_ha_tag_ndef () |
bool esphome::nfc::decode_mifare_classic_tlv | ( | std::vector< uint8_t > & | data, |
uint32_t & | message_length, | ||
uint8_t & | message_start_index | ||
) |
std::string esphome::nfc::format_bytes | ( | std::vector< uint8_t > & | bytes | ) |
std::string esphome::nfc::format_uid | ( | std::vector< uint8_t > & | uid | ) |
std::string esphome::nfc::get_ha_tag_ndef | ( | NfcTag & | tag | ) |
Definition at line 10 of file nfc_helpers.cpp.
uint32_t esphome::nfc::get_mifare_classic_buffer_size | ( | uint32_t | message_length | ) |
uint8_t esphome::nfc::get_mifare_classic_ndef_start_index | ( | std::vector< uint8_t > & | data | ) |
uint32_t esphome::nfc::get_mifare_ultralight_buffer_size | ( | uint32_t | message_length | ) |
std::string esphome::nfc::get_random_ha_tag_ndef | ( | ) |
Definition at line 26 of file nfc_helpers.cpp.
bool esphome::nfc::has_ha_tag_ndef | ( | NfcTag & | tag | ) |
Definition at line 8 of file nfc_helpers.cpp.
bool esphome::nfc::mifare_classic_is_first_block | ( | uint8_t | block_num | ) |