ESPHome 2025.5.0
Loading...
Searching...
No Matches
nfc_helpers.h
Go to the documentation of this file.
1#pragma once
2
3#include "nfc_tag.h"
4
5namespace esphome {
6namespace nfc {
7
8static const char HA_TAG_ID_EXT_RECORD_TYPE[] = "android.com:pkg";
9static const char HA_TAG_ID_EXT_RECORD_PAYLOAD[] = "io.homeassistant.companion.android";
10static const char HA_TAG_ID_PREFIX[] = "https://www.home-assistant.io/tag/";
11
12std::string get_ha_tag_ndef(NfcTag &tag);
13std::string get_random_ha_tag_ndef();
14bool has_ha_tag_ndef(NfcTag &tag);
15
16} // namespace nfc
17} // namespace esphome
std::string get_ha_tag_ndef(NfcTag &tag)
std::string get_random_ha_tag_ndef()
bool has_ha_tag_ndef(NfcTag &tag)
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7