12 static const uint8_t PAYLOAD_IDENTIFIERS_COUNT = 0x23;
13 static const char *
const PAYLOAD_IDENTIFIERS[] = {
"",
20 "ftp://anonymous:anonymous@",
55 this->
tnf_ = TNF_WELL_KNOWN;
60 this->
tnf_ = TNF_WELL_KNOWN;
66 std::unique_ptr<NdefRecord>
clone()
const override {
return make_unique<NdefRecordUri>(*this); };
NdefRecordUri(const std::string &uri)
std::vector< uint8_t > get_encoded_payload() override
std::unique_ptr< NdefRecord > clone() const override
T id(T value)
Helper function to make id(var) known from lambdas work in custom components.
NdefRecordUri(const std::string &uri, const std::string &id)
void set_uri(const std::string &uri)
const std::string & get_payload() const override
Implementation of SPI Controller mode.