12static const uint8_t PAYLOAD_IDENTIFIERS_COUNT = 0x23;
13static const char *
const PAYLOAD_IDENTIFIERS[] = {
"",
20 "ftp://anonymous:anonymous@",
55 this->
tnf_ = TNF_WELL_KNOWN;
60 this->
tnf_ = TNF_WELL_KNOWN;
NdefRecordUri(const std::string &uri, const std::string &id)
const std::string & get_payload() const override
NdefRecordUri(const std::string &uri)
NdefRecordUri(const NdefRecordUri &)=default
std::vector< uint8_t > get_encoded_payload() override
void set_uri(const std::string &uri)
std::unique_ptr< NdefRecord > clone() const override
Providing packet encoding functions for exchanging data with a remote host.
std::unique_ptr< T > make_unique(Args &&...args)
T id(T value)
Helper function to make id(var) known from lambdas work in custom components.